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 details)

Uploaded Source

File details

Details for the file behave_cucumber_formatter-1.0.1.tar.gz.

File metadata

File hashes

Hashes for behave_cucumber_formatter-1.0.1.tar.gz
Algorithm Hash digest
SHA256 c74ea2f4560a0b774e8eeb3802d577c59786047ab60d379241aa58cca6dd7046
MD5 43485768ea234f8ec167b2c0ec106946
BLAKE2b-256 e848a625c6988bdead7e99e1065ff42dfab51ab6fc81744d381ede9a284a8439

See more details on using hashes here.

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