Skip to main content

A Pytest plugin to generate realtime summary stats, and display them in-console using a text-based dashboard.

Project description


A Pytest plugin that displays test run progress in-console.

2023-03-10 14 16 57


I run a lot of long-duration test campaigns that generate copious amounts of console output. I usually monitor their progress by periodically checking the terminal to see if anything has failed so far. This usually means scrolling back in the console, looking for that telltale FAILED indication. It can be a bit of a pain hunting for that information!

This plugin writes up-to-date summary statistics for each test, as it executes, to a file on disk. That file is then continually read by a small client that prints its results to terminal. That way I can split my screen and monitor both the raw console output from Pytest and the client's summary output. And suddenly life becaomes just a little bit brighter. :-)


pip install pytest-tally


usage: tally [-h] [-c] [-f] [-r ROWS] [filename]

positional arguments:
filename              path to data file

-h, --help            show this help message and exit
-c, --clear           [c]lear existing data when starting a new run (default: False)
-f, --fixed-width     make all table rows [f]ixed-width (default: False)
-r ROWS, --rows ROWS  max number of [r]ows to display (default: no limit)
  • Run Pytest like you normally would, but specify the --tally option: pytest --tally
  • Open another terminal session, activate your venv, and type in tally to start the client.
  • Ctrl-C exits the client (for now - improvements coming)

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-tally-1.0.0.tar.gz (13.0 kB view hashes)

Uploaded Source

Built Distribution

pytest_tally-1.0.0-py3-none-any.whl (11.0 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