Sha256: 00d911be5985dabfe09dd212b4ac1917238ad761874524a031fa3997b14eaf2a

Contents?: true

Size: 788 Bytes

Versions: 13

Compression:

Stored size: 788 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 `gcli list`
    Then the exit status should be 0
    And the output should contain:
    """
    GitHub API v3 CLI client

    Commands:
    """

  Scenario Outline: Pattern Matching
    When I run `gcli 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 `gcli list bla`
    Then the output should contain:
    """
    gcli: 'bla' is not a gcli command. See 'gcli --help'.
    """

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
github_cli-0.6.2 features/search_commands.feature
github_cli-0.6.1 features/search_commands.feature
github_cli-0.6.0 features/search_commands.feature
github_cli-0.5.9 features/search_commands.feature
github_cli-0.5.8 features/search_commands.feature
github_cli-0.5.7 features/search_commands.feature
github_cli-0.5.6 features/search_commands.feature
github_cli-0.5.5 features/search_commands.feature
github_cli-0.5.4 features/search_commands.feature
github_cli-0.5.3 features/search_commands.feature
github_cli-0.5.2 features/search_commands.feature
github_cli-0.5.1 features/search_commands.feature
github_cli-0.5.0 features/search_commands.feature