Method: Cucumber::Glue::Dsl#After
- Defined in:
- lib/cucumber/glue/dsl.rb
#After(*tag_expressions, name: nil, &proc) ⇒ Object
Registers a proc that will run after each Scenario. You can register as many as you want (typically from ruby scripts under support/hooks.rb).
70 71 72 |
# File 'lib/cucumber/glue/dsl.rb', line 70 def After(*tag_expressions, name: nil, &proc) Dsl.register_rb_hook('after', tag_expressions, proc, name: name) end |