Re: runtime skip of a testfixture
Sean Dague <[email protected]> Tue, 16 Sep 2008 09:28:35 -0400
| Newsgroups | gmane.comp.windows.dotnet.nunit.user |
|---|---|
| Message-ID | <[email protected]> |
This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --===============0516543659== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig5610D368BC6924E3E23BA785" This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig5610D368BC6924E3E23BA785 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Schnick, Michael wrote: > Hi Sean, >=20 > 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. >=20 > 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 --=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. __________________________________________________________________ --------------enig5610D368BC6924E3E23BA785 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 iD8DBQFIz7SKSamXem9TdyYRAuVDAJ9czyq3NZvA6Ulirmi5wRU9arVWPwCfdOix 9L+PASjXxis5hSPj28QvpYU= =GpxZ -----END PGP SIGNATURE----- --------------enig5610D368BC6924E3E23BA785-- --===============0516543659== 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=/ --===============0516543659== 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 --===============0516543659==--