David Krentzlin avatar David Krentzlin committed e1c19c1

added feature for bug #3

Comments (0)

Files changed (1)

features/framework_missbehave.feature

+Feature: Support missbehave as a test-framework for stepdefs
+  In order to decrease my learning curve
+  As a developer
+  I want to be able to use chickumber with the missbehave-egg to specify my steps
+
+
+Background:
+  Given a standard Cucumber project directory structure
+  And a file named "features/wired.feature" with:
+  """
+  Feature: High strung
+    Scenario: Wired
+      Given we're all wired
+  """
+  And a file named "features/step_definitions/some_remote_place.wire" with:
+  """
+  host: localhost
+  port: 54321
+  """
+
+@wip @david @framework
+Scenario: Pending steps
+  Given a file named "features/step_definitions/pending.scm" with:
+  """
+  (Given #/we're all wired/ ()
+    (pending "later"))
+  """
+  And there is a wire server running on port 54321 with testframework "missbehave" and stepfiles "features/step_definitions/pending.scm"
+  When I run cucumber -f pretty -q
+  Then it should pass with
+  """
+  Feature: High strung
+    
+    Scenario: Wired
+      Given we're all wired
+        (Cucumber::Pending)
+        features/wired.feature:3:in `Given we're all wired`
+  """
+
+Scenario: Passing steps
+
+Scenario: Failing steps
+
+Scenario: Undefined steps
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.