2019-09-04 09:51:09 +00:00
|
|
|
# tox.ini
|
|
|
|
|
|
|
|
[tox]
|
2020-02-01 19:29:00 +00:00
|
|
|
envlist = py{37}-spawn_pipe
|
2019-09-04 09:51:09 +00:00
|
|
|
|
|
|
|
[testenv]
|
|
|
|
description = Unit tests
|
2020-02-01 11:57:17 +00:00
|
|
|
setenv =
|
2020-02-01 20:34:34 +00:00
|
|
|
WEXPECT_LOGGER_LEVEL = DEBUG
|
2020-02-01 11:57:17 +00:00
|
|
|
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]
|
2020-02-01 20:34:34 +00:00
|
|
|
coverage run -m unittest tests.test_echo.EchoTestCase.testPath tests.test_expect.ExpectTestCase.test_before_after
|
2019-09-04 09:51:09 +00:00
|
|
|
coverage report --omit tests/*
|
2020-01-27 15:41:22 +00:00
|
|
|
coverage xml --omit tests/*
|