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

JUnit integration sometimes reports hook failures in the wrong place #92

Open
joebandenburg opened this issue Mar 22, 2016 · 2 comments

Comments

@joebandenburg
Copy link
Member

Need more details to investigate this. @philostler @phillcunnington Can you provide any more details?

@philostler
Copy link

An image speaks a thousand words, I'll screen grab when I encounter this next. In summary though, if you have a long list of #when blocks, each with a #before hook, a failure in one of those hooks appears under an unrelated when.

@joebandenburg
Copy link
Member Author

I just reproduced this myself this morning. It happens when there are tests run before the failing hook. The failing hook is then output nested under the last run when block.

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

No branches or pull requests

2 participants