Discussion:
Second Thoughts about UseCompatibleFactories
Charlie Poole
2008-07-21 00:28:45 UTC
Permalink
Hi All,

I've been doing some playing with this feature and finding
that it gets me in trouble. I wonder if it should really
be in there at all.

Maybe we should only use TestCaseFactories that are
explicitly named on the test method. Allowing NUnit to
go hunt for TestCaseFactories with a signature that
matches the test method is cool, but may be risky.

What do you think? Is there an overriding need for this
feature or could do without it?

BTW, if we don't support UseCompatibleFactories, then
we don't need TestCaseFactoryAttribute either, since
it's only used when hunting for factories by signature.

Charlie



-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/

Loading...