Skip to content

pytest-bdd 5.0.0: error on generating report with failed tests with scenario outlines #636

@sqandrew

Description

@sqandrew

I'm submitting a ...

  • [V] bug report
  • [V] feature request

What is the current behavior?

report doesn't include failed tests with scenario outline (pytest-bdd 5.0.0)
it fails with
com.fasterxml.jackson.databind.exc.MismatchedInputException: Cannot deserialize instance of java.lang.String out of START_OBJECT token

If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem

  1. pytest-bdd 5.0.0
  2. run scenario outlines with examples which fails
  3. generate report

What is the expected behavior?

failed tests appears in report

Please tell us about your environment:

  • Test framework: pytest-bdd@5.0.0
  • Allure adaptor: allure-pytest-bdd@2.9.45 (and other lower versions)

Other information

it worked OK with previous pytest-bdd versions

pytest-bdd 5.0.0 changes https://pytest-bdd.readthedocs.io/en/latest/#id1

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions