Skip to content

Conversation

@tig
Copy link

@tig tig commented Apr 20, 2021

As noted here:

#128 (reply in thread)

It was not clear I needed to set <UseDataCollector/> in my csproj file and things weren't working.

This PR just tweaks the README to make it more clear.

@tonyhallett
Copy link
Collaborator

add this to your test project's csproj : REQUIRED

It is not required.

As mentioned in the readme the collector driver is not suitable for all projects. Also it is not the only way to opt in to the collector driver.

Fine Code Coverage will use the Data Collector driver under two circumstances :

You are testing with runsettings that contains the coverlet collector ( and not disabled)

What I will do is highlight in the readme the issues that can occur when not using the collector. Particularly the 0% coverage that you encountered.

tonyhallett added a commit to tonyhallett/FineCodeCoverage that referenced this pull request Apr 27, 2021
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

Successfully merging this pull request may close these issues.

2 participants