Sha256: 81091b85081df77bb0dec6ed28ae038ab00a58697ad9c8a3e7d3164fb2cdc453
Contents?: true
Size: 1.1 KB
Versions: 1
Compression:
Stored size: 1.1 KB
Contents
@issue Feature: Issue #181: Escape apostrophes in undefined steps snippets . I have noticed that, for the following line in my features file: . . Then I'm redirected to http://www.example.com . . Behave outputs the following: . . @then(u'I'm redirected to http://www.example.com') . def step_impl(context): . assert False Scenario: Given a new working directory And an empty file named "features/steps/steps.py" And a file named "features/issue181_example.feature" with """ Feature: Scenario: Given I'm using an "undefined step" """ When I run "behave -f plain features/issue181_example.feature" Then it should fail with: """ 0 steps passed, 0 failed, 0 skipped, 1 undefined """ And the command output should contain: """ You can implement step definitions for undefined steps with these snippets: @given(u'I\'m using an "undefined step"') def step_impl(context): raise NotImplementedError(u'STEP: Given I\'m using an "undefined step"') """
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
busser-behave-0.1.3 | vendor/behave/issue.features/issue0181.feature |