简体   繁体   中英

How to report number of Groovy tests to SonarQube

We've been adding an increasing number of Groovy (Spock) unit tests to our existing suite of Java (JUnit) tests.

We've configured things correctly to get Spock code coverage listed in Sonar, but the "Unit Test Success" listings - Tests, Failures, Errors, Skipped tests - only shows for the Java tests.

What configuration do we need to add for the Spock tests to report correctly?

Thank you

Those results in Java are fed by the Unit Test execution report, which is separate from the coverage report. The docs tell you how to feed that data into an analysis.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM