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

Add ability to suppress display of crumbs #166

Open
alerque opened this issue Oct 11, 2019 · 0 comments
Open

Add ability to suppress display of crumbs #166

alerque opened this issue Oct 11, 2019 · 0 comments

Comments

@alerque
Copy link
Member

alerque commented Oct 11, 2019

In my research for this issue on Busted, the direct cause of the output is the decisions by this library to always output crumbs if they exist. For example in my specific case with the table formatter, this bit of code only considers whether the function exists (hard coded directly above) and whether crumbs exist. If they do, it outputs them.

There should be some way to run assert statements such as assert.same() with an extra argument or after setting some configuration value to suppress the output of crumbs and just get the pass/fail status in return.

Note that referenced code almost certainly isn't the place to fix this, somewhere upstream those formatters are getting called and they should be disabled at the source to suppress even the "Actual/Expected" strings.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant