Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Test Count difference with Resharper
sgrassie
#1 Posted : Monday, March 7, 2016 5:31:56 PM(UTC)
Rank: Member

Groups: Registered
Joined: 6/25/2015(UTC)
Posts: 15
Location: United Kingdom

Thanks: 2 times
Was thanked: 3 time(s) in 3 post(s)
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.
Remco
#2 Posted : Monday, March 7, 2016 10:11:30 PM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 7,123

Thanks: 957 times
Was thanked: 1287 time(s) in 1194 post(s)
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.
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

YAF | YAF © 2003-2011, Yet Another Forum.NET
This page was generated in 0.022 seconds.
Trial NCrunch
Take NCrunch for a spin
Do your fingers a favour and supercharge your testing workflow
Free Download