xunit-retry icon indicating copy to clipboard operation
xunit-retry copied to clipboard

Missing SetTestClassParallelize in XunitTestGeneratorProvider

Open rizviews opened this issue 7 years ago • 0 comments

As per the latest update, https://github.com/techtalk/SpecFlow/commits/master/TechTalk.SpecFlow.Generator/UnitTestProvider/IUnitTestGeneratorProvider.cs got a new method called SetTestClassParallelize. Need to implement this method in XUnitTestGeneratorProvider.cs inside XunitRetry.Generator.SpecflowPlugin.

Otherwise, it's throwing an error reading SetTestClassParallelize is not implemented whenever I tried to use retry attribute in my Specflow feature file.

I have created a branch where I have implemented the method as below:

public void SetTestClassParallelize(TestClassGenerationContext generationContext)
        {
            //doing nothing
        }

PR created here: https://github.com/giggio/xunit-retry/pull/5

rizviews avatar Jan 05 '18 05:01 rizviews