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

How can I print() of steps in behave html report #27

Open
swatantra15081986 opened this issue Oct 31, 2021 · 1 comment
Open

How can I print() of steps in behave html report #27

swatantra15081986 opened this issue Oct 31, 2021 · 1 comment
Labels
question Further information is requested

Comments

@swatantra15081986
Copy link

@bittner

@jenisys
Copy link
Member

jenisys commented Dec 12, 2021

I assume you want to see the output of any print() statements in a step implementation function in the HTML report that is generated by the behave-html-formatter?

Just try it out (it works).
Captured output from:

  • Any print() statement that occurs before the first failing assert statement
  • Any log-record (that is not explicitly filtered-out)

is shown under the failing step in the report

image

@jenisys jenisys added the question Further information is requested label Dec 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Development

No branches or pull requests

2 participants