22 lines
421 B
Text
22 lines
421 B
Text
|
|
# Test recipes — unit, integration, and doc tests
|
||
|
|
|
||
|
|
[doc("Show test recipes")]
|
||
|
|
help:
|
||
|
|
@just --list --list-prefix " test::"
|
||
|
|
|
||
|
|
[doc("Run all tests (lib + integration + doc)")]
|
||
|
|
all:
|
||
|
|
cargo test --workspace
|
||
|
|
|
||
|
|
[doc("Run library tests only")]
|
||
|
|
lib:
|
||
|
|
cargo test --lib --no-fail-fast
|
||
|
|
|
||
|
|
[doc("Run doc tests only")]
|
||
|
|
doc:
|
||
|
|
cargo test --doc
|
||
|
|
|
||
|
|
[doc("Run tests for a specific crate")]
|
||
|
|
crate NAME:
|
||
|
|
cargo test -p {{ NAME }}
|