Skip to content

Commit 3bd7157

Browse files
committed
Update docs for py.test
1 parent 081cb76 commit 3bd7157

File tree

1 file changed

+4
-11
lines changed

1 file changed

+4
-11
lines changed

doc/developing.rst

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ If you found a problem or are trying to write a test, you can file an
7878
Test 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

10295
Multiple 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

0 commit comments

Comments
 (0)