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

Notification

Icon
Error

"Undo" isn't regarded as a change?
ssg
#1 Posted : Saturday, May 26, 2012 12:28:54 PM(UTC)
Rank: Member

Groups: Registered
Joined: 5/20/2012(UTC)
Posts: 11
Location: Istanbul, Turkey

Thanks: 3 times
Was thanked: 2 time(s) in 2 post(s)
NCrunch doesn't re-run tests that are impacted by "undo" operations when "automatically run impacted tests only" mode is selected. I encountered this only once but I'll add more info here if I bump into it again and get a repro. Now I'm in the middle of coding I just didn't want to forget about telling this.
Remco
#2 Posted : Saturday, May 26, 2012 10:27:11 PM(UTC)
Rank: NCrunch Developer

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

Thanks: 957 times
Was thanked: 1286 time(s) in 1193 post(s)
Hi, thanks for posting! Undo operations are considered the same as any other change to a source file, so it's far more likely that the change you made landed in an area that the impact detection didn't properly detect. Right now impact detection will only work for tests that actually have coverage in the same file you are changing, so it can be a bit limited. One way to tell whether it's the change detection or the impact detection is to check for a build - if the build ran but your tests didn't, then it's the impact detection (and you should consider using a different engine mode).
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.020 seconds.
Trial NCrunch
Take NCrunch for a spin
Do your fingers a favour and supercharge your testing workflow
Free Download