diff --git a/README.md b/README.md index 889853f8..77a3daf4 100644 --- a/README.md +++ b/README.md @@ -73,7 +73,7 @@ $ pyinstaller --clean --noconfirm vorta.spec Tests are in the folder `/tests`. Testing happens at the level of UI components. Calls to `borg` are mocked and can be replaced with some example json-output. To run tests: ``` -$ python setup.py test +$ pytest ``` ## Why the Name? diff --git a/setup.cfg b/setup.cfg index fd3f3373..c98ed190 100644 --- a/setup.cfg +++ b/setup.cfg @@ -43,17 +43,15 @@ tests_require = pytest pytest-qt pytest-mock + pytest-xdist pytest-faulthandler [options.entry_points] gui_scripts = vorta = vorta.__main__:main -[aliases] -test=pytest - [tool:pytest] -addopts = -vs +addopts = --forked -vs testpaths = tests qt_default_raising = true filterwarnings =