SpecFlowOSS / SpecFlow

#1 .NET BDD Framework. SpecFlow automates your testing & works with your existing code. Find Bugs before they happen. Behavior Driven Development helps developers, testers, and business representatives to get a better understanding of their collaboration
https://www.specflow.org/
Other
2.24k stars 754 forks source link

Enable parallel execution support for MsTest V2 #988

Closed SabotageAndi closed 6 years ago

SabotageAndi commented 6 years ago

Currently we support MsTest V2 with our existing generator, which was written vor MsTest V1. MsTest V2 now supports parallelization.

To support this https://github.com/techtalk/SpecFlow/blob/master/TechTalk.SpecFlow.Generator/UnitTestProvider/MsTestGeneratorProvider.cs#L32 has to return UnitTestGeneratorTraits.ParallelExecution.

Simply changing it, is not possible, because then we generate not the correct code for MsTest V1.

We need a new TestGeneratorProvider for MsTest V2. This could be done like the Xunit providers.

Blackbaud-ChrisKessel commented 6 years ago

@SabotageAndi submitted PR 'Enable parallel execution support for MsTest V2 988 #997' for this, not sure how to link PR with issues yet.

SabotageAndi commented 6 years ago

You have to mention it. What you did. ;-)

Blackbaud-ChrisKessel commented 6 years ago

@SabotageAndi moved this to PR #996 since we just added the new MsTestV2 provider. Hope it doesn't mess anything up.

SabotageAndi commented 6 years ago

Ok, so one PR for both changes. I am fine with this. Please close then #997 with a comment. Thanks!

SabotageAndi commented 6 years ago

Implemented with PR https://github.com/techtalk/SpecFlow/pull/996

lock[bot] commented 5 years ago

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.