Cucumber Features

Expand All

Collapse All

Feature: My bootstrapped app kinda works

In order to get going on coding my awesome app
I want to have aruba and cucumber setup
So I don't have to do it myself

features/filentory-cli.feature:6

Scenario: App just runs

  1. When I get help for "filentory-cli"
    methadone-1.3.1/lib/methadone/cucumber.rb:58
  2. Then the exit status should be 0
    aruba-0.5.4/lib/aruba/cucumber.rb:188
  3. And the banner should be present
    methadone-1.3.1/lib/methadone/cucumber.rb:78
  4. And there should be a one line summary of what the app does
    methadone-1.3.1/lib/methadone/cucumber.rb:109
  5. And the banner should document that this app takes options
    methadone-1.3.1/lib/methadone/cucumber.rb:82
  6. And the following options should be documented:
    methadone-1.3.1/lib/methadone/cucumber.rb:63
    --version
    --type
  7. And the banner should document that this app's arguments are:
    methadone-1.3.1/lib/methadone/cucumber.rb:87
    name
    path
    server
    optional
features/filentory-cli.feature:20

Scenario: App prints JSON

  1. When I run "filentory-cli" for the test data
    features/step_definitions/filentory-cli_steps.rb:2
  2. Then I should get JSON as output
    features/step_definitions/filentory-cli_steps.rb:6
  3. And the "name" should be "testrun"
    features/step_definitions/filentory-cli_steps.rb:12
  4. And the "type" should be "DVD"
    features/step_definitions/filentory-cli_steps.rb:12
  5. And there should be 4 entries in "files"
    features/step_definitions/filentory-cli_steps.rb:16
  6. And the first file should be placed in the root folder
    features/step_definitions/filentory-cli_steps.rb:20
  7. And the second file should be in the "folder"
    features/step_definitions/filentory-cli_steps.rb:27
  8. And the image file should have metadata
    features/step_definitions/filentory-cli_steps.rb:34
  9. And the video file should have metadata
    features/step_definitions/filentory-cli_steps.rb:43