Skip to main content

Cucumber JSON formatter for pipeline tests

Project description

Cucumber Behave Formatter 🥒

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

Installation

pip install behave-cucumber-formatter

Usage

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 

Un-Installation

pip uninstall behave-cucumber-formatter

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

behave_cucumber_formatter-1.0.1.tar.gz (4.4 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page