pytest plugin to display BDD info in HTML test report
Project description
Version: 0.1.9a0
A pytest plugin to display BDD info in the pytest-html-generated HTML test report.
Depends on pytest-bdd and pytest-html.
To use it, just install it. There will be a new 3rd column with label “Description”.
Options
Available command line options:
--bdd-html-css=PATH: specify a path to a custom CSS file for styling of the Description column (pytest_bdd_html/resources/style.css is the default)
CSS classes
Structure of cell for BDD test
.col-description .col-description-bdd-doc /* Feature */ div h3 .text div /* feature name */ div /* feature description; optional */ /* Scenario */ div h3 .text /* Steps */ div h3 .steps .step /* one or more steps */ .step-name .step-message
Structure of cell for non-BDD test with functional comment
.col-description .col-description-func-doc
Structure of cell for non-BDD test without functional comment
.col-description .col-description-no-doc /* an empty div */
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
File details
Details for the file pytest-bdd-html-0.1.9a0.tar.gz
.
File metadata
- Download URL: pytest-bdd-html-0.1.9a0.tar.gz
- Upload date:
- Size: 5.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 05853f6078ec7e9bbe87b3f72fb9f96095d47a3420ed3bb3be63e786c0113c2a |
|
MD5 | 02bf893d7711bf5a6380a42b325c0903 |
|
BLAKE2b-256 | 8e3f6d348940995123d81b8d11f67e28ea7cc5e2df735cc49caf4595c5583881 |
File details
Details for the file pytest_bdd_html-0.1.9a0-py3-none-any.whl
.
File metadata
- Download URL: pytest_bdd_html-0.1.9a0-py3-none-any.whl
- Upload date:
- Size: 6.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b10b66ad437758114acd37557b3907b6df66b70b62c69531f8c1ab4faf9c166d |
|
MD5 | f8874dea89ceaf4c27837d1f0dbffd7d |
|
BLAKE2b-256 | c412c6173e66f774fb0930ec1d55d573b4c408901bdccce37afa2c8c114e3a6f |