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

Errors in Before / After hooks are not reported by the formatters #722

Closed
mattwynne opened this issue Aug 25, 2014 · 4 comments
Closed

Errors in Before / After hooks are not reported by the formatters #722

mattwynne opened this issue Aug 25, 2014 · 4 comments
Labels
🐛 bug Defect / Bug

Comments

@mattwynne
Copy link
Member

When I try cucumber 2.0.0.beta.1 out on Relish's tests, there are two failing hooks: one before hook and one after hook. Neither exception is reported. I've had to hack in begin...rescue blocks into lib/cucumber/mappings.rb to see the exceptions.

First priority is to make sure these exceptions get printed. Second priority is to get the location for these hooks right, so you know where to look.

@mattwynne mattwynne added this to the 2.0 milestone Aug 25, 2014
@mattwynne mattwynne added the Bug label Aug 25, 2014
@mattwynne
Copy link
Member Author

See #567. I'll try to make a better test case for this specific problem I'm seeing.

@mattwynne
Copy link
Member Author

f0ce241 fixes Before hooks, now we need to give after hooks the same treatment.

@mattwynne
Copy link
Member Author

I've added #723 to cover after hooks.

@lock
Copy link

lock bot commented Oct 25, 2018

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators Oct 25, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
🐛 bug Defect / Bug
Projects
None yet
Development

No branches or pull requests

1 participant