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

Require More than one source file path provision for one coverage report #101

Open
rohith0205 opened this issue Jul 17, 2020 · 2 comments
Open

Comments

@rohith0205
Copy link

Require More than one source file path provision for one coverage.xml file.

Ex:

pycobertura diff coverage.old.xml coverage.new.xml --source1 old_source/,old_source2/,old_source3/ --source2 new_source/,new_source2/,new_source3/

@aconrad
Copy link
Owner

aconrad commented Jul 17, 2020

Thanks for your request @rohith0205 !

Can you update the issue description and provide more context about your use case? I've never used more than one source directory per coverage file. What would be a situation when this would occur? More background on how you get there would help me understand the workflow.

@aconrad
Copy link
Owner

aconrad commented Feb 10, 2022

Do the coverage files contain paths like:

<line filename="old_source/foo" hits="1">
<line filename="old_source2/foo" hits="1">
<line filename="old_source3/foo" hits="1">

Or are those meant to be additional lookup directories should the filename not be found in the first directory? If that's the case, how can we ensure that we parse the right file if it's present in 2 of the look-up paths?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants