wexpect-venv/tox.ini

16 lines
469 B
INI
Raw Normal View History

2019-09-04 09:51:09 +00:00
# tox.ini
[tox]
envlist = py{37}-spawn_pipe
2019-09-04 09:51:09 +00:00
[testenv]
description = Unit tests
setenv =
spawn_pipe: WEXPECT_SPAWN_CLASS=SpawnPipe
legacy_wexpect: WEXPECT_SPAWN_CLASS=legacy_wexpect
2019-09-04 09:51:09 +00:00
commands =
pip install .[test]
coverage run -m unittest tests.test_echo.EchoTestCase.testPath tests.test_expect.ExpectTestCase.test_before_after tests.test_long.TestCaseLong.test_long
2019-09-04 09:51:09 +00:00
coverage report --omit tests/*
coverage xml --omit tests/*