Include command to run a subset of tests in README
For Zig veterans this may be obvious. As a Zig newbie, for me it was no, but found the answer in the Discord.pull/2427/head
parent
6b293fbf25
commit
1b024b117f
|
|
@ -532,6 +532,7 @@ tasks.
|
||||||
Other useful commands:
|
Other useful commands:
|
||||||
|
|
||||||
- `zig build test` for running unit tests.
|
- `zig build test` for running unit tests.
|
||||||
|
- `zig build test -Dtest-filter=<filter>` for running a specific subset of those unit tests
|
||||||
- `zig build run -Dconformance=<name>` runs a conformance test case from
|
- `zig build run -Dconformance=<name>` runs a conformance test case from
|
||||||
the `conformance` directory. The `name` is the name of the file. This runs
|
the `conformance` directory. The `name` is the name of the file. This runs
|
||||||
in the current running terminal emulator so if you want to check the
|
in the current running terminal emulator so if you want to check the
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue