Re: SuiteAttribute, RowTest and IterativeTest

"Charlie Poole" <[email protected]>
Newsgroups gmane.comp.windows.dotnet.nunit.devel
Message-ID <002001c88310$fe09f540$6401a8c0@ferrari>
Hi Kelly, 

SuiteAttribute is a hold-over from an older style of framework.
NUnit 1.x got the idea from the original JUnit. NUnit 2.x 
discouraged its use, since we added automatic suite creation
based on the namespace hierarchy.

Some people use it to create arbitrary combinations of tests
that can be loaded from the command line using the /fixture
option. In fact, this was the original and only purpose of
the /fixture option - we changed it so it would accept 
normal test fixtures and then namespaces.

Mostly, it's of historical interest but it did establish the
pattern that we only call static methods at test load time.

Charlie

> -----Original Message-----
> From: [email protected] 
> [mailto:[email protected]] On 
> Behalf Of Kelly Anderson
> Sent: Monday, March 10, 2008 3:16 PM
> To: [email protected]
> Subject: [nunit-developer] SuiteAttribute, RowTest and IterativeTest
> 
> I just ran into SuiteAttribute... while prepping for an NUnit 
> demonstration... interesting.
> 
> Was this intended to solve problems similar to those solved 
> by RowTest and IterativeTest, or is it there for another 
> purpose, or just to do whatever?
> 
> What sorts of things have people done with the SuiteAttribute?
> 
> -Kelly
> 
> --------------------------------------------------------------
> -----------
> 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-developer mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/nunit-developer
> 



-------------------------------------------------------------------------
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/
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.