Feature Suggestions

Fail on private TestInitialize

Started by jnijni on 8,257 views

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
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
For anyone interested, a fix for this problem has been introduced with the newly released version of NCrunch (v1.45).

Post a reply

Log in to reply.