github pytest-dev/pytest-bdd 5.0.0
Release 5.0.0

latest releases: 8.0.0, 8.0.0b2, publish-test-pypi...
3 years ago
  • Rewrite the logic to parse Examples for Scenario Outlines. Now the substitution of the examples is done during the parsing of Gherkin feature files. You won't need to define the steps twice like @given("there are <start> cucumbers") and @given(parsers.parse("there are {start} cucumbers")). The latter will be enough.
  • Removed example_converters from scenario(...) signature. You should now use just the converters parameter for given, when, then.
  • Removed --cucumberjson-expanded and --cucumber-json-expanded options. Now the JSON report is always expanded.
  • Removed --gherkin-terminal-reporter-expanded option. Now the terminal report is always expanded.

Don't miss a new pytest-bdd release

NewReleases is sending notifications on new releases.