docs: update cli help

This commit is contained in:
technofab 2025-06-08 20:55:36 +02:00
parent 6ee3811b56
commit e8da91ad27
No known key found for this signature in database

View file

@ -3,10 +3,11 @@
```sh title="nix run .#nixtests:run -- --help" ```sh title="nix run .#nixtests:run -- --help"
Usage of nixtest: Usage of nixtest:
--junit string Path to generate JUNIT report to, leave empty to disable --junit string Path to generate JUNIT report to, leave empty to disable
--no-color Disable coloring
--pure Unset all env vars before running script tests --pure Unset all env vars before running script tests
--skip string Regular expression to skip (e.g., 'test-.*|.*-b') -s, --skip string Regular expression to skip tests (e.g., 'test-.*|.*-b')
--snapshot-dir string Directory where snapshots are stored (default "./snapshots") --snapshot-dir string Directory where snapshots are stored (default "./snapshots")
--tests string Path to JSON file containing tests -f, --tests string Path to JSON file containing tests (required)
--update-snapshots Update all snapshots -u, --update-snapshots Update all snapshots
--workers int Amount of tests to run in parallel (default 4) -w, --workers int Amount of tests to run in parallel (default 4)
``` ```