A pytest-bdd plugin for generating useful and informative BDD test reports
Project description
The pytest-bdd-report plugin is a useful extension for the pytest-bdd library that allows you to generate useful and informative reports for BDD (Behavior-Driven Development) tests developed using the pytest-bdd framework. This plugin facilitates the generation of clear and effective HTML reports, providing a comprehensible view of BDD test executions within the project.
This pytest plugin was generated with Cookiecutter along with @hackebrot’s cookiecutter-pytest-plugin template.
Features
Detailed BDD Reports: The pytest-bdd-report plugin enables the generation of detailed reports for BDD tests executed using pytest-bdd. These reports clearly show the executed steps, tested scenarios, and obtained results.
HTML Format: The generated reports are presented in an intuitive and interactive HTML format. This allows developers, testers, and other team members to easily view the status of BDD tests.
Easy Installation: Installing the plugin is simple and fast. You can install it using the command pip install pytest-bdd-report.
Requirements
TODO
Installation
Ensure that you have pytest and pytest-bdd installed in your development environment.
Open a terminal window.
Execute the following command to install the pytest-bdd-report plugin via pip from PyPI
$ pip install pytest-bdd-report
Usage
Once the plugin is installed, you can generate BDD reports in an HTML file using the command
$ pytest --bdd-report="report.html"
In alternative you can save only the raw tests informations in a JSON file using the command
$ pytest --bdd-json
Contributing
Contributions are very welcome. Tests can be run with pytest, please ensure the coverage at least stays the same before you submit a pull request.
License
Distributed under the terms of the MIT license, “pytest-bdd-report” is free and open source software
Issues
If you encounter any problems, please file an issue along with a detailed description.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pytest_bdd_report-1.0.0.tar.gz.
File metadata
- Download URL: pytest_bdd_report-1.0.0.tar.gz
- Upload date:
- Size: 19.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0d7b5fb659a4656c269700328e3b80fa0c721e2e15ec97801917d3723e61e8a4
|
|
| MD5 |
294594f837b811589e2fd56535ecc534
|
|
| BLAKE2b-256 |
4f0d0e364b2f6b16b2c710bf885ba3cde1edcbb70fc7e1d5fc5c8e30e6bc9450
|
File details
Details for the file pytest_bdd_report-1.0.0-py3-none-any.whl.
File metadata
- Download URL: pytest_bdd_report-1.0.0-py3-none-any.whl
- Upload date:
- Size: 29.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5c3b92e625bfd06feee3fc4a9aa7bfb84829d7c85ea62edd2b2cc6ec4395e8b0
|
|
| MD5 |
aa7e3c414206cce32aeab4f182e7f55f
|
|
| BLAKE2b-256 |
3a038ef446c0450ef08dc06fe8034fd0d03909d5480f72f4e6381260523e7dcc
|