Re: runtime skip of a testfixture
"Kelly Anderson" <[email protected]> Tue, 16 Sep 2008 10:14:30 -0600
| Newsgroups | gmane.comp.windows.dotnet.nunit.user |
|---|---|
| Message-ID | <[email protected]> |
I think you can call Assert.Ignore() to this effect. -Kelly On Tue, Sep 16, 2008 at 7:28 AM, Sean Dague <[email protected]> wrote: > Schnick, Michael wrote: >> Hi Sean, >> >> I think including an Assert.Fail() should be enough in the TestSetUp or >> TestFixtureSetup so that the test suite is not run. >> I'm using these in my tests as well so I can see if the preparations >> have actually been handled correctly. >> >> Best regards >> Michael Schnick > > This still generates a failure on the test, which is not what I want. I > want to skip the test, no harm / no foul, and move on from there. Test > fails will break all the reporting tools up the stack and make them > think there was legitimately a fail, which there wasn't. > > -Sean > > -- > __________________________________________________________________ > > Sean Dague Mid-Hudson Valley > sean at dague dot net Linux Users Group > http://dague.net http://mhvlug.org > > There is no silver bullet. Plus, werewolves make better neighbors > than zombies, and they tend to keep the vampire population down. > __________________________________________________________________ > > > > ------------------------------------------------------------------------- > 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-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/nunit-users > > ------------------------------------------------------------------------- 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=/