fonttools/tox.ini
Cosimo Lupo 118045abf0 [tox.ini] tell pytest to only collect tests from *_test.py modules; set pytest 'minversion' to 2.8
the glob pattern will restricts the search only for pytest's kind of tests; it has no effect on methods of unittest.TestCase derived class, since pytest still uses unittest's own collection framework to collect those.

The 'minversion' is required to support some of the latest advanced features.
The current py.test is 2.8.7. You can update it with `pip install --upgrade pytest`.
2016-02-06 20:59:00 +00:00

27 lines
549 B
INI

[tox]
envlist = py27, pypy, py33, py34, py35
[testenv]
deps =
pytest
-rrequirements.txt
commands =
py.test
[pytest]
minversion = 2.8
testpaths =
Lib/fontTools
python_files =
*_test.py
addopts =
# run py.test in verbose mode
-v
# show extra test summary info
-r a
# run doctests in all .py modules
--doctest-modules
# py.test raises ImportError with inspect.py (requires pygtk) and with
# reportLabPen.py (reportlab). They don't have doctests, it's OK to skip.
--doctest-ignore-import-errors