sonar-dotnet icon indicating copy to clipboard operation
sonar-dotnet copied to clipboard

Fix the "valid.xml" OpenCover test case

Open andrei-epure-sonarsource opened this issue 4 years ago • 1 comments

The current test case for a valid OpenCover report ("valid.xml") creates noise when being parsed.

OpenCover parser: invalid start line for file (ID '3', path 'MyLibrary\Adder.cs', indexed as ...

This should not happen for valid XML. We should regenerate this test case. But bear in mind the OpenCover versioning. We need to use also an older open cover format which doesn't have the "fileid" in the SequencePoint attribute. Otherwise, we'll lose coverage.

Alternatively, we can decide to drop this "RefFile" UID fallback feature - must investigate in which OpenCover version it got dropped (if in any).

I updated priority and effort and moved this back to the backlog.

Tim-Pohlmann avatar Aug 01 '24 11:08 Tim-Pohlmann

Moved to NET-1926