Skip to content

Commit

Permalink
CONTRIBUTING: add doc regarding running a single test
Browse files Browse the repository at this point in the history
  • Loading branch information
dannywillems committed Oct 2, 2024
1 parent 13f91bf commit 1843956
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,12 @@ BIN_EXTRA_ARGS="-p poly-commitment" make nextest-all-with-coverage
```

Note: In example above we run tests for the `poly-commitment` package only.
You can also use the environment variable `BIN_EXTRA_ARGS` to select a specific
test to run. For instance:
```
BIN_EXTRA_ARGS="test_opening_proof" make nextest
```
will only run the tests containing `test_opening_proof`.

We build and run tests in `--release` mode, because otherwise tests execution can last for a long time.

Expand Down

0 comments on commit 1843956

Please sign in to comment.