File tree Expand file tree Collapse file tree 1 file changed +4
-11
lines changed
Expand file tree Collapse file tree 1 file changed +4
-11
lines changed Original file line number Diff line number Diff line change @@ -78,7 +78,7 @@ If you found a problem or are trying to write a test, you can file an
7878Test runner options
7979~~~~~~~~~~~~~~~~~~~
8080
81- Testing specific TestSuites and TestCase.
81+ Test only a file:
8282
8383.. code-block :: bash
8484
@@ -88,22 +88,15 @@ will test the ``tests/test_config.py`` tests.
8888
8989.. code-block :: bash
9090
91- $ py.test tests/test_config::ImportExportTest
91+ $ py.test tests/test_config::test_export_json
9292
93- tests ``ImportExportTest `` :py:class: `unittest.TestCase ` inside of
94- ``tests/test_config.py ``.
95-
96- individual tests:
97-
98- .. code-block :: bash
99-
100- $ py.test tests/test_config::ImportExportTest::test_export_Json
93+ tests ``test_export_json `` inside of ``tests/test_config.py ``.
10194
10295Multiple can be separated by spaces:
10396
10497.. code-block :: bash
10598
106- $ py.test tests/test_{window,pane}.py tests/test_config.py::ImportExportTest:: test_export_json
99+ $ py.test tests/test_{window,pane}.py tests/test_config.py::test_export_json
107100
108101 .. _test_builder_visually :
109102
You can’t perform that action at this time.
0 commit comments