Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Pulled first batch of features from wiki, added pending steps

  • Loading branch information...
commit 1120cb6ae889a7711b601b2f716801de93119aa3 1 parent bb48663
@stewart stewart authored
View
31 features/step_definitions/gitnesse_steps.rb
@@ -0,0 +1,31 @@
+Given /^there is a git wiki with cucumber features defined$/ do
+ pending # express the regexp above with the code you wish you had
+end
+
+Given /^there is a code repo without any cucumber features defined$/ do
+ pending # express the regexp above with the code you wish you had
+end
+
+When /^developer pulls feature stories from the wiki$/ do
+ pending # express the regexp above with the code you wish you had
+end
+
+Then /^the feature stories within the code should match the wiki$/ do
+ pending # express the regexp above with the code you wish you had
+end
+
+Given /^there is a git wiki without any cucumber features defined$/ do
+ pending # express the regexp above with the code you wish you had
+end
+
+Given /^there is a code repo with cucumber features defined$/ do
+ pending # express the regexp above with the code you wish you had
+end
+
+When /^developer pushes feature stories to the wiki$/ do
+ pending # express the regexp above with the code you wish you had
+end
+
+Then /^the the feature stories within the code should match the wiki$/ do
+ pending # express the regexp above with the code you wish you had
+end
View
25 features/sync_wiki_features_to_code.feature
@@ -0,0 +1,25 @@
+Feature:
+ In order to build software that provides the best fitting solution to a user problem
+ As a developer
+ I want to be able to test feature stories in my code
+ And also store the feature stories in a wiki so users can easily view or edit them
+
+ Background:
+ Given there is a git wiki with cucumber features defined
+ And there is a code repo without any cucumber features defined
+
+ Scenario: Features already exist in wiki but not in code
+ When developer pulls feature stories from the wiki
+ Then the feature stories within the code should match the wiki
+
+ Scenario: Features already exist in code but not in wiki
+ When developer pushes feature stories to the wiki
+ Then the the feature stories within the code should match the wiki
+
+ Scenario: Features pushes features from code to existing wiki
+ When developer pushes feature stories to the wiki
+ Then the the feature stories within the code should match the wiki
+
+ Scenario: Features pulls features from wiki to existing code
+ When developer pulls feature stories from the wiki
+ Then the the feature stories within the code should match the wiki
Please sign in to comment.
Something went wrong with that request. Please try again.