I have a test solution using Specflow, selenium, NUnit running in parallel
added this in AssemblyInfo:
[assembly: Parallelizable(ParallelScope.Fixtures)]
everything ran nicely in parallel, but now I added a feature with a couple of scenarios that are not compatible with all the rest. So I'd like for them to run in separate.
Is there anyway to do this?
NOTE: I know about "[NonParallelizable]" I just don't know how to apply it since I'm using specflow.
You should be able to decorate the specific tests that you want to exclude from parallel runs with either [NonParallelizable] or the equivalent [Parallelizable(ParallelScope.None)].
See the docs
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With