Re: runtime skip of a testfixture
"Charlie Poole" <[email protected]> Tue, 16 Sep 2008 09:30:56 -0700
| Newsgroups | gmane.comp.windows.dotnet.nunit.user |
|---|---|
| Message-ID | <01a201c91819$99f97000$6402a8c0@ferrari> |
Assert.Ignore or Assert.Inconclusive will do it - or Fail if that's appropriate. Charlie > -----Original Message----- > From: [email protected] > [mailto:[email protected]] On Behalf > Of Sean Dague > Sent: Monday, September 15, 2008 2:21 PM > To: [email protected] > Subject: [Nunit-users] runtime skip of a testfixture > > Is there a way to throw some kind of exception (or other > signal) during [Setup] so that the testfixture isn't run? > I'd like to make some tests that won't run in every > environment, but to opportunistically run them whenever > possible, but not could the tests as fails if the environment > isn't a match. > > This isn't as broad as Linux, Mono, or .NET-2, it's more > about having a correctly configured database. > > Any pointers would be appreciated. > > -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=/