Skip to content

Conversation

@229max
Copy link
Contributor

@229max 229max commented Jun 29, 2022

Context

add caplog for failed cases with pytest-bdd

#667

Checklist

@229max 229max changed the title fix no log for failed cases pytest-bdd fix no log for failed cases pytest-bdd (fixes #667) Jun 29, 2022
@229max 229max force-pushed the fix-pytest-bdd-no-failed-log branch from d2dc35b to d667553 Compare June 29, 2022 07:38
Copy link
Contributor

@delatrie delatrie left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this needs to be implemented more in align with allure-pytest, i.e.:

  1. Attach not only caplog, but capstdout and capstderr as well.
  2. Attach always, not only on failures.

Also, the test is needed.

@delatrie
Copy link
Contributor

Implemented in #801

@delatrie delatrie closed this Mar 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants