Run only failing test-cases, to reproduce

This commit is contained in:
Benedek Racz 2020-02-01 20:29:00 +01:00
parent ad50d38614
commit ee0b06f289

View File

@ -1,7 +1,7 @@
# tox.ini # tox.ini
[tox] [tox]
envlist = py{37}-{default,legacy_wexpect,spawn_pipe} envlist = py{37}-spawn_pipe
[testenv] [testenv]
description = Unit tests description = Unit tests
@ -10,6 +10,6 @@ setenv =
legacy_wexpect: WEXPECT_SPAWN_CLASS=legacy_wexpect legacy_wexpect: WEXPECT_SPAWN_CLASS=legacy_wexpect
commands = commands =
pip install .[test] pip install .[test]
coverage run -m unittest coverage run -m unittest tests.test_echo.EchoTestCase.testPath tests.test_expect.ExpectTestCase.test_before_after tests.test_long.TestCaseLong.test_long
coverage report --omit tests/* coverage report --omit tests/*
coverage xml --omit tests/* coverage xml --omit tests/*