Sha256: 314d0cccf2b2708df02c158a3ad323dcd3f31895bc814783d2064678eeaf199e

Contents?: true

Size: 1.46 KB

Versions: 2

Compression:

Stored size: 1.46 KB

Contents

@executable
Feature: The GHC Executable

  As a developer who wants to interact with GitHub API v3
  When I use interface provided by GHC
  I have access to command line interface

  Scenario Outline: Getting Help for Commands

    When I run `ghc <cmd>`
    Then the exit status should be 0
    And the output should contain:
    """
      ghc help <command>
    """
    Examples:
      | cmd  |
      |      |
      | help |

  Scenario: Getting Usage for Commands

    When I run `ghc`
    Then the exit status should be 0
    And the output should contain "Usage: ghc"
      And the output should contain "[--config]"
      And the output should contain "[--no-color]"
      And the output should contain "[--no-pager]"
      And the output should contain "[--version]"
      And the output should contain "[--verbose]"

  Scenario Outline: Getting Subcommands

    When I run `ghc <command>`
    Then the exit status should be 0
    And the output should contain "ghc <command>"

    Examples:
      | command   |
      | auth      |
      | blob      |
      | commit    |
      | download  |
      | email     |
      | event     |
      | follower  |
      | fork      |
      | gist      |
      | hook      |
      | issue     |
      | key       |
      | label     |
      | member    |
      | milestone |
      | org       |
      | pull      |
      | ref       |
      | repo      |
      | tag       |
      | team      |
      | tree      |
      | user      |
      | watch     |

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
github_cli-0.4.1 features/executable.feature
github_cli-0.4.0 features/executable.feature