Skip to content

Commit a770a98

Browse files
Update tox.ini
1 parent f8fd3cd commit a770a98

1 file changed

Lines changed: 14 additions & 7 deletions

File tree

tox.ini

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,17 +12,24 @@ deps =
1212
-rrequirements.txt
1313
-rrequirements.dev.txt
1414

15-
commands =
16-
{envpython} -m pytest
17-
18-
1915

2016
[testenv:unit]
2117
description = Running UNIT tests in the corresponding environment
18+
#commands =
19+
# {envpython} -m pytest tests/unit
2220
commands =
23-
# {envpython} -m pytest tests/unit
24-
{envpython} -m coverage run -m pytest tests/unit
25-
{envpython} -m coverage xml
21+
{envpython} -m coverage run -m pytest tests/unit \
22+
--cov=ted_sws \
23+
--cov-report=html \
24+
--cov-report=term \
25+
--junitxml=junit_report.xml \
26+
-r a \
27+
-q \
28+
-v -s \
29+
--gherkin-terminal-reporter \
30+
--disable-pytest-warnings
31+
{envpython} -m coverage xml
32+
2633

2734
[testenv:features]
2835
commands =

0 commit comments

Comments
 (0)