-
Notifications
You must be signed in to change notification settings - Fork 0
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
The file name {n} was not found in any package directory. #13
Comments
OK, apparently the code coverage report you get from |
@fransf-wtax - Thank you for reporting this issue. Yes, this is due to the deltas between the JSONS created by the CLI's deploy command and the test command. I'm not sure why they follow different formats. But there are current bugs open against how In regards to supporting the Please this new version out when you can. I tested this out with the coverage JSON example you provided (after updating file names to match my test files) and it was able to create coverage XMLs in the same format accepted by SonarQube.
To run this plugin correctly for the
|
@mcarvin8 This is amazing! I tried out the new plugin and the support for |
Great news! Thanks for the update! |
I was very excited to try this to get my Apex unit test coverage metrics into SonarQube!
However, when I run the transformer, I just get a list of similar warnings:
followed by an error:
Error (1): None of the files listed in the coverage JSON were processed.
No output file is created.
I'm not sure where it gets the "file name 0" etc. from. There are actual file names (more accurately, class names) in the test coverage report, e.g.
"name":"UTIL_ImportUtils"
The coverage file I'm trying to transform looks like this:
etc.
Any idea what the issue is here?
Thanks!
Frans
The text was updated successfully, but these errors were encountered: