浏览代码

Add a note explaining how to run tests

skullY 5 年之前
父节点
当前提交
58d27cf404
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      docs/coding_conventions_python.md

+ 1 - 1
docs/coding_conventions_python.md

@@ -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.