Skip to content
Snippets Groups Projects
Commit 245873fa authored by Dan Nixon's avatar Dan Nixon
Browse files

Extend running test documentation

Document how to run single Python unittest functions.
parent 0241b7c3
No related branches found
No related tags found
No related merge requests found
......@@ -86,22 +86,27 @@ Starting in your build folder (e.g. Mantid/Code/debug):
.. code-block:: sh
ctest -j8 -R KernelTest
bin/KernelTest
./bin/KernelTest
- Running a specific test class.
.. code-block:: sh
ctest -R MyTestClassName
bin/KernelTest MyTestClassName
./bin/KernelTest MyTestClassName
- Running a specific test.
- Running a specific test from a CxxTest test class (not possible via CTest).
.. code-block:: sh
bin/KernelTest MyTestClassName MySingleTestName``
./bin/KernelTest MyTestClassName MySingleTestName
- Not possible with ctest.
- Running a specific test from a Python ``unittest`` test class (not possible
via CTest).
.. code-block:: sh
./bin/mantidpython /path/to/src/Framework/PythonInterface/test/python/plugins/algorithms/MeanTest.py MeanTest.test_mean
Running Unit Tests With Visual Studio and ctest
###############################################
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment