Daily Usage Issues

Test Count difference with Resharper

Started by sgrassie on 5,054 views

Hi,

Why would NCrunch report a test count of about 200 or so less than ReSharper?

I can't figure out where the disparity is. I can't actually find a test in NCrunch that doesn't match up with one that Resharper shows.

Tests use XUnit2, I'm running VS2015.
Hi,

Perhaps you can try comparing some test list exports?

There are many different ways of counting tests. A few things to consider:
- Are the fixtures themselves being counted as tests? A fixture technically has its own pass/fail result, so sometimes it can count
- Are ignored tests counted?
- What about theories and test cases? NCrunch uses a different test discovery system to Resharper. It's possible in some cases that theory test cases can be 'rolled up' into single tests if their test case parameters are not considered stable enough to uniquely identify them.

Ultimately the only way to know for sure why there is a difference is to compare the list of tests side by side.

Post a reply

Log in to reply.