-
Notifications
You must be signed in to change notification settings - Fork 2
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
classical BDD interface compatibility support #4
Comments
Note: there is a same issue in rspec-given. |
proposal 1: BDD interface
if a setup needs to tear down, put it in proposal 2: new clause
proposal 3: tell Given to clean up// change this
Given server: -> Server.listen()
// to this
Given server:
setup: -> App.listen()
teardown: -> @server.close()
Questionwhat if |
this commit is a experimental solution to issue #4 each `Cleanup` is ensured to be executed no matter previous clauses pass or fail.
Now Some thoughts:
|
Given/When/Then doesn't cover the functionality that
after
covers.For example,
The text was updated successfully, but these errors were encountered: