Plugin for pytest to generate boost xml reports
Project description
This plugin generates report in the boost format, containing informations about passed assertions and extra information messages.
Installation
Install with pip:
pip install pytest-boost-xml
Uninstalling
Uninstall with pip:
pip uninstall pytest-boost-xml
Usage
pytest.ini file must be configured with pytest_assertion_pass hook activated:
[pytest] enable_assertion_pass_hook=true
pytest command line parameters are:
pytest --boost_xml=path_to_reports [--boost_xml_filename=report_file_name] [--boost_xml_report_title=report_title]
with:
report_file_name: base name for generated files. Default is ‘boostReport’
report_title: title of generated report files. Default is ‘’
An actual pytest call like:
pytest --boost_xml=reports --boost_xml_filename=campaign --boost_xml_report_title=my_project
would produce reports like:
reports | |---- campaign_Log.xml | |---- campaign_Summary.xml | |---- campaign.html
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
pytest_boost_xml-1.0.tar.gz
(15.5 kB
view details)
File details
Details for the file pytest_boost_xml-1.0.tar.gz
.
File metadata
- Download URL: pytest_boost_xml-1.0.tar.gz
- Upload date:
- Size: 15.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ce008cdd62dfb17e53fb4b296487df0da2a0cfef13f4773935781e4f6bde7e6e |
|
MD5 | 845f594d5a50e5463d3011a7f4b35f6e |
|
BLAKE2b-256 | 2361441a22b436481b537b85c6fc8eefe71c4e08b34bf35d79939b4955be6d6d |