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.
This commit is contained in:
Lucy Davinhart || Strawb System
2024-10-09 21:23:05 +01:00
committed by GitHub
parent 6b293fbf25
commit 1b024b117f

View File

@ -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