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

Stateful testing exception output is difficult to read #567

Closed
iamdefinitelyahuman opened this issue May 28, 2020 · 0 comments · Fixed by #591
Closed

Stateful testing exception output is difficult to read #567

iamdefinitelyahuman opened this issue May 28, 2020 · 0 comments · Fixed by #591
Labels
enhancement New feature or request

Comments

@iamdefinitelyahuman
Copy link
Member

iamdefinitelyahuman commented May 28, 2020

When hypothesis fails a stateful test with MultipleFailures, each failing example includes:

  • a set of rules that caused the fail
  • a very long traceback
  • a source highlight

None of this output receives any code highlighting.

It would be nice if:

  • the set of rules were highlighted in one color, probably red? to be easy to find
  • the traceback were trimmed in the same way as normal pytest tracebacks (skipping all the brownie internals),
  • the source highlight had typical code highlights
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant