To add a collaborator to this project you will need to use the Relish gem to add the collaborator via a terminal command. Soon you'll be able to also add collaborators here!
More about adding a collaboratorEnvironment Hooks
Cucumber provides a number of hooks which allow you to
configure the environment for your application. By
default hooks are run for each scenario, but you can use
tagged hooks if you want more fine grained control.
- Scenarios
-
- Before and After
- Around
- Around fires around other hooks
- Tagged hook with matching scenario tag
- Tagged hook without matching scenario tag
- Tagged hook with untagged scenario
- Untagged hook with tagged scenario
- Before and After
-
- Given
- a passing before hook
- And
- a passing after hook
- When
- Cucumber executes a scenario
- Then
- the before hook is fired before the scenario
- And
- the after hook is fired after the scenario
- Around
-
- Given
- a passing around hook
- When
- Cucumber executes a scenario
- Then
- the around hook fires around the scenario
- Around fires around other hooks
-
- Given
- a passing around hook
- And
- a passing before hook
- And
- a passing after hook
- When
- Cucumber executes a scenario
- Then
- the around hook is fired around the other hooks
- Tagged hook with matching scenario tag
-
- Given
- a hook tagged with "@foo"
- When
- Cucumber executes a scenario tagged with "@foo"
- Then
- the hook is fired
- Tagged hook without matching scenario tag
-
- Given
- a hook tagged with "@foo"
- When
- Cucumber executes a scenario tagged with "@bar"
- Then
- the hook is not fired
- Tagged hook with untagged scenario
-
- Given
- a hook tagged with "@foo"
- When
- Cucumber executes a scenario with no tags
- Then
- the hook is not fired
- Untagged hook with tagged scenario
-
- Given
- an untagged hook
- When
- Cucumber executes a scenario tagged with "@bar"
- Then
- the hook is fired
Last published over 5 years ago by jbpros.