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

Consider backtrace for wrapped expectations #1307

Closed
hadley opened this issue Jan 21, 2021 · 0 comments · Fixed by #1330
Closed

Consider backtrace for wrapped expectations #1307

hadley opened this issue Jan 21, 2021 · 0 comments · Fixed by #1330
Labels
expectation 🙀 feature a feature request or enhancement

Comments

@hadley
Copy link
Member

hadley commented Jan 21, 2021

e.g. pins includes a function that package authors can use to test that their pins class follows the specification. But because (IIRC) the expectations are not in the tests/ directory, it's hard to figure out what test has failed. In this case it would be nice for failed expectations to include a back trace so that you can track back to exactly what went wrong.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
expectation 🙀 feature a feature request or enhancement
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant