As a quality architect working with 30+ teams on several products, I want to see both unit test and integration tests coverage numbers and not a single, merged result so that I have some confidence in the testing being performed in our continuous integration/delivery pipelines.
Modern unit tests that mock out all dependencies and environmental factors and have been proven to run on a developers local machine cannot by definition fail in a continuous integration environment. This makes them very low value in a CI environment. Therefore, 100% unit test coverage but 0% integration test coverage means no meaningful testing is actually happening in the CI build.
In version 5.x of SonarQube we were able to see unit test coverage separate from integration test coverage (we use custom annotations to indicate which is which in our code).
In version 6.x we seem to have lost that ability (https://stackoverflow.com/questions/41785791/configure-sonar-to-see-integration-tests-v6-2).
Can we have this feature back, please?
fwiw: I know that test coverage only looks at path coverage and high-values are not a good indicator of actual coverage of tests or any indicator at all of the quality of tests … but very low values are an indication that someone its cutting corners on testing that will likely come back and bite us later.