pytest31
Run python unit tests
Usage
usage: pytest
[OPTIONS]
[testfile
[testpattern]]
examples:
pytest path/to/mytests.py
pytest
path/to/mytests.py
TheseTests
pytest
path/to/mytests.py
TheseTests.test_thisone
pytest one
(will
run
both
test_thisone
and
test_thatone)
pytest
path/to/mytests.py
-s
not
(will
skip
test_notthisone)
pytest --coverage
test_foo.py