Skip to main content

Executing features in parallel using SpecFlow+ Runner

Answered

Comments

9 comments

  • Andreas Willich

    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
  • Alexander Turdzeladze

    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
  • Alexander Turdzeladze

    What is need is [assembly: Parallelize(Scope = ExecutionScope.ClassLevel)] but for SpecFlow+ Runner

    -1
  • Andreas Willich

    What configuration do you have in your srProfile?

    0
  • Alexander Turdzeladze

    <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
  • Vanshaj Dhar

    I am facing the same issue

    Andreas Willich can you please put your precious suggestion on it.

    Thanks

    Vanshaj Dhar

    0
  • Vanshaj Dhar

    Alexander Turdzeladze 

    Were you able to resolve it? if yes can you please share the answer

    Thanks

    0
  • Alexander Turdzeladze

    Vanshaj Dhar

    Sadly no, I decided to go with MSTest runner, but I really prefer SpecRunner

    0
  • 陈 俊杰

    Andreas Willich

    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.

Powered by Zendesk