Merge "Use both unit and functional for coverage testing"
This commit is contained in:
commit
28a5beaec3
|
@ -1,7 +1,4 @@
|
||||||
[run]
|
[run]
|
||||||
branch = True
|
branch = True
|
||||||
source = nova
|
source = placement
|
||||||
omit = nova/tests/*
|
omit = placement/tests/*
|
||||||
|
|
||||||
[report]
|
|
||||||
ignore_errors = True
|
|
||||||
|
|
2
tox.ini
2
tox.ini
|
@ -121,7 +121,7 @@ setenv =
|
||||||
commands =
|
commands =
|
||||||
{[testenv]commands}
|
{[testenv]commands}
|
||||||
coverage erase
|
coverage erase
|
||||||
stestr run {posargs}
|
stestr --test-path=./placement/tests --group_regex=placement\.tests\.functional\.test_api(?:\.|_)([^_]+) run {posargs}
|
||||||
coverage combine
|
coverage combine
|
||||||
coverage html -d cover
|
coverage html -d cover
|
||||||
coverage xml -o cover/coverage.xml
|
coverage xml -o cover/coverage.xml
|
||||||
|
|
Loading…
Reference in New Issue