Hmm, I am not sure I understand either, but... Would a TestSuiteFixture work?  I have used it to find all Types that are Exceptions and run a test on them.  Here is a link to an example: http://tinyurl.com/afceb.

On 2/14/06, Andrew Stopford <[EMAIL PROTECTED]> wrote:
Hi Marc,
 
Not sure what your trying here, I assume your scanning the assemblies out side of MbUnit, building stubs and testing against the stubs? Combintional Test and Factory will let you do a test thats a range test between values.
 
Andy
 
On 2/13/06, Marc <[EMAIL PROTECTED]> wrote:

I want to scan my assembly for all classes that claim to implement a
particular interface or base class, and run a set of tests on an
instance of each of those classes.

I was hoping that the TypeFixture ProviderFactory would give me a way
to do this. However (despite the examples leading me on by using
IEnumerable :-)  it seems that I must write a separate method for each
instance I want to provide to the tests.

What I am looking for is something more like the Factory methods of
CombinatorialTests, which return a list of items, each item in the list
becoming a test. I may in fact end up using the Combinatorial Test for
this.

Any ideas?

Thanks, Marc





--
Jay Flowers
----------------------------------------------------------------------
http://jayflowers.com
---------------------------------------------------------------------

Reply via email to