[SpecFlow.xUnit] Add a possibility to parallelize tests per scenario by reassigning all test cases to a new collection
Hello,
I'm looking for the alternative for SpecFlow+ Runner for a while to parallelize specflow tests cases 'per scenario'. Yesterday, I've found this post on a blog:
https://www.meziantou.net/parallelize-test-cases-execution-in-xunit.htm
I've tried to add a Nuget package mentioned in a text, but I've got an error Duplicate 'Xunit.TestFramework' attribute.
Would that be possible to implement such feature the way described in this post in SpecFlow.xUnit? Even as experimental feature. As far as I know this 'hack' is planned to be implemented in XUnit 3.0, but it is still in early stage.
-
I've dug into this as well. It seems all we'd have to do is copy this class into the specflow xUnit plugin and make this line use it instead of the built-in test class runner.
1
Please sign in to leave a comment.
Comments
1 comment