Hi,

We are in the middle of moving from MBUnit v2 to v3, and we have the
following scenario:

[Factory("GetProviders")]
public IProvider m_providers;

public static IEnumerable<IProvider> GetProviders()
{
  yield return new ImplementedProvider();
  ...
}

[Test]
public void DoSomething()
{
    ...
}


The problem is, that the method GetProviders is invoked BEFORE the
assembly fixture setup is called.
The code inside the GetProviders method is dependent on that setup.

Are we doing something wrong here? This wasn't like that in MBUnit v2
(of course a lot have changed...)

Thanks!!!

-- 
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?hl=en.

Reply via email to