You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some of our users/packagers have expressed a wish to be able to run pytest without any parameters. Otherwise pytest seems to pick all tests, including tutorials and what not.
Add testpaths = tests to our configs.
While at it, maybe we should consolidate these configs inside pyproject.toml, as opposed to setup.cfg?
The pytest docs state that
Usage of setup.cfg is not recommended unless for very simple use cases. .cfg files use a different parser than pytest.ini and tox.ini which might cause hard to track down problems. When possible, it is recommended to use the latter files, or pyproject.toml, to hold your pytest configuration.
The text was updated successfully, but these errors were encountered:
Some of our users/packagers have expressed a wish to be able to run
pytest
without any parameters. Otherwisepytest
seems to pick all tests, including tutorials and what not.Add
testpaths = tests
to our configs.While at it, maybe we should consolidate these configs inside
pyproject.toml
, as opposed tosetup.cfg
?The
pytest
docs state thatThe text was updated successfully, but these errors were encountered: