File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -12,25 +12,13 @@ deps =
1212 -rrequirements.txt
1313 -rrequirements.dev.txt
1414
15+ commands =
16+ {envpython} -m pytest
1517
1618[testenv:unit]
1719description = Running UNIT tests in the corresponding environment
18- # commands =
19- # {envpython} -m pytest tests/unit
2020commands =
21- {envpython} -m coverage run -m pytest tests/unit \
22- --cov =ted_sws \
23- --cov-report =html \
24- --cov-report =term \
25- --cov-report =xml \
26- --junitxml =junit_report.xml \
27- -r a \
28- -q \
29- -v -s \
30- --gherkin-terminal-reporter \
31- --disable-pytest-warnings
32- {envpython} -m coverage xml
33-
21+ {envpython} -m pytest tests/unit
3422
3523[testenv:features]
3624commands =
@@ -47,16 +35,16 @@ commands =
4735basepython =
4836 python3.8
4937commands =
50- coverage run -m pytest
51- # --cov-report term \
52- # --cov-report html \
53- # --cov
54-
38+ {envpython} -m pytest \
39+ --cov-report term \
40+ --cov-report html \
41+ --cov
5542
5643[coverage:run]
5744relative_files = True
5845source = ted_sws/
59- branch = True
46+ branch = False
47+
6048
6149[pytest]
6250log_cli = true
@@ -69,6 +57,7 @@ addopts =
6957 --cov-report =html
7058 --cov-report =term
7159 --cov-report =xml
60+ --cov-config =tox.ini
7261 --junitxml =junit_report.xml
7362 -r a
7463 -q
You can’t perform that action at this time.
0 commit comments