Executing features in parallel using SpecFlow+ Runner
AnsweredHello
Is it possible to run test features in parallel using SpecFlow+ Runner, it is running only scenarios, I found instructions for other runners, but not for SpecFlow+ Runner
-
Yes, the SpecFlow+ Runner can run multiple feature files in parallel. Some documentation about it is here: https://docs.specflow.org/projects/specflow-runner/en/latest/Usage/Parallel-Execution-Features.html
0 -
Thank you for your answer, I tried it, but it is not for me, if scenarios from same feature file are executed in parallel, they have a conflict and will fail, so I want features to run in parallel and scenarios from each feature in sequence
0 -
What is need is [assembly: Parallelize(Scope = ExecutionScope.ClassLevel)] but for SpecFlow+ Runner
-1 -
What configuration do you have in your srProfile?
0 -
<Execution stopAfterFailures="0" retryFor="None" retryCount="0" testThreadCount="5" testSchedulingMode="Adaptive" />
<Environment testThreadIsolation="AppDomain" apartmentState="Unknown" />for apartmentState I tried all options
for testThreadIsolation tried AppDomain and Process
1 -
I am facing the same issue
Andreas Willich can you please put your precious suggestion on it.
Thanks
Vanshaj Dhar
0 -
Were you able to resolve it? if yes can you please share the answer
Thanks
0 -
Sadly no, I decided to go with MSTest runner, but I really prefer SpecRunner
0 -
Hi Andreas,
Do we have any timeline to support the Feature-level parallel execution in SpecRun? Thank you.
If not, can we make that request and put it in the development backlog?
I really like the SpecRun report and don't want to switch to MsTest.
Regards,
Jason
0
Please sign in to leave a comment.
Comments
9 comments