testing-zindi-package
testing-zindi-package copied to clipboard
Run tests using Tox
Let's drop the commands.txt
file and use Tox for automating some tasks (for example launching the tests)
Here is a small tox.ini
file that can be added to the project (right next to setup.py
file):
[tox]
envlist = py36
[testenv]
deps = pytest
commands =
pytest
You can do more than launching tests. You can run any commands you want. Example
You type tox
in the root folder and all the tests will be launched.
Official docs