Sha256: a92b728f8b041ef40ad5f3bf8117c57ada6b59a8b6daf4604b631288c50c6574

Contents?: true

Size: 828 Bytes

Versions: 3

Compression:

Stored size: 828 Bytes

Contents

@process
Feature: command line utility
  As a systems administrator
  I should be able to manage Flapjack
  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 server --help`
    Then the exit status should be 0
    And  the output should contain "Server for running components"
    And  the output should contain "flapjack [global options] server"

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

Version data entries

3 entries across 3 versions & 1 rubygems

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