Sha256: 8b21e1050ff54c49d682288c115878741fd95e0fceb3e1ca7d8203f91cd803fc

Contents?: true

Size: 845 Bytes

Versions: 10

Compression:

Stored size: 845 Bytes

Contents

Feature: Get help

  As a Redditor
  I want to be able to list help information for usaidwat
  In order to learn how to use it
  
  Scenario: Pass no arguments
    Given the Reddit service returns comments for the user "mipadi"
    When I run `usaidwat`
    Then the exit status should be 0
    And stdout should contain:
      """
      Usage:

        usaidwat <command> [options] <args>
      """

  Scenario: List usage details
    When I run `usaidwat --help`
    Then the exit status should be 0
    And stdout should contain:
      """
      Usage:

        usaidwat <command> [options] <args>
      """
  
  Scenario: Get version
    When I run `usaidwat --version`
    Then the exit status should be 0
    And stderr should not contain anything
    And the output should match:
      """
      usaidwat [0-9]+\.[0-9]+\.[0-9]+
      """

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
usaidwat-1.6.1 features/help.feature
usaidwat-1.6.0 features/help.feature
usaidwat-1.5.1 features/help.feature
usaidwat-1.5.0 features/help.feature
usaidwat-1.4.5 features/help.feature
usaidwat-1.4.4 features/help.feature
usaidwat-1.4.3 features/help.feature
usaidwat-1.4.2 features/help.feature
usaidwat-1.4.1 features/help.feature
usaidwat-1.4.0 features/help.feature