Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: location of the test source file #239

Merged
merged 3 commits into from
Aug 24, 2019

Conversation

davidy4ng
Copy link
Contributor

The plugin may not be able to find the test source files, which ends up in having a sonarqube report without any tests.

This may occurs because the JUnit report replaces -, + or characters in the path by _.

Since we can't get the full path name from the "classname" attribute in the JUnit report, the fix fallback by searching any file matching the classname in the whole sonar.tests directory.

Notice: It's bad practice to have spaces or symbols in your paths, directory or file name.

@davidy4ng davidy4ng force-pushed the fix/unable-to-locate-test-files branch from 3c47175 to 60541fd Compare August 23, 2019 12:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants