Sha256: 9e558d9787c8dcde417ddf911032423a1dee90b293a00e1953d25d0b4e7a5817

Contents?: true

Size: 1.52 KB

Versions: 14

Compression:

Stored size: 1.52 KB

Contents

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

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

  Scenario: --version should show version
    When I run `hem --version`
    Then the output should contain "Hem version"

  Scenario: An invalid command should fail gracefully
    When I run `hem 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 `hem --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 `hem jibberjabber --debug`
    Then the output should contain "Hem::InvalidCommandOrOpt"

  Scenario: --no-ansi should disable ansi output
    When I run `hem --no-ansi`
    Then the output should not contain "33m"

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

  Scenario: --all should list all tasks
    When I run `hem --all`
    Then the output should contain "hem-debug"

  Scenario: --skip-host-checks should skip host checks
    Given "test_files/vagrant_fail/" is appended to the PATH environment variable
    When I run `hem --skip-host-checks`
    Then the output should not contain "Hem has detected a problem"

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
hem-1.2.4 features/hem/basic.feature
hem-1.2.3 features/hem/basic.feature
hem-1.2.2 features/hem/basic.feature
hem-1.2.1 features/hem/basic.feature
hem-1.2.0 features/hem/basic.feature
hem-1.1.2 features/hem/basic.feature
hem-1.1.1 features/hem/basic.feature
hem-1.1.0 features/hem/basic.feature
hem-1.0.1.beta6 features/hem/basic.feature
hem-1.0.1.beta5 features/hem/basic.feature
hem-1.0.1.beta4 features/hem/basic.feature
hem-1.0.1.beta3 features/hem/basic.feature
hem-1.0.1.beta2 features/hem/basic.feature
hem-1.0.1.beta1 features/hem/basic.feature