-
Notifications
You must be signed in to change notification settings - Fork 68
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
Global before/after #7
Comments
Just put the code before and after the context/describe block... |
What happens when you have multiple contexts? On 28.12.2011, at 12:14, Christian [email protected] wrote:
|
They are run in order... I see, you only want to define the blocks once. Let me think about it. |
This is my current monkey-patch:
|
I appreciate the minimalism of bacon, but there should be a possibility to supply before/after blocks that get executed for every context.
Useful for ensuring database changes by previous contexts are rolled back before new contexts are run.
The text was updated successfully, but these errors were encountered: