Sha256: a870508c0f63d0f2fedf6df3084348bed4e647ffe7104a2ad8342b597dfc91ba

Contents?: true

Size: 1.12 KB

Versions: 11

Compression:

Stored size: 1.12 KB

Contents

#!/usr/bin/env cucumber

# ./bin/nake -T
# ./bin/nake --verbose -T
# ./examples/flags.rb --verbose
Feature: Running bin/nake
  Scenario: Running bin/nake without any arguments
    When I run "./bin/nake"
    Then it should fail with "You have to specify a task you want to run!"

  Scenario: Running bin/nake with a file, but without any arguments
    When I run "./bin/nake examples/task_arguments.rb"
    Then it should fail with "You have to specify a task you want to run!"

  Scenario: Running bin/nake with a task
    When I run "./bin/nake examples/task_arguments.rb greet"
    Then it should succeed with "Hi botanicus"

  Scenario: Running bin/nake with a task and arguments
    When I run "./bin/nake examples/task_arguments.rb greet Jakub"
    Then it should succeed with "Hi Jakub"

  Scenario: Running task file with shebang to nake with a task
    When I run "./examples/task_arguments.rb greet Jakub"
    Then it should succeed with "Hi Jakub"

  Scenario: Scenario: Running task file with shebang to nake with a task and arguments
    When I run "./examples/task_arguments.rb greet Jakub"
    Then it should succeed with "Hi Jakub"

Version data entries

11 entries across 11 versions & 2 rubygems

Version Path
nake-0.1.1 features/executable.feature
nake-0.1 features/executable.feature
nake-0.0.9.5 features/executable.feature
nake-0.0.9.4 features/executable.feature
nake-0.0.9.3 features/executable.feature
nake-0.0.9.2 features/executable.feature
nake-0.0.9.pre features/executable.feature
do_riak-0.10.1.pre gems/gems/nake-0.0.8/features/executable.feature
nake-0.0.8.pre features/executable.feature
nake-0.0.8 features/executable.feature
nake-0.0.7 features/executable.feature