Skip to content

Commit d14c537

Browse files
committed
Update developer testsuite documentation.
1 parent 6f917d3 commit d14c537

File tree

1 file changed

+8
-27
lines changed

1 file changed

+8
-27
lines changed

doc/developing.rst

Lines changed: 8 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -78,52 +78,33 @@ Test runner options
7878

7979
.. note::
8080

81-
As of v0.0.20, ``--tests`` automatically assume the namespace of
82-
``tmuxp.testsuite``.
81+
As of v0.1.1, the old way of using ``--tests`` is now deprecated.
8382

84-
.. code-block:: bash
85-
86-
$ ./run-tests.py --tests test_config.ImportExportTest
87-
88-
Is now equivalent to:
89-
90-
.. code-block:: bash
91-
92-
$ ./run-tests.py --tests tmuxp.testsuite.test_config.ImportExportTest
93-
94-
Testing specific TestSuites, TestCase and tests
83+
Testing specific TestSuites and TestCase.
9584

9685
.. code-block:: bash
9786
98-
$ ./run-tests.py --help
99-
100-
Will give you an output of ways you can choose to run tests. Example for
101-
``test_config`` TestSuite:
87+
$ ./run-tests.py config
10288
103-
By :py:class:`unittest.TestSuite` / module:
89+
will test the ``testsuite.config`` :py:class:`unittest.TestSuite`.
10490

10591
.. code-block:: bash
10692
107-
$ ./run-tests.py test_config
108-
109-
by :py:class:`unittest.TestCase`:
110-
111-
.. code-block:: bash
93+
$ ./run-tests.py config.ImportExportTest
11294
113-
$ ./run-tests.py --tests test_config.ImportExportTest
95+
tests ``testsuite.config.ImportExportTest`` :py:class:`unittest.TestCase`.
11496

11597
individual tests:
11698

11799
.. code-block:: bash
118100
119-
$ ./run-tests.py --tests test_config.ImportExportTest.test_export_json
101+
$ ./run-tests.py config.ImportExportTest.test_export_json
120102
121103
Multiple can be separated by spaces:
122104

123105
.. code-block:: bash
124106
125-
$ ./run-tests.py --tests ImportExportTest.test_export_json \
126-
ImportExportTest.test_window
107+
$ ./run-tests.py window pane config.ImportExportTest
127108
128109
.. _test_builder_visually:
129110

0 commit comments

Comments
 (0)