Reputation: 11
I want to run tests in parallel on class/feature level, my tests are running on scenario/method level, tried to change settings in srprofile, but didn't help. I tried the same project with MSTest runner and works fine, can't figure out what to do with SpecRun.
What I want is [assembly: Parallelize(Scope = ExecutionScope.ClassLevel, Workers = 5)]
for SpecRun
Here are my srprofile settings
<Execution stopAfterFailures="0" retryFor="None" retryCount="0" testThreadCount="5" testSchedulingMode="Adaptive" />
<Environment testThreadIsolation="AppDomain" apartmentState="Unknown" />
Upvotes: 1
Views: 150
Reputation: 395
It is not possible to run tests parallelly on Feature/Class level using SpecRunner.
Feature parallel test execution is supported by:
source:
SpecFlow Documentation
Upvotes: 0