Rakija 1.2.0.0
Gary Evans <[email protected]> Mon, 17 Mar 2008 19:32:16 +0000
| Newsgroups | gmane.comp.windows.dotnet.nunit.devel |
|---|---|
| Message-ID | <[email protected]> |
I've finally had time to update my data-driven parameterized test and fixture extension - I've changed the syntax of the parameterized tests to be:
[ParameterizedTest]
[InlineData("MySpecificTestCase", new object[] {3, "something"})
[InlineData("MyOtherSpecificTestCase", new object[] {4, "something else"})
[PropertyData("MyTestProperty")]
public void MyTest(int someInt, string someString)
{
// ...
}
public IList<ParameterizedTestData> MyTestProperty
{
get
{
// return a list of ParameterizedTestData instances.
}
}
The extension is up on www.taumuon.co.uk/rakija I've not received much feedback yet, any is gratefully received :)
cheers,
Gary
_________________________________________________________________
Telly addicts unite!
http://www.searchgamesbox.com/tvtown.shtml
-------------------------------------------------------------------------
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