Skip to content

Commit

Permalink
docs: add testing instructions to contrib guide
Browse files Browse the repository at this point in the history
  • Loading branch information
mdtanker committed Nov 30, 2023
1 parent ae7469d commit 9c2732d
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,18 @@ Use pytest to run the unit checks and generate coverage reports:
make test
```

To test just one of the modules:

```
pytest tests/test_<MODULE>.py
```

To test just one function:

```
pytest tests/test_<MODULE>.py::<FUNCTION>
```

# Formatting

Use the Makefile commands to locally format and check the code with `ruff` and
Expand Down

0 comments on commit 9c2732d

Please sign in to comment.