Sha256: b608065584e0f13f76e6dd048f6b377274702736b84d68d227c023c034a13196

Contents?: true

Size: 1.71 KB

Versions: 1

Compression:

Stored size: 1.71 KB

Contents

Feature: List repos for a given language

  As a GitHub user
  I want to see what projects another user has created in a given language
  In order to see what software they've written

  Scenario: List repositories in a given language
    Given the GitHub service returns repository data for the user "mdippery"
    When I run `reponaut mdippery VimL`
    Then it should pass with:
      """
      nginx.vim -> vim-scripts/nginx.vim
      Smyck-Color-Scheme -> hukl/Smyck-Color-Scheme
      vimfiles
      """

  Scenario: List repositories in a given language, ignoring case
    Given the GitHub service returns repository data for the user "mdippery"
    When I run `reponaut mdippery viml`
    Then it should pass with:
      """
      nginx.vim -> vim-scripts/nginx.vim
      Smyck-Color-Scheme -> hukl/Smyck-Color-Scheme
      vimfiles
      """

  Scenario: List repositories in a given language, excluding forks
    Given the GitHub service returns repository data for the user "mdippery"
    When I run `reponaut -f mdippery VimL`
    Then it should pass with:
      """
      vimfiles
      """

  Scenario: List repositories in a given language with no results
    Given the GitHub service returns repository data for the user "mdippery"
    When I run `reponaut mdippery C++`
    Then the exit status should not be 0
    And the output should contain:
      """
      mdippery has no repositories written in C++
      """

  Scenario: List repositories in a given language with counts
    Given the GitHub service returns repository data for the user "mdippery"
    When I run `reponaut -c mdippery ruby`
    Then the exit status should not be 0
    And stderr should contain:
      """
      Cannot pass -c when filtering by language
      """

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
reponaut-1.2.0 features/list.feature