Last change
on this file since 1794:8352e0d49d69 was
1794:8352e0d49d69,
checked in by Stefan Schwarzer <sschwarzer@…>, 21 months ago
|
Define allowed marker explicitly
This is a feature in Pytest that should prevent unexpected behavior
because of typos in marker names.
|
File size:
474 bytes
|
Line | |
---|
1 | # Tox (http://tox.testrun.org/) is a tool for running tests |
---|
2 | # in multiple virtualenvs. This configuration file will run the |
---|
3 | # test suite on all supported python versions. To use it, |
---|
4 | # "pip install tox" and then run "tox" from this directory. |
---|
5 | |
---|
6 | [pytest] |
---|
7 | addopts = --strict-markers |
---|
8 | markers = |
---|
9 | slow_test: marks tests as slow (deselect with '-m "not slow"') |
---|
10 | |
---|
11 | [tox] |
---|
12 | #envlist = py34, pypy |
---|
13 | envlist = py35, py36, py37 |
---|
14 | |
---|
15 | [testenv] |
---|
16 | commands = python -m pytest test |
---|
17 | deps = |
---|
18 | pytest |
---|
Note: See
TracBrowser
for help on using the repository browser.