-
-
Notifications
You must be signed in to change notification settings - Fork 287
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
[CoberturaParser] System.IndexOutOfRangeException: Index was outside the bounds of the array #79
Comments
The exception is triggered by line 281 |
I fixed the problem is this beta release: By the way: |
@danielpalme Thanks for that! I'm going to give that a try and will let you know about the result on my side
I know 😉 I was playing with this nice tooling of yours, prepping my way for integration with VSTS. Then I tried to feed ReportGenerator with the output of the Converter to ensure the output was similar from what I was getting from OpenCover. And.. 💥 Thought you'd like to know about it 😉 |
Yes of course i would like to know! But OpenCover reports contain much more information than the Cobertura reports, so I would highly recommend to use them. |
I agree. However, my target is to get those coverage data to be gathered by VSTS and it looks like Cobertura format looks like my only option when it comes to .NET Core based app. |
Issue fixed. Awesome. Tons of ❤️s ! Just discovered a tiny issue. Will open a separate one. |
@danielpalme I eventually (sigh) understood what you were hinting at: Use Cobertura format for the summary and upload the detailed OpenCover based generated Html report. Although the experience isn't that rich at the moment (because of microsoft/azure-pipelines-tasks#3027), it was a very good advice. Thanks a lot for it! |
Running the following (stripped down) Cobertura file
triggers the following exception
*Note: The initial file has been produced by the OpenCoverCobertura converter from an xunit test result. As I'm not proficient with the file formats, I'm not able to tell if the error lies in the parser or in the way the file has been converted to Cobertura format.
The text was updated successfully, but these errors were encountered: