Skip to main content

A pytest plugin to make a test results report with Markdown table format.

Project description

Summary

PyPI package version Supported Python versions Supported Python implementations Linux/macOS CI status Windows CI status

A pytest plugin to make a test results report with Markdown table format.

Installation

pip install pytest-md-report

Usage

$ pytest --md-report
output_example

Output example

Available options

make test results report with markdown table format:
  --md-report           create markdown report.
  --md-report-verbose=VERBOSITY_LEVEL
                        verbosity level for pytest-md-report. if not set, using
                        verbosity level of pytest.
  --md-report-color={auto,never}
                        auto: diplay colorizing report for terminal with ANSI
                        escape codes. never: diplay report without color.
                        defaults to 'auto'.

ini-options

[pytest] ini-options in the first pytest.ini|tox.ini|setup.cfg file found:

md_report (bool):     create markdown report.
md_report_verbose (string):
                      verbosity level for pytest-md-report. if not set, using
                      verbosity level of pytest.
md_report_color (string):
                      auto: diplay colorizing report for terminal with ANSI
                      escape codes. never: diplay report without color.
                      defaults to 'auto'.

Example of setup.cfg:

[tool:pytest]
md_report = True
md_report_verbose = 0
md_report_color = auto

Dependencies

Python 3.5+

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pytest-md-report-0.0.2.tar.gz (7.0 kB view hashes)

Uploaded Source

Built Distribution

pytest_md_report-0.0.2-py3-none-any.whl (6.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page