Repository navigation
support for scenario descriptions - #79
Merged
Merged
Conversation
…that the parser does not raise an exception if they are encountered
…e action_steps method
jenisys
added a commit
that referenced
this pull request
Apr 28, 2013
CHANGES:
* Add description attribute also to ScenarioOutline ctor.
* Move description parameter to end of Scenario/ScenarioOutline ctor.
=> Problem because parameter was already used by steps.
* Extend JsonFormatter to store Scenario/ScenarioOutline description.
* Extend json_parser to handle Scenario/ScenarioOutline description.
* Cleanup/refactor parser to avoid duplicated code fragments:
=> _build_*_statement()
=> subaction_detect_next_scenario() to avoid duplicated code fragments
=> action_next_scenario (tags and more...)
=> Add check that Background does not support tags.
=> ParseError: Add stripped line to exception message (better context).
Member
|
INTEGRATED INTO: behave-1.2.3a19 |
jenisys
added a commit
that referenced
this pull request
May 1, 2013
…ds, etc. Improve diagnostics when parse errors occur (parse failure oracle).
tokunbo
pushed a commit
to tokunbo/behave-parallel
that referenced
this pull request
Aug 28, 2013
CHANGES:
* Add description attribute also to ScenarioOutline ctor.
* Move description parameter to end of Scenario/ScenarioOutline ctor.
=> Problem because parameter was already used by steps.
* Extend JsonFormatter to store Scenario/ScenarioOutline description.
* Extend json_parser to handle Scenario/ScenarioOutline description.
* Cleanup/refactor parser to avoid duplicated code fragments:
=> _build_*_statement()
=> subaction_detect_next_scenario() to avoid duplicated code fragments
=> action_next_scenario (tags and more...)
=> Add check that Background does not support tags.
=> ParseError: Add stripped line to exception message (better context).
tokunbo
pushed a commit
to tokunbo/behave-parallel
that referenced
this pull request
Aug 28, 2013
…kgrounds, etc. Improve diagnostics when parse errors occur (parse failure oracle).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Hey all,
cucumber supports a description underneath a scenario.
For example
behaveversion 1.2.2 does not support this though, and raises an exception when it reaches the first line of the scenario description.For example
This pull request includes enhancements that will allow
behaveto read the description (to prevent parser errors) as well as store the description in a description field.For example