Sha256: 229abad0c142ce646d722938886fd8813e099567123c5d763158117b86f755f0

Contents?: true

Size: 871 Bytes

Versions: 3

Compression:

Stored size: 871 Bytes

Contents

@process
Feature: Flapper command line
  As a systems administrator
  I should be able to manage flapper
  From the command line

  Background:
    Given a file named "flapjack_cfg.toml" with:
"""
pid_dir = "tmp/cucumber_cli/"
log_dir = "tmp/cucumber_cli/"
[redis]
  db = 14
[processor]
  enabled = true
  [processor.logger]
    level = "warn"
"""

  Scenario: Running with --help shows usage information
    When I run `bundle exec bin/flapjack --config tmp/cucumber_cli/flapjack_cfg.toml flapper --help`
    Then the exit status should be 0
    And  the output should contain "Artificial service that oscillates up and down"
    And  the output should contain "-b, --bind-ip=arg"

  Scenario: Starting flapper
    When I start flapper (via bundle exec) with `flapjack --config tmp/cucumber_cli/flapjack_cfg.toml flapper`
    Then flapper should start within 15 seconds

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
flapjack-2.0.0 features/cli_flapper.feature
flapjack-2.0.0rc1 features/cli_flapper.feature
flapjack-2.0.0b1 features/cli_flapper.feature