Reputation: 1772
Im using VS2012 + Resharper. I created NUnit test projest (NUnit 3.0.1) and added Parallelizable attribute for all test classes. It works in parallel way but only when started for all classes. When it's started for one class, it runs test one-by-one. Im staring tests from Visual Studio's Resharper window.
How to run a few tests from one class in parallel way?
Upvotes: 2
Views: 865
Reputation: 6062
As of NUnit 3.0 (including 3.0.1) individual tests are not yet parallelizable. The lowest level of parallelization is currently between TestFixtures.
If you are using Parallelizable.Children
- this currently has the same functionality as Parallelizable.Fixtures
. Allowing individual tests to be run in parallel is planned for future releases, at which point Parallelizable.Children
will be the attribute you want, I believe.
This is documented here.
Upvotes: 1