Update command for running tests.

This commit is contained in:
Manu 2018-11-20 18:06:18 +08:00
parent caff365c83
commit 9b868c98a1
2 changed files with 3 additions and 5 deletions

View File

@ -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?

View File

@ -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 =