Scenario-Level Parallelization #117
Replies: 9 comments 21 replies
-
Here is my brain dump regarding this:
As far as I know, @tzongithub did the last attempt to fix parallel issues, maybe he can add further notes. I would say that probably the strategy should be to pick a test runner (e.g. MsTest) and make a test in the SystemTests that reproduces the error (with a good probability). Once we see that, we can start analyzing and fixing it. |
Beta Was this translation helpful? Give feedback.
-
Back in 2019, I wrote a summary about parallel problems. I don't know how much that is relevant but here is the link: SpecFlowOSS/SpecFlow#1535 |
Beta Was this translation helpful? Give feedback.
-
Relevant: https://microsoft.github.io/coyote/ - a framework for concurrency-testing.
|
Beta Was this translation helpful? Give feedback.
-
@obligaron started a PR related to this: #119 |
Beta Was this translation helpful? Give feedback.
-
Duplicate topic: https://github.com/orgs/reqnroll/discussions/53 |
Beta Was this translation helpful? Give feedback.
-
Hi, I can see that an MSTest implementation is in the works but, if this helps with anything, this is what happens in NUnit. I'm mostly making this comment because MSTest, by default, creates an instance of the test class for each test method in that class, but for NUnit this behaviour needs to be explicitly opted into.
|
Beta Was this translation helpful? Give feedback.
-
I'm using the SpecFlow v3 now and have not used parallel. I want to upgrade to Reqnroll and use parallel. I plan to use MSUnit. I need to ensure that parallel is only at the feature level and not at the scenario level. Multiple features can run at the same time, but the scenarios within a feature must run in the order they are within the feature/file. If you make changes to allow scenario-level parallelization would you please ensure that they won't affect being able to to have parallel only at the feature level. |
Beta Was this translation helpful? Give feedback.
-
Hello, are there any updates/timeline for this feature to be added? My team's adoption of Reqnroll is highly dependent on scenario level parallelization being possible. |
Beta Was this translation helpful? Give feedback.
-
Hi @gasparnagy, thanks for rising PR. I forked this change and used in my Realtime project (Which is using MSTest provider + UI automation) and found two issues
|
Beta Was this translation helpful? Give feedback.
-
Scenario-level parallelization is something that's long been mentioned for SpecFlow and for Reqnroll has come up at least twice recently:
There's clearly a desire to run tests with scenario-level parallelization; I think this might be a solid feature to add, something with real benefits to encourage users to adopt Reqnroll.
Do we have any idea what it would actually take to enable this?
Beta Was this translation helpful? Give feedback.
All reactions