I'm having some trouble getting my test fixture up and running. I've
included the basic structure below. When I attempt to run the tests I
get a TargetParameterCountException. I've seen a post or two about this
exception but no answers.

Anyone have an idea of what I may be doing wrong here?

Thanks!
Mike

[TypeFixture(typeof(ClassToTest))]
[ProviderFactory(typeof(InstanceFactory), typeof(ClassToTest))]
public class TestClass
{
    [Test]
    public void Test1(ClassToTest cls)
    {
        ...
    }
}

public class InstanceFactory
{
    [Factory(typeof(ClassToTest))]
    public IEnumerable GetInstancesToTest()
    {
        ...
    }
}


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"MbUnit.User" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/MbUnitUser
-~----------~----~----~----~------~----~------~--~---

Reply via email to