문제

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

도움이 되었습니까?

해결책

[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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top