Question

In NCover (For NUnit) it shows which parts of code are not getting hit by any of the tests.

For code paths that is actually covered, is it possible to find out which tests actually hit them?

NOTE : This is possible in dotCover by JetBrains.

Was it helpful?

Solution

NCover can't show you which tests are run since those are run by an external test runner, which NCover has no control over.

dotCover, on the other hand, integrates tightly with Resharper's test runner, from which it can obtain information about which tests exercised different parts of the code.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top