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

Notification

Icon
Error

Fail on private TestInitialize
jnijni
#1 Posted : Tuesday, March 5, 2013 9:13:32 PM(UTC)
Rank: Newbie

Groups: Registered
Joined: 12/18/2012(UTC)
Posts: 6
Location: Canada

Thanks: 2 times
Was thanked: 2 time(s) in 2 post(s)
Hi,

MSBuild will fail on private TestInitialize methods, but NCrunch doesn't. R# will fail too.

Therefore, we ended up with a bunch of tests that were working on our machines, but not during the CI process.

It would be nice if NCrunch would fail there too (or maybe just give a warning?). Some sort of feedback when a private test initialize is detected would be great.

Thanks!
Jni
Remco
#2 Posted : Tuesday, March 5, 2013 9:54:38 PM(UTC)
Rank: NCrunch Developer

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

Thanks: 959 times
Was thanked: 1290 time(s) in 1196 post(s)
Hi, thanks for making me aware of this one!

I'll add a note to change the NCrunch behaviour here to bring it in line with the standard. This shouldn't be hard to do.


Cheers,

Remco
1 user thanked Remco for this useful post.
jnijni on 3/6/2013(UTC)
Remco
#3 Posted : Saturday, March 30, 2013 10:22:22 PM(UTC)
Rank: NCrunch Developer

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

Thanks: 959 times
Was thanked: 1290 time(s) in 1196 post(s)
For anyone interested, a fix for this problem has been introduced with the newly released version of NCrunch (v1.45).
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.038 seconds.
Trial NCrunch
Take NCrunch for a spin
Do your fingers a favour and supercharge your testing workflow
Free Download