Skip to content
Snippets Groups Projects
Unverified Commit a04ecf74 authored by Robin De Schepper's avatar Robin De Schepper Committed by GitHub
Browse files

Added local Python testsuite instructions (#1809)

parent d053170c
No related branches found
No related tags found
No related merge requests found
...@@ -3,8 +3,9 @@ ...@@ -3,8 +3,9 @@
Tests Tests
===== =====
C++ tests are located in ``/tests`` and Python (binding) tests in ``/python/test``. C++ tests are located in ``/tests`` and Python (binding) tests in
See the documentation on :ref:`building <building>` for the C++ tests and ``/python/test/readme.md`` for the latter. ``/python/test``. See the documentation on :ref:`building <building>` for the
C++ tests and ``/python/test/readme.md`` for the latter.
Python tests Python tests
------------ ------------
...@@ -18,3 +19,5 @@ mechanism. For tests to be discovered they must meet the following criteria: ...@@ -18,3 +19,5 @@ mechanism. For tests to be discovered they must meet the following criteria:
* The filenames must start with ``test_``. * The filenames must start with ``test_``.
* The test case classes must begin with ``Test``. * The test case classes must begin with ``Test``.
* The test functions inside the cases must begin with ``test_``. * The test functions inside the cases must begin with ``test_``.
To run the tests locally use `python -m unittest` from the `python` directory.
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment