Sha256: 45804d21646652d437d54884961c5422793898255fadd9058a1e2ba1082cbd10

Contents?: true

Size: 775 Bytes

Versions: 10

Compression:

Stored size: 775 Bytes

Contents

@search
Feature: Github API Commands Search

  As a developer who wants to search for commands that leverage GitHub APIs
  When I use interface provided by GHC
  I have ability to list commands by search criteria

  Scenario: Listing
    When I run `ghc list`
    Then the exit status should be 0
    And the output should contain:
    """
    Github CLI client

    Commands:
    """

  Scenario Outline: Pattern Matching
    When I run `ghc list <pattern>`
    Then the output should contain "repo"
    And the output should not contain "issue"

    Examples:
      | pattern |
      | re      |
      | repo    |

  Scenario: No Match
    When I run `ghc list bla`
    Then the output should contain:
    """
    ghc: 'bla' is not a ghc command. See 'ghc --help'.
    """

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
github_cli-0.4.2 features/search_commands.feature
github_cli-0.4.1 features/search_commands.feature
github_cli-0.4.0 features/search.feature
github_cli-0.3.1 features/search.feature
github_cli-0.3.0 features/search.feature
github_cli-0.2.1 features/search.feature
github_cli-0.2.0 features/search.feature
github_cli-0.1.3 features/search.feature
github_cli-0.1.2 features/search.feature
github_cli-0.1.1 features/search.feature