Re: Abstract Test Classes

Jeff <[email protected]>
Newsgroups gmane.comp.windows.dotnet.nunit.user
Message-ID <[email protected]>
Brad,

On Wed, Mar 5, 2008 at 12:49 PM, Brad Stiles <[email protected]>
wrote:

> I do this on occasion.  In your abstract class, do you have the
> [TestFixture] attribute set on the class?  If so, remove it.  As long as
> the child classes are decorated properly, they'll still show up, but
> this will keep the abstract one from displaying.
>
> Make sure any tests that you have *in* the abstract class are properly
> decorated, though.



I currently do have the TestFixture attribute on the abstract class and not
on the child classes.  I will change it around to follow your suggestion,
thanks!

Jeff

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/

_______________________________________________
Nunit-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nunit-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.