Skip to content
This repository
Browse code

Pulled first batch of features from wiki, added pending steps

  • Loading branch information...
commit 1120cb6ae889a7711b601b2f716801de93119aa3 1 parent bb48663
Andrew Stewart stewart authored
31 features/step_definitions/gitnesse_steps.rb
... ... @@ -0,0 +1,31 @@
  1 +Given /^there is a git wiki with cucumber features defined$/ do
  2 + pending # express the regexp above with the code you wish you had
  3 +end
  4 +
  5 +Given /^there is a code repo without any cucumber features defined$/ do
  6 + pending # express the regexp above with the code you wish you had
  7 +end
  8 +
  9 +When /^developer pulls feature stories from the wiki$/ do
  10 + pending # express the regexp above with the code you wish you had
  11 +end
  12 +
  13 +Then /^the feature stories within the code should match the wiki$/ do
  14 + pending # express the regexp above with the code you wish you had
  15 +end
  16 +
  17 +Given /^there is a git wiki without any cucumber features defined$/ do
  18 + pending # express the regexp above with the code you wish you had
  19 +end
  20 +
  21 +Given /^there is a code repo with cucumber features defined$/ do
  22 + pending # express the regexp above with the code you wish you had
  23 +end
  24 +
  25 +When /^developer pushes feature stories to the wiki$/ do
  26 + pending # express the regexp above with the code you wish you had
  27 +end
  28 +
  29 +Then /^the the feature stories within the code should match the wiki$/ do
  30 + pending # express the regexp above with the code you wish you had
  31 +end
25 features/sync_wiki_features_to_code.feature
... ... @@ -0,0 +1,25 @@
  1 +Feature:
  2 + In order to build software that provides the best fitting solution to a user problem
  3 + As a developer
  4 + I want to be able to test feature stories in my code
  5 + And also store the feature stories in a wiki so users can easily view or edit them
  6 +
  7 + Background:
  8 + Given there is a git wiki with cucumber features defined
  9 + And there is a code repo without any cucumber features defined
  10 +
  11 + Scenario: Features already exist in wiki but not in code
  12 + When developer pulls feature stories from the wiki
  13 + Then the feature stories within the code should match the wiki
  14 +
  15 + Scenario: Features already exist in code but not in wiki
  16 + When developer pushes feature stories to the wiki
  17 + Then the the feature stories within the code should match the wiki
  18 +
  19 + Scenario: Features pushes features from code to existing wiki
  20 + When developer pushes feature stories to the wiki
  21 + Then the the feature stories within the code should match the wiki
  22 +
  23 + Scenario: Features pulls features from wiki to existing code
  24 + When developer pulls feature stories from the wiki
  25 + Then the the feature stories within the code should match the wiki

0 comments on commit 1120cb6

Please sign in to comment.
Something went wrong with that request. Please try again.