1. David Krentzlin
  2. chickumber

Commits

David Krentzlin  committed e1c19c1

added feature for bug #3

  • Participants
  • Parent commits f8cb235
  • Branches default

Comments (0)

Files changed (1)

File features/framework_missbehave.feature

View file
+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