-
Notifications
You must be signed in to change notification settings - Fork 71
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
Allow cropping or suppressing printed docstrings on steps #56
Comments
Right now, no. I'll keep this open as a reminder to implement the ability to withhold printing docstrings or limit their length. 😄 |
Thanks for the quick response @bbqsrc :) |
If anybody wants to take on this issue, I'd be happy to mentor! |
@ilslv could you clarify here how this works now? |
@tyranron |
@ilslv should we support docstrings outputting as opt-in? Maybe some kind of |
@tyranron I would argue that docstrings are useful as diagnostics (as shown in this issue) or for more verbose explanation, which I'm not sure is useful as part of output. And most importantly, we'll need a way to show 1 set of cli options, if |
@ilslv let's move this question to a separate dedicated issue then. |
I have a
.feature
file which uses docstrings in steps pretty extensively. When tests run, the entire docstring is printed out alongside the step names. I'd rather not see that, since that immediately adds ~1600 lies to my test output, making it quite noisy. Is there any way to silence that?For example:
prints this when the test is run:
The text was updated successfully, but these errors were encountered: