Skip to content
Snippets Groups Projects
Unverified Commit 5a36baf7 authored by Antti Soininen's avatar Antti Soininen Committed by GitHub
Browse files

Merge pull request #24211 from DanNixon/document_single_python_tests

Extend running test documentation
parents 1cc192a3 245873fa
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): ...@@ -86,22 +86,27 @@ Starting in your build folder (e.g. Mantid/Code/debug):
.. code-block:: sh .. code-block:: sh
ctest -j8 -R KernelTest ctest -j8 -R KernelTest
bin/KernelTest ./bin/KernelTest
- Running a specific test class. - Running a specific test class.
.. code-block:: sh .. code-block:: sh
ctest -R MyTestClassName 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 .. 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 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