https://github.com/guard/guard
Revision ed70168cacb0b601a8600b44ea1672d8bd8488c9 authored by Rémy Coutable on 01 November 2019, 11:52:11 UTC, committed by GitHub on 01 November 2019, 11:52:11 UTC
Signed-off-by: Rémy Coutable <remy@rymai.me>
1 parent 7b9bb18
Raw File
Tip revision: ed70168cacb0b601a8600b44ea1672d8bd8488c9 authored by Rémy Coutable on 01 November 2019, 11:52:11 UTC
Bump to 2.16.1 (#945)
Tip revision: ed70168
show.feature
Feature: Show

  In order to know the defined groups and plugins
  As a developer using Guard
  I want to see a table of groups and plugins

  @in-process
  Scenario: Show error when no Guardfile
    When I run `guard show`
    Then the output should match /No Guardfile found, please create one with `guard init`\./
    And the exit status should not be 0

  @in-process
  Scenario: Show error when Guardfile has no plugins
    Given an empty file named "Guardfile"
    When I run `guard show`
    Then the output should match /No Guard plugins found in Guardfile, please add at least one\.$/
    # TODO: this step fails
    # And the exit status should not be 0

  @in-process
  Scenario: Show plugins and their configuration
    Given a file named "Guardfile" with:
    """
    guard :cucumber do
    end
    """
    When I run `guard show`
    Then the output should match /^\s+\| Default \| Cucumber\s+\|/
back to top