Skip to content

Commit

Permalink
Improve documentation for testing a single command
Browse files Browse the repository at this point in the history
  • Loading branch information
daljit46 committed Apr 26, 2024
1 parent 5d165f8 commit cb5f167
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion testing/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,12 @@ You can also choose to rerun tests have failed by specifying the `--rerun-failed
You don't need to build every command to test one particular command.
For example, you can do this:
```ShellSession
cmake --build build --target mrconvert
cmake --build build --target mrconvert testing_tools
cd build
ctest -R bin_mrconvert
```
Note that, in addition to the command you want to test, you also need to build `testing_tools` (an umbrella
target that builds the tools needed to run binary tests).

## Adding tests

Expand Down

0 comments on commit cb5f167

Please sign in to comment.