Fwd: SuiteAttribute, RowTest and IterativeTest
"Kelly Anderson" <[email protected]>
| Newsgroups | gmane.comp.windows.dotnet.nunit.devel |
|---|---|
| Message-ID | <[email protected]> |
On Mon, Mar 10, 2008 at 6:43 PM, Charlie Poole <[email protected]> wrote: > 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. So, would it possibly be deprecated in 3.0? As for the pattern that we only call static methods at test load time, I think that might have to change as we go towards a full Theory implementation. -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/