Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

There is no log for failed cases with allure-pytest-bdd #667

Closed
1 task
229max opened this issue Jun 29, 2022 · 2 comments · Fixed by #801
Closed
1 task

There is no log for failed cases with allure-pytest-bdd #667

229max opened this issue Jun 29, 2022 · 2 comments · Fixed by #801
Labels
task:new feature Requesting new capability or software feature theme:pytest-bdd

Comments

@229max
Copy link
Contributor

229max commented Jun 29, 2022

I'm submitting a ...

  • bug report

What is the current behavior?

for pytest-bdd, the allure-pytest-bdd can't see the log for failed cases

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

What is the expected behavior?

there should be log attachment for the failed cases.

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

Please tell us about your environment:

  • pytest 6.2.5 pytest: simple powerful testing with Python
  • pytest-bdd 4.1.0 BDD for pytest
  • allure-pytest-bdd 2.9.45 Allure pytest-bdd integration
  • allure-python-commons 2.9.45 Common module for integrate allure with python-based frameworks
@delatrie delatrie added theme:pytest-bdd bug Something isn't working labels Dec 2, 2022
@delatrie delatrie added task:new feature Requesting new capability or software feature and removed bug Something isn't working labels Jan 19, 2023
@delatrie
Copy link
Contributor

This is a missing feature. Allure-pytest-bdd doesn't automatically attach anything right now. We should probably refer to allure-pytest while implementing this i.e., attach stdout, stderr and logs always, regardless of test result status.

See my feedback on your PR (and thank you for it, btw!)

@delatrie delatrie linked a pull request Mar 25, 2024 that will close this issue
2 tasks
@delatrie
Copy link
Contributor

Implemented in allure-behave 2.13.4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
task:new feature Requesting new capability or software feature theme:pytest-bdd
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants