Skip to content
This repository has been archived by the owner on Oct 23, 2023. It is now read-only.

Commit

Permalink
add note to README about pytest.ini
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryan Collingham committed Aug 17, 2021
1 parent 446314e commit 11681fe
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,19 @@ pip install .
pytest_commander /path/to/your/tests
```

PyTest Configuration
====================

Configuration for PyTest such as extra command-line arguments may be specified
by adding a pytest.ini file in the same directory. See
https://docs.pytest.org/en/latest/reference/customize.html#pytest-ini for more
details.

Note that there is a known issue when using pytest_commander along with the
xdist plugin, used to parallelise tests among multiple processes. You will
have to remove xdist config options from your pytest.ini in order to use
pytest-commander.

Renaming
========

Expand Down

0 comments on commit 11681fe

Please sign in to comment.