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

Notification

Icon
Error

Crunch fails to detect code change and reports failed test after fixing
Ralf Koban
#1 Posted : Tuesday, August 26, 2014 5:11:08 PM(UTC)
Rank: Advanced Member

Groups: Registered
Joined: 5/19/2014(UTC)
Posts: 44
Location: Germany

Thanks: 4 times
Was thanked: 10 time(s) in 9 post(s)
Hi Remco,

I've installed NCrunch v2.9.0.1 (but it also happened in v 2.8.0.35).

My tests check for some strings and fail in case the string is not as expected.

When I now my code by just exchanging a single character in a string, NCrunch runs the tests and all tests succeed. But actually the tests should fail. When I now undo my change, NCrunch runs all tests again and now it fails with the tests that should have been failed before (they should now succeed again).

My code compiles very fast (it's a small code kata). On the NCrunch performance settings I have a slight build delay of 1000 ms.

Best regards,
Ralf Koban
Remco
#2 Posted : Tuesday, August 26, 2014 10:27:24 PM(UTC)
Rank: NCrunch Developer

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

Thanks: 964 times
Was thanked: 1296 time(s) in 1202 post(s)
Hi Ralf,

Thanks for sharing this issue. With the build delay set, I've managed to quickly reproduce it and I am working on a fix.

Turning off the build delay should allow you to work around it. I'll have the fix out shortly.


Cheers,

Remco
Remco
#3 Posted : Wednesday, August 27, 2014 4:16:06 AM(UTC)
Rank: NCrunch Developer

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

Thanks: 964 times
Was thanked: 1296 time(s) in 1202 post(s)
1 user thanked Remco for this useful post.
Ralf Koban on 8/27/2014(UTC)
Ralf Koban
#4 Posted : Wednesday, August 27, 2014 6:33:10 AM(UTC)
Rank: Advanced Member

Groups: Registered
Joined: 5/19/2014(UTC)
Posts: 44
Location: Germany

Thanks: 4 times
Was thanked: 10 time(s) in 9 post(s)
Hi Remco,

thanks, the new version solves my problem.

Great tool.

BR,
Ralf
1 user thanked Ralf Koban for this useful post.
Remco on 8/27/2014(UTC)
SeriousM
#5 Posted : Tuesday, September 2, 2014 9:57:36 AM(UTC)
Rank: Advanced Member

Groups: Registered
Joined: 4/2/2012(UTC)
Posts: 40
Location: Vienna

Thanks: 9 times
Was thanked: 3 time(s) in 3 post(s)
Ralf Koban;6263 wrote:
Hi Remco,

thanks, the new version solves my problem.

Great tool.

BR,
Ralf


Worked for me as well, thanks!
Maybe push this to the existing users?
Remco
#6 Posted : Tuesday, September 2, 2014 10:10:17 AM(UTC)
Rank: NCrunch Developer

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

Thanks: 964 times
Was thanked: 1296 time(s) in 1202 post(s)
Yes! There were a few other fixes that needed to go in, but this is going out with 2.9 in a couple of days.
Remco
#7 Posted : Tuesday, September 2, 2014 10:10:18 AM(UTC)
Rank: NCrunch Developer

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

Thanks: 964 times
Was thanked: 1296 time(s) in 1202 post(s)
Yes! There were a few other fixes that needed to go in, but this is going out with 2.9 in a couple of days.
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.047 seconds.
Trial NCrunch
Take NCrunch for a spin
Do your fingers a favour and supercharge your testing workflow
Free Download