mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-04-02 06:00:39 +00:00
This is so that I can run `tox -- -n 8` to run the tests in parallel, or `tox -- tests/checker/test_misc.py::TestMisc::test_html5` to run just a single test, without having to repeat all the other options. I haven't moved --cov=linkcheck because I don't want coverage results when I'm limiting the test run to a single test (they just make the interesting bit -- the test result itself -- scroll up). I've also added -ra to the default option list because then several tests fail, I'd like to see a list of their names in one place, not spead out between the huge tracebacks.
17 lines
248 B
INI
17 lines
248 B
INI
[tox]
|
|
envlist = py27
|
|
|
|
[testenv]
|
|
usedevelop = true
|
|
deps =
|
|
-rrequirements.txt
|
|
pyftpdlib
|
|
parameterized
|
|
pytest-xdist
|
|
pytest-cov
|
|
miniboa
|
|
biplist
|
|
commands =
|
|
pytest {posargs:--cov=linkcheck}
|
|
setenv =
|
|
LC_ALL=en_US.utf-8
|