Add a note explaining how to run tests

This commit is contained in:
skullY 2020-01-13 21:27:12 -08:00 committed by skullydazed
parent 44168baaa7
commit 58d27cf404

View File

@ -311,7 +311,7 @@ FIXME(username): Revisit this code when the frob feature is done.
# Testing # Testing
We use a combination of Integration and Unit testing to ensure that the our code is as bug-free as possible. All the tests can be found in `lib/python/qmk/tests/`. We use a combination of Integration and Unit testing to ensure that the our code is as bug-free as possible. All the tests can be found in `lib/python/qmk/tests/`. You can run all the tests with `qmk pytest`.
At the time of this writing our tests are not very comprehensive. Looking at the current tests and writing new test cases for untested situations is a great way to both familiarize yourself with the codebase and contribute to QMK. At the time of this writing our tests are not very comprehensive. Looking at the current tests and writing new test cases for untested situations is a great way to both familiarize yourself with the codebase and contribute to QMK.