FortuneN / FineCodeCoverage

Visualize unit test code coverage easily for free in Visual Studio Community Edition (and other editions too)
https://marketplace.visualstudio.com/items?itemName=FortuneNgwenya.FineCodeCoverage
Other
516 stars 39 forks source link

Runs all the tests after selecting a single test to run #327

Closed tomhornyak closed 1 year ago

tomhornyak commented 1 year ago

Installed product versions

Description

If I run a single test, for example to verify a fix,, FIneCodeCoverage will start up and run all the tests after the one test is finished,

Steps to recreate

  1. Create a test project with multiple tests in multiple files.
  2. Select one test in VS Test Explorer 3.Run the tests

Current behavior

After the one test is run, all the tests are run by FIneCodeCoverage. I verified this by showing the command line in Task manager, This wastes a lot of time., This was seen with both MSTest and NUnit tests.

Expected behavior

Only the one test should be run.

Side Notes

tonyhallett commented 1 year ago

Duplicate issue.

Set RunMsCodeCoverage to Yes

tomhornyak commented 1 year ago

Sorry - that didn't do it. Microsoft Code Coverage is not available in the community edition. I turned it on and I still have the problem.

tomhornyak commented 1 year ago

Let me clarify - after restarting VS - it did work, But I don't see the coverage now.

tonyhallett commented 1 year ago

There is a setting for hiding coverage when fully covered. Perhaps you have set this and your code is fully covered.