Skip to content

Commit 8dcfd16

Browse files
committed
Add new summarize command to justfile
The behavior of the nextest command stays the same by default but allows the user to specify the flags.
1 parent 0ec34ee commit 8dcfd16

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

justfile

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ default:
77

88
alias t := test
99
alias c := check
10+
alias nt := nextest
1011

1112
# run all tests, clippy, including journey tests, try building docs
1213
test: clippy check doc unit-tests journey-tests-pure journey-tests-small journey-tests-async journey-tests
@@ -224,8 +225,10 @@ audit:
224225
cargo deny check advisories bans licenses sources
225226

226227
# run tests with `cargo nextest` (all unit-tests, no doc-tests, faster)
227-
nextest:
228-
cargo nextest run --all
228+
nextest *FLAGS="--all":
229+
cargo nextest run {{FLAGS}}
230+
231+
summarize EXPRESSION="all()": (nextest "--all --run-ignored all --no-fail-fast --status-level none --final-status-level none -E '" EXPRESSION "'")
229232

230233
# run nightly rustfmt for its extra features, but check that it won't upset stable rustfmt
231234
fmt:

0 commit comments

Comments
 (0)