Please sign in to comment.
Acceptance tests for cucumber integration.
- Loading branch information...
Showing with 70 additions and 0 deletions.
|@@ -0,0 +1,14 @@|
|+Feature: Example feature|
|+ As a conscientious developer who writes features|
|+ I want to be able to see my features passing on the CI Server|
|+ So that I can bask in the glow of a green bar|
|+ Scenario: Conscientious developer|
|+ Given that I am a conscientious developer|
|+ And I write cucumber features|
|+ Then I should see a green bar|
|+ Scenario: Lazy hacker|
|+ Given that I am a lazy hacker|
|+ And I don't bother writing cucumber features|
|+ Then I should be fired|
|@@ -0,0 +1,20 @@|
|+Given /^that I am a conscientious developer$/ do|
|+Given /^I write cucumber features$/ do|
|+Then /^I should see a green bar$/ do|
|+Given /^that I am a lazy hacker$/ do|
|+Given /^I don't bother writing cucumber features$/ do|
|+ false.should be_true|
|+Then /^I should be fired$/ do|