Sha256: dabfc49d4f578375c6651794e1f596fa65efe485b52ee3aeeec006a9faf6c9fc
Contents?: true
Size: 1.15 KB
Versions: 3
Compression:
Stored size: 1.15 KB
Contents
@process Feature: simulate-failed-check command line As a systems administrator I should be able to use simulate-failed-check From the command line Background: Given a file named "simulate-failed-check.toml" with: """ [redis] db = 14 driver = "ruby" """ Scenario: Running with --help shows usage information When I run `bundle exec bin/flapjack simulate --help` Then the exit status should be 0 And the output should contain "Simulates a check by creating a stream of events for Flapjack" And the output should contain "-k arg|--check arg" Scenario: Running simulate-failed-check with no arguments exits uncleanly and shows usage When I run `bundle exec bin/flapjack simulate` Then the exit status should not be 0 And the output should contain "Simulates a check by creating a stream of events for Flapjack" Scenario: Simulate a failed check When I run `bundle exec bin/flapjack -c tmp/cucumber_cli/simulate-failed-check.toml simulate fail -t 0.05 -i 0.05 -k 'test:PING'` Then the exit status should be 0 And the output should contain "sending failure event" And the output should contain "stopping"
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
flapjack-2.0.0 | features/cli_simulate-failed-check.feature |
flapjack-2.0.0rc1 | features/cli_simulate-failed-check.feature |
flapjack-2.0.0b1 | features/cli_simulate-failed-check.feature |