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

Cobertura empty string (path?) in GetRelativePathFromBase(?) #54

Closed
MatsJakobsson opened this issue Apr 18, 2018 · 1 comment
Closed
Labels
bug Something isn't working

Comments

@MatsJakobsson
Copy link

First, great work! It's really great to get the Cobertura support.

Though, between 1.1.0 and 1.1.1 something happened which results in the following:

Calculating coverage result...
Generating report './coverage.xml'
...coverlet.msbuild.targets(19,5): error : String cannot be of zero length.
...coverlet.msbuild.targets(19,5): error : Parameter name: oldValue

I only get this for 1.1.1 with cobertura enabled. 1.1.0 works with cobertura enabled. 1.1.1 works fine with lcov.

I am guessing that basepath sent as source to GetRelativePathFromBase for some reason is empty?

Another thing. Maybe wrong forum/tool, but is there any way to limit the sources included in the coverage file? As of now, I get coverage result for 4 dll:s, I only need coverage report for one of them.

Thanks.

@tonerdo tonerdo added the bug Something isn't working label Apr 24, 2018
@tonerdo
Copy link
Collaborator

tonerdo commented Apr 24, 2018

I'll take a look into fixing the issue with Cobertura, gotta figure out why it's happening in the first place. For your second questions see #56

NorekZ pushed a commit to NorekZ/coverlet that referenced this issue Nov 8, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants