Skip to content

Latest commit

 

History

History
40 lines (26 loc) · 695 Bytes

File metadata and controls

40 lines (26 loc) · 695 Bytes

Testing

This project uses cargo-nextest as its test runner.

Install:

cargo install cargo-nextest --locked

Run all tests:

cargo nextest run

Run a specific test:

cargo nextest run -E 'test(test_name)'

Run tests for a specific module:

cargo nextest run -E 'test(/module::tests/)'

Do not use cargo test — always use cargo nextest run.

Pre-commit Verification

Before committing any changes, always run formatting, clippy, and tests:

cargo fmt -- --check && cargo clippy && cargo nextest run

All three must pass with zero warnings and zero failures. If formatting fails, run cargo fmt to fix it.