You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This seems to basically say that Karma JUnit reporter has been configured to use a naming convention true to test code (source), whereas Sonar expects something different.
The karma-junit-reporter produces lines to the test report so that it makes a tag for a test class (usually that's a physical single file), and within the test suites there are tags, one for each named test spec.
Can you configure both ends, Karma and the Sonar? A question that might help check out the options available.
@jpaulin Sonar uses a specific XSD schema for the report. A sample of a compliant file can be found here in the section Unit Tests Execution Results Report Format. Therefore I don't think that there is a possible configuration at Sonar side.
When generating a report as the following:
and after parsing it with Sonar, an error occurred:
The text was updated successfully, but these errors were encountered: