SpecFlow & SpecFlow+ 3.7 are published!

What is new?

We were finally able to fix a major bug that happens during parallel execution of scenarios and was a problem for a lot of users. Parallel execution on feature-level (one scenario of multiple features is running in parallel) should work now without problems. If you have still one, please create an issue on GitHub.

A big Thank You to all our amazing contributors!

As always this release would not be possible without you.

Here is a list of all the contributors to SpecFlow since the previous release:

Detailed Changelog

SpecFlow

Fixes:

  • Thread-safe object resolution in BoDi
  • Automatically include TechTalk.SpecFlow.MSTest.SpecFlowPlugin.dll as a deployment item for MSTest V2 https://github.com/SpecFlowOSS/SpecFlow/issues/2076
  • Before Feature hooks should not be executed when the feature is ignored https://github.com/SpecFlowOSS/SpecFlow/issues/2234
  • Cleanup scenario context even after an AfterScenario hook error
  • Load RuntimePlugins to the same AssemblyLoadContext
  • Capture hook errors and call plugin hooks after hook error

Changes:

  • Ignore tag handling: generate test framework specific ignore attributes

SpecFlow+ Runner

Features:

  • Support for SpecFlow 3.7

Fixes:

  • Generate temp files with Guid in the name https://github.com/SpecFlowOSS/SpecFlow/issues/2294

SpecFlow+ LivingDoc

Features:

  • Support for SpecFlow 3.7

Fixes:

  • Fixed an issue with xUnit that the TestExecution.json was generated in the wrong folder

SpecFlow.ExternalData

Features:

  • Support for SpecFlow 3.7