NUnit v3 alpha: trying to get parallel tests to work -
I am trying to get parallel test to work in NUnit v3, however, this does not seem like in tests is.
Considering the following test classes:
Namespace NUITELFA 3 Experimental {[TestFeacions] [ParallelScope children]] Class Dummy Tests [[Test] Public Zero Muscovites () {Assert.IsTrue (true); File IO.appendToFile ("output.txt", Reflexion.GetCurrentMethodName ()); } [Test] Public Zero Mustafel () {Thread. Sleep (500); File IO.appendToFile ("output.txt", Reflexion.GetCurrentMethodName ()); Assert.IsFalse (true); }}} Every time I run my test, "Mustafel" is always output before "Mustache", "MustSuccess" should be output first, if tests run in parallel Maybe there is something wrong with my properties. I do not know.
Please help please.
EDIT: I added / workers = 8 for my command line: [...] \ NUnit3 \ nunit-console NUnitAlpha3Experimental.exe /framework:net-4.5-workers = 8 But still, My tests do not move in parallel.
More info here:
From NUnit's author, parallel trial cases are still Not implemented until Parallel test is applied to the factor.
Comments
Post a Comment