4 CWD="$(cd -P -- "$(dirname -- "${BASH_SOURCE[0]}")" && pwd -P)"
11 source scripts/start_dev_db.sh
13 # tests are executed in working directory crates/api (or similar),
14 # so to load the config we need to traverse to the repo root
15 export LEMMY_CONFIG_LOCATION=../../config/config.hjson
16 export RUST_BACKTRACE=1
20 cargo test -p $PACKAGE --all-features --no-fail-fast
22 cargo test --workspace --no-fail-fast
25 # Add this to do printlns: -- --nocapture