Wrong source path in cobertura report with similar project name starts
See original GitHub issueHi there,
I have 3 project in my solution:
- DAL
- DAL.MySql
- DAL.MsSql
When I generate a cobertura report I get a report with the following sources
part.
<sources>
<source>{Path to my solution}\DAL</source>
</sources>
I think this is a mistake since this is not a common parent folder for each 3 project. I think the following line of code is responsible for that because it is checking that every modules’ path starting with the same string even though in this case it is true it is not a common parent folder for the modules.
Issue Analytics
- State:
- Created 5 years ago
- Comments:6
Top Results From Across the Web
Since Jest 25, coverage reports are having a different ...
I solve it moving the "coverageReporters" configuration from "jest.config.js" at root folder to "jest.config.ts" at project folder, ...
Read more >Inline coverage not interpreting Cobertura source path
I'm trying to gather code coverage on a PHP project using PHPUnit's Cobertura reporter. However, I can only get the inline coverage ......
Read more >Could not get any cobertura coverage info in SonarQube
No path issue though as if I use the generic coverage parameter, it chokes on ill formed xml. I may provide the coverage...
Read more >No Python code coverage on Pull request even though ...
The error is telling you that analysis doesn't see the files listed in the coverage report. Typically that's a path mis-match. So that's...
Read more >Publish code coverage results v1 task
Specifying a path to source files is required when coverage XML reports don't contain an absolute path to source files.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@MarcoRossignoli is it ok when I analyze this and create a pr?
thank’s Dave for analysis