diff options
author | John Ericson <John.Ericson@Obsidian.Systems> | 2023-01-19 08:51:00 -0500 |
---|---|---|
committer | John Ericson <John.Ericson@Obsidian.Systems> | 2023-01-23 07:05:50 -0500 |
commit | 7fe308c2f840325199f49526b257bbe4ded5a909 (patch) | |
tree | 5ea58d3ca8724e4d464270a4a46093107cc5a9ab /doc/manual/src | |
parent | 90e630a542c163e4d0fa2fb28bc6e1782e4bd394 (diff) |
Add `rapidcheck` dependency for testing
Property tests are great!
Co-authored-by: Cole Helbling <cole.e.helbling@outlook.com>
Diffstat (limited to 'doc/manual/src')
-rw-r--r-- | doc/manual/src/contributing/hacking.md | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/manual/src/contributing/hacking.md b/doc/manual/src/contributing/hacking.md index aeb0d41b3..9dbafcc0a 100644 --- a/doc/manual/src/contributing/hacking.md +++ b/doc/manual/src/contributing/hacking.md @@ -92,7 +92,8 @@ $ nix develop The unit-tests for each Nix library (`libexpr`, `libstore`, etc..) are defined under `src/{library_name}/tests` using the -[googletest](https://google.github.io/googletest/) framework. +[googletest](https://google.github.io/googletest/) and +[rapidcheck](https://github.com/emil-e/rapidcheck) frameworks. You can run the whole testsuite with `make check`, or the tests for a specific component with `make libfoo-tests_RUN`. Finer-grained filtering is also possible using the [--gtest_filter](https://google.github.io/googletest/advanced.html#running-a-subset-of-the-tests) command-line option. |