Re: nunit-developer Digest, Vol 23, Issue 21
Gary Evans <[email protected]> Sat, 26 Apr 2008 10:48:32 +0100
| Newsgroups | gmane.comp.windows.dotnet.nunit.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi Charlie > The extension points are listed in the nunitAddins page, which you can> navigate> to by selecting Other Features | Extensibility | NUnit Addins.> > My guess is that your extension should probably be both a test case builder> and a data provider, so take a look at the ParameterProviders extension> point.> > CharlieI've upgraded my theory extension to build and work against the NUnit 2.5 changes, but I haven't made use of any ParameterProvider stuff yet - what advantage does it give me to do so? For my data-driven tests and fixtures, I can see that using the ParamterProvider lets me re-use code (I can lose my DynamicTestMethod which derives from NUnitTestMethod), but for my theory extension, I need to create a new TestMethod anyway - not just for the parameters, so it is worth me going to the efforts of using a parameter provider? Will it give me anything different - it this the way where we'd get the user's test method invoked for all data sets but only display one entry in the tree? (and they'd be able to drill down to see all of the data used in running the test/theory?) Cheers, Gary _________________________________________________________________ Bag extra points with the Walkers Brit Trip Game http://www.walkersbrittrips.co.uk/game ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ nunit-developer mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/nunit-developer