diff --git a/justfile b/justfile index 18036aff7..ee5042b44 100644 --- a/justfile +++ b/justfile @@ -34,8 +34,15 @@ anvil *args: docker run -p 127.0.0.1:8545:8545 ghcr.io/foundry-rs/foundry:latest "anvil {{args}}" test: - cargo build --bin diff-test --release - cargo test --release --all-features + @echo 'Ommiting slow tests. Use `test-slow` for those. Or `test-all` for all tests.' + cargo nextest run --locked --release --workspace --all-features --retries 2 --verbose -E '!test(slow_)' + +test-slow: + @echo 'Only slow tests are included. Use `test` for those deemed not slow. Or `test-all` for all tests.' + cargo nextest run --locked --release --workspace --all-features --verbose -E 'test(slow_)' + +test-all: + cargo nextest run --locked --release --workspace --all-features --verbose clippy: cargo clippy --workspace --all-features --all-targets -- -D warnings