1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
|
Feature: Help Formatter
As a tester
I want to know which formatter are supported
To be able to select one.
Scenario:
Given a new working directory
When I run "behave --format=help"
Then it should pass
And the command output should contain:
"""
Available formatters:
json JSON dump of test run
json.pretty JSON dump of test run (human readable)
null Provides formatter that does not output anything.
plain Very basic formatter with maximum compatibility
pretty Standard colourised pretty formatter
progress Shows dotted progress for each executed scenario.
progress2 Shows dotted progress for each executed step.
progress3 Shows detailed progress for each step of a scenario.
rerun Emits scenario file locations of failing scenarios
sphinx.steps Generate sphinx-based documentation for step definitions.
steps Shows step definitions (step implementations).
steps.catalog Shows non-technical documentation for step definitions.
steps.doc Shows documentation for step definitions.
steps.usage Shows how step definitions are used by steps.
tags Shows tags (and how often they are used).
tags.location Shows tags and the location where they are used.
"""
|