Re: NUnit 2.5 Possible Issue
"Charlie Poole" <[email protected]> Wed, 27 Aug 2008 11:37:44 -0700
| Newsgroups | gmane.comp.windows.dotnet.nunit.devel |
|---|---|
| Message-ID | <00be01c90874$0177b260$6401a8c0@ferrari> |
I'm aware of this one but hadn't decided yet the way to go. The basic story is that NUnit now 1) Treats non-runnable tests similar to errors 2) Considers empty fixtures as non-runnable I think that the first point is the correct choice - for example, if you write a test method with arguments but don't provide any NUnit can't figure out how to run it, so it's an error. OTOH, treating an empty fixture as non-runnable may not be the best thing. It could go back to being marked as ignored or alternatively use the new Inconclusive result. Charlie > -----Original Message----- > From: [email protected] > [mailto:[email protected]] On > Behalf Of Kelly Anderson > Sent: Wednesday, August 27, 2008 9:51 AM > To: [email protected] > Subject: [nunit-developer] NUnit 2.5 Possible Issue > > In NUnit 2.5, if you create an empty TestFixture (that is, > there are no tests in it) it makes the result red. This is > even the case if you mark the fixture with an [Ignore] > attribute. Is this expected behavior? > > // This makes a red result. > [TestFixture] > [Ignore("tests need rewriting.")] > public class MyTests > { > /* stuff commented out */ > } > > -Kelly > > -------------------------------------------------------------- > ----------- > This SF.Net email is sponsored by the Moblin Your Move > Developer's challenge Build the coolest Linux based > applications with Moblin SDK & win great prizes Grand prize > is a trip for two to an Open Source event anywhere in the > world http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > nunit-developer mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/nunit-developer > ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/