Created
May 7, 2019 20:17
-
-
Save stephen-bunn/32d6af99488835f921d50acd0ecf0781 to your computer and use it in GitHub Desktop.
Medium - Example of Pytest configuration
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[tool:pytest] | |
plugins = cov flake8 xdist | |
addopts = -rxsX --flake8 -n 4 --cov | |
norecursedirs = .git _build dist news tasks docs | |
testpaths = tests | |
python_files = test_*.py | |
python_classes = Test* | |
python_functions = test_* | |
flake8-ignore = | |
docs/source/* ALL | |
tests/*.py ALL | |
setup.py ALL |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment