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

Pretty test report formatting #324

Open
rickardenglund opened this issue Jun 30, 2020 · 1 comment
Open

Pretty test report formatting #324

rickardenglund opened this issue Jun 30, 2020 · 1 comment
Labels
🐛 bug Defect / Bug

Comments

@rickardenglund
Copy link

rickardenglund commented Jun 30, 2020

Please answer these questions before submitting a bug report.

What version of godog are you using?

> godog -version
 v0.10.0

What version of Go are you using?

> go version
1.14

What did you do?

Create a test case where a test step description is very long

What did you expect to see?

No blank lines in the formatted output

What did you see instead?

lots of blank lines in the formatted output
Screenshot 2020-06-30 at 13 00 43

Additional context

@rickardenglund rickardenglund added the 🐛 bug Defect / Bug label Jun 30, 2020
@JusticeN
Copy link

JusticeN commented Oct 6, 2021

@rickardenglund why did you pass long Params in the description instead of body. Like this.

Feature ...
Given the companies:
"""
Company 1
Company 2
...
"""
When ...
Then ...

Features have to be simple and easy readable by humans.

You can even save the Params in separate file and read it for execution

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 bug Defect / Bug
Projects
None yet
Development

No branches or pull requests

2 participants