Skip to main content

pytest plugin for printing summary data as I want it

Project description

pytest-pretty

CI pypi versions license

Opinionated pytest plugin to make output slightly easier to read and errors easy to find and fix.

This plugin is inspired by pytest-sugar

pytest-pretty's only dependencies are rich and pytest itself.

Realtime error summary

One-line info on which test has failed while tests are running:

Realtime Error Summary

Table of failures

A rich table of failures with both test line number and error line number:

Table of Failures

This is extremely useful for navigating to failed tests without having to scroll through the entire test output.

Prettier Summary of a Test Run

Including time taken for the test run:

Test Run Summary

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_pretty-1.tar.gz (5.3 kB view details)

Uploaded Source

Built Distribution

pytest_pretty-1-py3-none-any.whl (4.9 kB view details)

Uploaded Python 3

File details

Details for the file pytest_pretty-1.tar.gz.

File metadata

  • Download URL: pytest_pretty-1.tar.gz
  • Upload date:
  • Size: 5.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.9

File hashes

Hashes for pytest_pretty-1.tar.gz
Algorithm Hash digest
SHA256 09cec4e1c3b6264ffc85deb330827bd5ec799787081558c17fafb2cc540a7dba
MD5 8c189e241b8317b00c7e5ab286d1ec04
BLAKE2b-256 34c71079021591573a2b9bf182b9146b0d5c6e8cbee1832ec54112d8229ab5fb

See more details on using hashes here.

File details

Details for the file pytest_pretty-1-py3-none-any.whl.

File metadata

  • Download URL: pytest_pretty-1-py3-none-any.whl
  • Upload date:
  • Size: 4.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.9

File hashes

Hashes for pytest_pretty-1-py3-none-any.whl
Algorithm Hash digest
SHA256 c7db1cb7b79a967b7e23e342975b1e268bd89327b308b6c4a6ba52e891011ddb
MD5 0af41e6fde8d8d36d742ee1e1925147b
BLAKE2b-256 ab336adfb7d06de9d1dfd12e84047692d95c42d78c54c8e8581c7cf24f2cd4ef

See more details on using hashes here.

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