fonttools/tox.ini
Cosimo Lupo 464057a4db [tox.ini] set *Test pattern for pytest's python_classes
The glob pattern determines which classes are considered for test collection by pytest.
We already follow this pattern for the unittest.TestCase derived subclasses
(which are collected regardless of this option).
2016-02-07 17:42:55 +00:00

29 lines
577 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
python_classes =
*Test
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