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

Notification

Icon
Error

Unit tests show as failing when they shouldn't
stsauber
#1 Posted : Friday, July 8, 2016 3:46:07 AM(UTC)
Rank: Newbie

Groups: Registered
Joined: 7/8/2016(UTC)
Posts: 1
Location: United States of America

In NCrunch, 160 of my 800+ unit tests show as failing. Yet when I run them in Test Explorer in VS directly or run them on my build server, they pass. When I debug my unit tests, NCrunch passes them. It's just running them automatically or clicking Run All fails. Resynchronise doesn't help.

Any ideas?
Remco
#2 Posted : Friday, July 8, 2016 4:46:17 AM(UTC)
Rank: NCrunch Developer

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

Thanks: 959 times
Was thanked: 1290 time(s) in 1196 post(s)
Hi, thanks for sharing this issue.

Most likely these tests are sequence or state dependent in a way that wasn't designed with the way that NCrunch can re-use test processes. See here for more information - http://www.ncrunch.net/documentation/considerations-and-constraints_test-atomicity.
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.025 seconds.
Trial NCrunch
Take NCrunch for a spin
Do your fingers a favour and supercharge your testing workflow
Free Download