pytest-bdd 5.0.0: error on generating report with failed tests with scenario outlines
See original GitHub issueI’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
- pytest-bdd 5.0.0
- run scenario outlines with examples which fails
- 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
Issue Analytics
- State:
- Created 2 years ago
- Reactions:2
- Comments:12
Top Results From Across the Web
Welcome to Pytest-BDD's documentation! - Read the Docs
The significant downside of combining scenario outline and pytest parametrization approach was an inability to see the test table from the feature file....
Read more >Pytest-BDD Documentation - Read the Docs
Refuse combining scenario outline and pytest parametrization ... 5.0.0 ... It's important to have nice reporting out of your bdd tests.
Read more >pytest-bdd - PyPI
pytest -bdd implements a subset of Gherkin language for the automation of the project requirements testing and easier behavioral driven development.
Read more >Generate allure report using pytest-bdd not showing anything
This issue occurs when you have all of your features with Scenario Outlines(Using Example Table) instead of Scenarios.
Read more >Plugin List — pytest documentation
name summary last release status requi...
pytest‑accept A pytest‑plugin for updating doctest outputs Jan 07, 2022 N/A pytes...
pytest‑addons‑test 用于测试pytest的插件 Aug 02, 2021 N/A pytes...
pytest‑aio...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I have workaround for this issue. Following code should be placed in
conftest.py
:I’ve come across the same issue, it fails to generate the report even for successful tests when using
Scenario Outline
.