Skip to main content

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

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)

Uploaded Source

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

Hashes for pytest_boost_xml-1.0.tar.gz
Algorithm Hash digest
SHA256 ce008cdd62dfb17e53fb4b296487df0da2a0cfef13f4773935781e4f6bde7e6e
MD5 845f594d5a50e5463d3011a7f4b35f6e
BLAKE2b-256 2361441a22b436481b537b85c6fc8eefe71c4e08b34bf35d79939b4955be6d6d

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

1.0

Supported by

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