23 lines
533 B
INI
23 lines
533 B
INI
# Tox (http://tox.testrun.org/) is a tool for running tests
|
|
# in multiple virtualenvs. This configuration file will run the
|
|
# test suite on all supported python versions. To use it, "pip install tox"
|
|
# and then run "tox" from this directory.
|
|
|
|
[tox]
|
|
envlist = coverage, nocoverage
|
|
|
|
[testenv:coverage]
|
|
usedevelop = true
|
|
deps = pytest
|
|
pytest-cov
|
|
pytest-random
|
|
commands =
|
|
py.test --cov=ldaptools --cov-report xml {posargs}
|
|
|
|
[testenv:nocoverage]
|
|
deps = pytest
|
|
pytest-cov
|
|
pytest-random
|
|
commands =
|
|
py.test {posargs}
|