Sha256: d85344f6c8354561ae101ba4c89512dfba3527457708c4fdc199feed21798577

Contents?: true

Size: 1.14 KB

Versions: 7

Compression:

Stored size: 1.14 KB

Contents

Feature: Running cucumber without explicitly running external services
  In order to reduce learning cost of using culerity
  As a rails developer
  I want the headless browser and rails processes to launch and shutdown automatically

  Background:
    Given a Rails app
      And I run executable "script/generate" with arguments "cucumber"
      And I delete file "features/step_definitions/webrat_steps.rb"
      And I delete file "features/support/env.rb"
      And culerity is installed as a plugin
      And I invoke task "rake db:migrate"
    When I run executable "script/generate" with arguments "culerity"
      And I setup load path to local code
      And I setup the culerity javascript helpers
  
  Scenario: Successfully run scenarios without requiring celerity or rails processes running
    When I add a feature file to test Rails index.html default file
      And I run executable "cucumber" with arguments "features/"
    Then file "tmp/culerity_rails_server.pid" is not created
      And I should see "1 scenario"
      And I should see "5 steps (5 passed)"
      And I should see "WARNING: Speed up execution by running 'rake culerity:rails:start'"

Version data entries

7 entries across 7 versions & 2 rubygems

Version Path
culerity-0.2.10 features/running_cucumber_without_explicitly_running_external_services.feature
fletcherm-culerity-0.2.9 features/running_cucumber_without_explicitly_running_external_services.feature
culerity-0.2.9 features/running_cucumber_without_explicitly_running_external_services.feature
fletcherm-culerity-0.2.8 features/running_cucumber_without_explicitly_running_external_services.feature
culerity-0.2.8 features/running_cucumber_without_explicitly_running_external_services.feature
fletcherm-culerity-0.2.7 features/running_cucumber_without_explicitly_running_external_services.feature
culerity-0.2.7 features/running_cucumber_without_explicitly_running_external_services.feature