Skip to content

Datatables are not attached to BDD steps. #844

@theObserver1

Description

@theObserver1

I'm submitting a ...

  • feature request

What is the current behavior?

  • Data tables were recently added to Pytest-BDD but they are not supported in Pytest-BDD-Allure. That is, datatables attached to steps in the BDD feature file are not appearing in Allure.

Given the following users exist:
| name | email | twitter |
| Aslak | aslak@cucumber.io | @aslak_hellesoy |
| Julien | julien@cucumber.io | @jbpros |
| Matt | matt@cucumber.io | @mattwynne |

What is the expected behavior?

  • Allure-python should show data tables under the appropriate step similar to Allure-java.

What is the motivation / use case for changing the behavior?

  • Users are unable to validate failed tests as the data table containing the expected results are not attached to the step.

Please tell us about your environment:

  • Allure version: 2.32.0
  • Test framework: pytest-bdd@8.1.0
  • Allure adaptor: allure-pytest@2.13.5

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions