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.

有帮助吗?

解决方案

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.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top