diff --git a/doc/contrib/test.rst b/doc/contrib/test.rst index 54fcc3584dbc4f8e434a382eac37a7dfd747aa33..0af2c4854a7d0bff6c9352edb4c43ee6625e7697 100644 --- a/doc/contrib/test.rst +++ b/doc/contrib/test.rst @@ -3,8 +3,9 @@ Tests ===== -C++ tests are located in ``/tests`` and Python (binding) tests in ``/python/test``. -See the documentation on :ref:`building <building>` for the C++ tests and ``/python/test/readme.md`` for the latter. +C++ tests are located in ``/tests`` and Python (binding) tests in +``/python/test``. See the documentation on :ref:`building <building>` for the +C++ tests and ``/python/test/readme.md`` for the latter. Python tests ------------ @@ -18,3 +19,5 @@ mechanism. For tests to be discovered they must meet the following criteria: * The filenames must start with ``test_``. * The test case classes 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.