New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Parallel execution of test scenarios within a feature with NUnit 3 #894
Comments
#657 could be related. |
Could it be related to #884 ? Do you have a project where we can reproduce this issue? |
@SabotageAndi I faced the same issue today. Here is a sample project that can be used to reproduce the issue: NUnitExample.zip |
@SabotageAndi Indeed. The issue is the same as #884. Although the original description of #884 is not correct because the issue will not reproduce with single thread and will reproduce even if the number of threads more than number of tests. |
Faced with the same issue: |
It's still happening with the latest version of NUnit and SpecFlow. |
@SabotageAndi not yet, unfortunately. |
Just to add, it's still happening with SpecFlow 2.3.2 and NUnit 3.10.1. Cheers. |
Just to add, it's still happening with SpecFlow 2.4.1 and NUnit 3.11.0. |
Any plans to fix it? |
I don't have it on my work list. |
Background
I am working on a test solution that utilizes a combination of NUnit v3.7.1 and SpecFlow v2.2.0.
NUnit 3 now supports running test cases within a fixture in parallel with each other by setting ParallelScope to Children on an assembly level.
Tests are run in a single AppDomain.
Problem
This seems to kill scenario context injection with following errors:
Issue appears to occur when constructing ScenarioContext.
Note
Tests from different features are running in parallel with each other just fine when ParallelScope is set to Fixtures.
The text was updated successfully, but these errors were encountered: