Merge "Use both unit and functional for coverage testing"

This commit is contained in:
Zuul 2018-09-25 21:47:57 +00:00 committed by Gerrit Code Review
commit 28a5beaec3
2 changed files with 3 additions and 6 deletions

View File

@ -1,7 +1,4 @@
[run]
branch = True
source = nova
omit = nova/tests/*
[report]
ignore_errors = True
source = placement
omit = placement/tests/*

View File

@ -121,7 +121,7 @@ setenv =
commands =
{[testenv]commands}
coverage erase
stestr run {posargs}
stestr --test-path=./placement/tests --group_regex=placement\.tests\.functional\.test_api(?:\.|_)([^_]+) run {posargs}
coverage combine
coverage html -d cover
coverage xml -o cover/coverage.xml