Add optional selection of specific unit test to Makefile
This commit is contained in:
@@ -27,7 +27,12 @@ to Black formatting as documented in `pyproject.toml`)
|
||||
Unit tests within the `tests` folder mock various CircuitPython modules to allow
|
||||
them to be executed in a desktop development environment.
|
||||
|
||||
Execute tests using the command `python -m unittest`.
|
||||
Execute tests using the command `make unit-tests`. The unit-tests target accepts
|
||||
an optional environment variable for specifying a subset of tests with python
|
||||
unittest syntax:
|
||||
```sh
|
||||
make unit-tests TESTS="tests.test_capsword tests.test_hold_tap"
|
||||
```
|
||||
|
||||
## Contributing Documentation
|
||||
While KMK welcomes documentation from anyone with and understanding of the issues
|
||||
|
Reference in New Issue
Block a user