Unit Tests vs Integration Tests


When running our coverage report, we run both integration tests and unit tests. When looking through the SonarQube GUI, more specifically the “Tests” section under “Coverage” in the “Measures” tab, I only see “Unit Tests”. Are integration tests counted as unit tests? It seems to be that way, but I just wanted to be certain. Thank you!


Coverage metrics are going to reflect all test types rolled together. But where it says Unit Tests, that’s the result of the test execution report, and it’s likely just about unit tests (altho it really depends on what you provided in the analysis).


1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.