Skip to main content

A pytest plugin that displays the names and information of the pytest hook functions as they are executed.

Project description

pytest-richtrace

A pytest plugin that dumps the stages of the pytest testing process to the terminal.

It uses rich to add formatting to the output.

Installation

Install using pip

pip install pytest_richtrace

Usage

To activate the plugin add the --rich-trace option to the pytest command line.

Sample output

Full test run

Quiet output

pytest --rich-trace -q
quiet output

Normal output

pytest --rich-trace
normal output

Verbose output

pytest --rich-trace --verbose
verbose output

--collect-only output

pytest --rich-trace --collect-only
--collect-only output

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_richtrace-0.2.1.tar.gz (14.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pytest_richtrace-0.2.1-py3-none-any.whl (17.6 kB view details)

Uploaded Python 3

File details

Details for the file pytest_richtrace-0.2.1.tar.gz.

File metadata

  • Download URL: pytest_richtrace-0.2.1.tar.gz
  • Upload date:
  • Size: 14.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.1 CPython/3.10.7 Linux/6.3.8-200.fc38.x86_64

File hashes

Hashes for pytest_richtrace-0.2.1.tar.gz
Algorithm Hash digest
SHA256 4fc6c8c4848e53d5de9cb30408fb8a7ccb7c1ab3a79982d7f7c6c555d80b8b63
MD5 9ce2629160659cf368d6ff6c639918b1
BLAKE2b-256 08356ebf113b56d49109e276a29ee9c9ed0d7fc63bca1586186e907d99efc414

See more details on using hashes here.

File details

Details for the file pytest_richtrace-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: pytest_richtrace-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 17.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.1 CPython/3.10.7 Linux/6.3.8-200.fc38.x86_64

File hashes

Hashes for pytest_richtrace-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 12ebfce6b26c68ffdd4533153b78855ea5828f14f14f5b2cc00160b0ea240cde
MD5 992dec679361d47def7243f0612fd366
BLAKE2b-256 d4f4008ac38427f823cf5e52211a64f7e45d5bcbf72db87506d696a4226a8ce5

See more details on using hashes here.

Supported by

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