dotnet-test-nunit
dotnet-test-nunit copied to clipboard
Cannot set LevelOfParallelism
I am using 3.4.0-beta-2 and cannot seem to change the Number Of test Workers. I added this to my AssemblyInfo.cs and reran dotnet test, but it is still reporting as 3.
[assembly: LevelOfParallelism(1)]
Run Settings
WorkDirectory: C:\repos\alliances
NumberOfTestWorkers: 3
There is no parallelism in the PCL version of the NUnit framework because we don't have threading in Portable. This should be fixed when we release a netstandard version, hopefully next month.
I am not sure why it is reporting 3 for the workers, that is probably a bug. I expect it is one.
It is recording as three because that is the number of CPUs I have.
On Wednesday, August 10, 2016, Rob Prouse [email protected] wrote:
There is no parallelism in the PCL version of the NUnit framework because we don't have threading in Portable. This should be fixed when we release a netstandard version, hopefully next month.
I am not sure why it is reporting 3 for the workers, that is probably a bug. I expect it is one.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/nunit/dotnet-test-nunit/issues/70#issuecomment-238991951, or mute the thread https://github.com/notifications/unsubscribe-auth/AB63ivUbV_XKgiYRc3CietZfKLD7lengks5qejMkgaJpZM4Jhcl4 .