A formatter for behave's outputs using Cucumber
Output is similar to behave --format json.pretty
- Formatter from
https://docs.getxray.app/display/XRAY/Testing+using+Behave+in+Python
- Inspiration from
https://github.com/iljabauer/behave-teamcity
pip install behave-cucumber-formatter
behave --format behave_cucumber_formatter:PrettyCucumberJSONFormatter
Or with an .ini
file:
# -- FILE: behave.ini
[behave.formatters]
cucumber = behave_cucumber_formatter:PrettyCucumberJSONFormatter
and use the shorthand:
behave --format cucumber
pip uninstall behave-cucumber-formatter