This commit is contained in:
Bryce Gattis 2024-06-19 12:51:41 +02:00 committed by GitHub
commit 641ce61f29
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 7 additions and 0 deletions

View File

@ -70,6 +70,7 @@ Brian Maissy
Brian Okken
Brianna Laugher
Bruno Oliveira
Bryce Gattis
Cal Jacobson
Cal Leeming
Carl Friedrich Bolz

1
changelog/12245.doc.rst Normal file
View File

@ -0,0 +1 @@
Added paragraph in ``Specifying which tests to run`` documentation to clarify pytest capabilities when trying to run tests for a single module.

View File

@ -26,6 +26,11 @@ Pytest supports several ways to run and select tests from the command-line or fr
pytest test_mod.py
When passing a path as a positional argument, pytest does not recursively
search when given a file basename. If you want to pass a path to a file, you
must pass either a relative path or an absolute path. Otherwise, consider the
below keyword expressions instead.
**Run tests in a directory**
.. code-block:: bash