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
Close
Hashes for pytest_bdd_html-0.1.9a0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b10b66ad437758114acd37557b3907b6df66b70b62c69531f8c1ab4faf9c166d |
|
MD5 | f8874dea89ceaf4c27837d1f0dbffd7d |
|
BLAKE2b-256 | c412c6173e66f774fb0930ec1d55d573b4c408901bdccce37afa2c8c114e3a6f |