mirror of
https://github.com/wassname/cachier.git
synced 2026-09-09 11:19:08 +08:00
33 lines
542 B
INI
33 lines
542 B
INI
[tox]
|
|
envlist =
|
|
py27
|
|
py35
|
|
py36
|
|
# recreate = True
|
|
|
|
[testenv]
|
|
deps =
|
|
; equivalent to pip -e .[test]
|
|
-e{toxinidir}[test]
|
|
;-r{toxinidir}/tools/pip-requires
|
|
;-r{toxinidir}/tools/test-require
|
|
commands=py.test # or 'nosetests' or ...
|
|
usedevelop = true
|
|
|
|
# [testenv:doctesting]
|
|
# basepython = python
|
|
# usedevelop=True
|
|
# skipsdist=True
|
|
# commands=
|
|
# pytest --doctest-modules --pyargs _pytest
|
|
|
|
[pytest]
|
|
testpaths =
|
|
tests
|
|
cachier
|
|
norecursedirs=dist build .tox
|
|
addopts =
|
|
# --doctest-modules
|
|
--cov=cachier
|
|
|