finds.dev← search

// the find

samuelcolvin/pytest-pretty

★ 476 · Python · MIT · updated Jun 2025

pytest plugin for pretty printing the test summary.

A pytest plugin that replaces the default test summary with Rich-formatted output: a table of failures showing both test line and error line numbers, real-time failure notifications during the run, and a cleaner overall summary. It's a drop-in quality-of-life improvement for anyone who finds pytest's default output hard to scan. From the author of Pydantic, so the code quality baseline is high.

The failure table is the standout feature — showing test line number and error line number side-by-side saves real time when navigating a large test suite with multiple failures. Real-time one-line failure notifications during the run mean you don't have to wait for the full run to finish before knowing what broke. Minimal dependency surface: just Rich and pytest. The GitHub Actions column-width tip in the README is a small but genuinely useful detail that most plugin authors skip.

476 stars and 9 forks after what appears to be years of existence suggests the Python community hasn't found this indispensable — pytest-sugar covers similar ground and has an order of magnitude more adoption. The plugin is effectively one file; there's almost no configuration exposed, so if the opinionated output style doesn't match your preferences you're stuck. No support for pytest-xdist parallel runs is mentioned, which is a common enough setup that the omission stings. The `pytester_pretty` fixture documentation is thin — one paragraph — which will frustrate anyone trying to test a plugin that depends on this one.

View on GitHub →

// want more like this?

We dig through GitHub every week and send a few repos picked for what you actually care about — each with an honest take like this one.

Get finds in your inbox → Search again →