sonar.coverage.exclusions and integration tests coverage

南笙酒味 提交于 2019-12-11 12:15:43

问题


I had a maven module that got analyzed for both Unit-tests and Integration-Tests coverage.

I specifically added sonar.coverage.exclusions to the maven module that I wanted to exclude from coverage analysis.

It worked well with the UT, but the module was still analyzed for IT coverage and I got weird behavior where the overall coverage is smaller than the UT coverage because it looks at more code.

I'm using SonarQube 4.5 with java plugin 2.9.1.

来源:https://stackoverflow.com/questions/29239340/sonar-coverage-exclusions-and-integration-tests-coverage

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!