Skip to content

Commit 25f30eb

Browse files
committed
Update documentation for testing
1 parent 1844282 commit 25f30eb

File tree

1 file changed

+6
-14
lines changed

1 file changed

+6
-14
lines changed

doc/developing.rst

Lines changed: 6 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -78,32 +78,24 @@ 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.
82-
8381
.. code-block:: bash
8482
85-
$ py.test tests/test_config.py
83+
$ py.test tests/test_common.py
8684
87-
will test the ``tests/test_config.py`` tests.
85+
will test the ``tests/test_common.py`` tests.
8886

8987
.. code-block:: bash
9088
91-
$ py.test tests/test_config::ImportExportTest
92-
93-
tests ``ImportExportTest`` :py:class:`unittest.TestCase` inside of
94-
``tests/test_config.py``.
95-
96-
individual tests:
97-
98-
.. code-block:: bash
89+
$ py.test tests/test_common.py::test_ignores_letter_versions
9990
100-
$ py.test tests/test_config::ImportExportTest::test_export_Json
91+
tests ``test_ignore_letter_versions()`` ``tests/test_common.py``.
10192

10293
Multiple can be separated by spaces:
10394

10495
.. code-block:: bash
10596
106-
$ py.test tests/test_{window,pane}.py tests/test_config.py::ImportExportTest::test_export_json
97+
$ py.test tests/test_{window,pane}.py \
98+
tests/test_common.py::test_ignores_letter_versions
10799
108100
.. _test_builder_visually:
109101

0 commit comments

Comments
 (0)