1
0
Fork 0
mirror of https://github.com/capistrano/capistrano synced 2023-03-27 23:21:18 -04:00
capistrano/features/deploy_failure.feature

18 lines
513 B
Gherkin
Raw Normal View History

Feature: Deploy failure
Background:
Given a test app with the default configuration
And a custom task that will simulate a failure
And a custom task to run in the event of a failure
And servers with the roles app and web
Scenario: Triggering the custom task
When I run cap "deploy:starting"
But an error is raised
Then the failure task will not run
Scenario: Triggering the custom task
When I run cap "deploy"
But an error is raised
Then the failure task will run