Sha256: 414ae8bda77e9fd6cf3bfd6c832fc61c31cceb76a3ca8640517faa3d2b7a0af7

Contents?: true

Size: 1.05 KB

Versions: 2

Compression:

Stored size: 1.05 KB

Contents

Feature: Basics
  Scenario: No arguments should show help
    When I run `hobo`
    Then the output should contain "Usage:"

  Scenario: -v should show version
    When I run `hobo -v`
    Then the output should contain "Hobo version"

  Scenario: --version should show version
    When I run `hobo --version`
    Then the output should contain "Hobo version"

  Scenario: An invalid command should fail gracefully
    When I run `hobo jibberjabber`
    Then the output should contain "Invalid command or option"
    And the exit status should be 4

  Scenario: An invalid option should fail gracefully
    When I run `hobo --jibberjabber`
    Then the output should contain "Invalid command or option"
    And the exit status should be 4

  Scenario: --debug should display backtraces
    When I run `hobo jibberjabber --debug`
    Then the output should contain "Hobo::InvalidCommandOrOpt"

  Scenario: --non-interactive should cause default options to be used
    When I run `hobo test non-interactive --non-interactive`
    Then the output should contain "Used defaults"

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
hobo-inviqa-0.0.3 features/hobo/basic.feature
hobo-inviqa-0.0.2 features/hobo/basic.feature