I have 4 types of testing, but they are all executed and their results sent to Sonar as if they belong to the same type, unit tests.
I can filter my tests using tags in maven and generate at different phases the surefire-reports, however I would like to send them separately to Sonar, so I can use later its API collect the statistics.
For now the only idea I have is to create custom measures and create a tool to parse the surefire-reports and send them to Sonar.

Anyone has other ideas better than this one? I really would like to have all the test results in a central place, probably later I want to create a nice dashboard, something Sonar removed too.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.