Search code examples
unit-testingparallel-processingmbunitgallio

MbUnit.framework.dll Parallelizable attribute


the reference in my project was intially MbUnit.dll this was fine and allowed me to use [Parallelizable] attribute, but to use [ForEachTest()], [DataFixture()] and [XmlDataProvider()] i need to use MbUnit.Framework.dll instead, however adding this reference to the project seems to remove the ability to use the [Parallelizable] attribute.

is there a way around this to use the benefits of both?

Thanks


Solution

  • [Parallelizable] is an MbUnit v3 feature. It cannot be combined with MbUnit v2 features.

    Instead of using [ForEachTest], [DataFixture], and [XmlDataProvider] from MbUnit v2, you should use the new data-driven testing features of MbUnit v3.

    More information here.