@@ -74,7 +74,22 @@ If you found a problem or are trying to write a test, you can file an
7474Choose tests to run
7575"""""""""""""""""""
7676
77- Testing specific testsuites, testcase and tests
77+ .. note ::
78+
79+ As of v0.0.20, ``--tests `` automatically assume the namespace of
80+ ``tmuxp.testsuite ``.
81+
82+ .. code-block :: bash
83+
84+ $ ./run_tests.py --tests test_config.ImportExportTest
85+
86+ Is now equivalent to:
87+
88+ .. code-block :: bash
89+
90+ $ ./run_tests.py --tests tmuxp.testsuite.test_config.ImportExportTest
91+
92+ Testing specific TestSuites, TestCase and tests
7893
7994.. code-block :: bash
8095
@@ -87,26 +102,26 @@ By :py:class:`unittest.TestSuite` / module:
87102
88103.. code-block :: bash
89104
90- $ ./run_tests.py tmuxp.testsuite. test_config
105+ $ ./run_tests.py test_config
91106
92107 by :py:class: `unittest.TestCase `:
93108
94109.. code-block :: bash
95110
96- $ ./run_tests.py --tests tmuxp.testsuite. test_config.ImportExportTest
111+ $ ./run_tests.py --tests test_config.ImportExportTest
97112
98113 individual tests:
99114
100115.. code-block :: bash
101116
102- $ ./run_tests.py --tests tmuxp.testsuite. test_config.ImportExportTest.test_export_json
117+ $ ./run_tests.py --tests test_config.ImportExportTest.test_export_json
103118
104119 Multiple can be separated by spaces:
105120
106121.. code-block :: bash
107122
108- $ ./run_tests.py --tests tmuxp.testsuite.test_config. ImportExportTest.test_export_json \
109- testsuite.test_config. ImportExportTest.test_window
123+ $ ./run_tests.py --tests ImportExportTest.test_export_json \
124+ ImportExportTest.test_window
110125
111126 .. _test_builder_visually :
112127
@@ -237,9 +252,9 @@ In this, I will also begin documenting the API.
237252the use of:
238253
239254Session
240- Session.new_window() - returns a new Window object bound to the session,
255+ :meth: ` Session.new_window() ` - returns a new Window object bound to the session,
241256also uses ``tmux new-window ``.
242- Session.new_session() - class method - returns a new Session object.
257+ :meth: ` Session.new_session() ` - class method - returns a new Session object.
243258
244259Differences from tmux
245260---------------------
0 commit comments