Closed SabotageAndi closed 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.
You have to mention it. What you did. ;-)
@SabotageAndi moved this to PR #996 since we just added the new MsTestV2 provider. Hope it doesn't mess anything up.
Ok, so one PR for both changes. I am fine with this. Please close then #997 with a comment. Thanks!
Implemented with PR https://github.com/techtalk/SpecFlow/pull/996
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.
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.