Skip to main content

Turns folder of gherkin feature files into a docx file.

Project description

Feature reporter

"Feature reporter" comes from the need to provide MS Word reports to customer.

It aims to pretty print a set of plain text .feature files into one shareable document.

Optionally, it adds the last automated execution of these scenarios.

Please note! This package heavily relies on the Behave package in order to process feature file and execution results format.

Installation

pip install eaiscenarioreporter

Usage

From a python shell

from featurereporter import ExportUtilities

my_export = ExportUtilities()

my_export.feature_repository = "path/to/the/feature/files/folder"

my_export.create_application_documentation()

# Create the demo.docx document in the current folder.

From the command line

GUI (experimental)

You can start the reporter's GUI using the following command :

python3 -m featurereporter

CLI

Feature reporter can be called directly from the command line.

# Display help
> python3 -m featurereporter -h

usage: featurereporter.py [-h] [--tag TAG] [--title TITLE] [--repository REPOSITORY] [--output OUTPUT] [--execution EXECUTION] [--license]

optional arguments:
  -h, --help            show this help message and exit
  --tag TAG             Invariant pointing to a user story
  --title TITLE         The document's title
  --repository REPOSITORY
                        The folder where the feature files are
  --output OUTPUT
  --execution EXECUTION
                        Behave plain test output in order to also print the last execution result
  --license             Display the license.

python3 -m featurereporter --repository path/to/the/feature/files/folder

Disclaimer

This tool is still under development. There is currently no arguments control nor formal tests.

I use it in my daily work to produce report.

Please contact me for any concern.

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

eaiscenarioreporter-0.0.15.tar.gz (8.2 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

eaiscenarioreporter-0.0.15-py3-none-any.whl (8.2 MB view details)

Uploaded Python 3

File details

Details for the file eaiscenarioreporter-0.0.15.tar.gz.

File metadata

  • Download URL: eaiscenarioreporter-0.0.15.tar.gz
  • Upload date:
  • Size: 8.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.0 importlib_metadata/4.0.1 packaging/20.9 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.3

File hashes

Hashes for eaiscenarioreporter-0.0.15.tar.gz
Algorithm Hash digest
SHA256 8e4ae0d0cba65540aeb715a050926a3e0f1647f387164222b82d4422789bb4db
MD5 791c1b250e5d99695fb7c5d53725bf5f
BLAKE2b-256 d4986eeed58c49eb8442cc9486dbafa59940a60cb74532000800a37092fbeb21

See more details on using hashes here.

File details

Details for the file eaiscenarioreporter-0.0.15-py3-none-any.whl.

File metadata

  • Download URL: eaiscenarioreporter-0.0.15-py3-none-any.whl
  • Upload date:
  • Size: 8.2 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.0 importlib_metadata/4.0.1 packaging/20.9 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.3

File hashes

Hashes for eaiscenarioreporter-0.0.15-py3-none-any.whl
Algorithm Hash digest
SHA256 df20d451969675ffb03a479e08b939e7d90e6638481b4c8ab5cac253b7b7d3c8
MD5 77ac95f1816b8b90a23ab6b8d459f988
BLAKE2b-256 b097df7807dce8cbcbd3073b7a02ac54c953d43e2bb78246f04d928910adfb7b

See more details on using hashes here.

Supported by

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