From 379b89a6ba23b6514ffc1aa85b0fdb0c3b78c5cf Mon Sep 17 00:00:00 2001 From: Bin Sun Date: Mon, 5 Mar 2018 10:35:30 +0800 Subject: Add code coverage for sonar Change-Id: I3cca97c960694cb010867cfda57057c2722acdaa Issue-ID: MULTICLOUD-170 Signed-off-by: Bin Sun --- pom.xml | 7 +++++++ vio/tox.ini | 1 + 2 files changed, 8 insertions(+) diff --git a/pom.xml b/pom.xml index e0f05d9..f7c13e0 100644 --- a/pom.xml +++ b/pom.xml @@ -33,6 +33,13 @@ UTF-8 UTF-8 https://nexus.onap.org + . + xunit-results.xml + vio/coverage.xml + py + Python + **/*.py + tests/*,setup.py diff --git a/vio/tox.ini b/vio/tox.ini index 966b7bb..f2df905 100644 --- a/vio/tox.ini +++ b/vio/tox.ini @@ -25,3 +25,4 @@ setenv= commands = coverage erase {[testenv]commands} + coverage xml -i \ No newline at end of file -- cgit 1.2.3-korg