2015-12-12 17:52:18 +00:00
|
|
|
[tox]
|
|
|
|
envlist = py27, pypy, py33, py34, py35
|
|
|
|
|
|
|
|
[testenv]
|
|
|
|
deps =
|
|
|
|
pytest
|
|
|
|
-rrequirements.txt
|
|
|
|
commands =
|
2016-02-06 17:12:01 +00:00
|
|
|
py.test
|
2015-12-12 17:52:18 +00:00
|
|
|
|
|
|
|
[pytest]
|
2016-02-06 20:59:00 +00:00
|
|
|
minversion = 2.8
|
2016-02-06 17:12:01 +00:00
|
|
|
testpaths =
|
|
|
|
Lib/fontTools
|
2016-02-06 20:59:00 +00:00
|
|
|
python_files =
|
|
|
|
*_test.py
|
2016-02-07 17:42:55 +00:00
|
|
|
python_classes =
|
|
|
|
*Test
|
2015-12-12 17:52:18 +00:00
|
|
|
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
|