Sha256: 297159e104352ed0dcfb3e38eb9d687f05d6a757c820f0f02c04afb144508f65

Contents?: true

Size: 1.68 KB

Versions: 1

Compression:

Stored size: 1.68 KB

Contents

Feature: Getting Help

  Scenario: General help
    When I run `shuhari help`
    Then the output should contain:
      """
      Commands:
        shuhari help [COMMAND]  # Describe available commands or one specific command
        shuhari new [NAME]      # Create a new Kata project
      """

  Scenario: General help inside a project
    Given a file named "shuhari.yml" with:
      """
      project_name: FizzBuzz
      test_framework: rspec
      """
    When I run `shuhari help`
    Then the output should contain:
      """
      Commands:
        shuhari empty           # Restart the Kata with empty mind and project
        shuhari help [COMMAND]  # Describe available commands or one specific command
      """

  Scenario: Help about the "new" task
    When I run `shuhari help new`
    Then the output should contain:
      """
      Usage:
        shuhari new [NAME]

      Options:
        -r, [--rspec]          # Test using RSpec
                               # Default: true
        -m, [--minitest]       # Test using Minitest::Unit
        -s, [--minitest-spec]  # Test using Minitest::Spec
        -t, [--testunit]       # Test using Test::Unit
        -c, [--cucumber]       # Test using Cucumber
        -g, [--gemset]         # Create .rvmrc to use a gemset
                               # Default: true

      Create a new Kata project
      """

  Scenario: Help about the "empty" task
    Given a file named "shuhari.yml" with:
      """
      project_name: FizzBuzz
      test_framework: rspec
      """
    When I run `shuhari help empty`
    Then the output should contain:
      """
      Usage:
        shuhari empty

      Restart the Kata with empty mind and project
      """

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
shuhari-0.1.1 features/getting_help.feature