runtime skip of a testfixture
Sean Dague <[email protected]> Mon, 15 Sep 2008 17:20:37 -0400
| Newsgroups | gmane.comp.windows.dotnet.nunit.user |
|---|---|
| Message-ID | <[email protected]> |
This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --===============1193564158== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigD8C15089EC4EE3E7936C97F7" This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigD8C15089EC4EE3E7936C97F7 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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 --=20 __________________________________________________________________ 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. __________________________________________________________________ --------------enigD8C15089EC4EE3E7936C97F7 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIztGlSamXem9TdyYRAr2qAJ9hIvmB5Jcpd9dGUjDjDqNmCTfutwCeM5vg mh0dh5p0wXOxxUWxoLtKehk= =T1cM -----END PGP SIGNATURE----- --------------enigD8C15089EC4EE3E7936C97F7-- --===============1193564158== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------- 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=/ --===============1193564158== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Nunit-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/nunit-users --===============1193564158==--