Pytest Status GUI

Travis CI Appveyor (skipped 2.x) Circle CI
Travis Build Appveyor Build CircleCI Build

=> Always on GUI for showing test status (with pytest)

In action

Install

pip install pytest_gui_status

Also, install PySide and Redis manually via apt-get or installers.

How to use?

py.test --show_status_gui

Recommended : Use with pytest-watch using ptw -- --show_status_gui

pytest-watch re-runs py.test on any change to your code

What is it?

pytest_status_gui is only a pytest plugin, which

  • starts (if not running) a small always-on-top GUI (using htmlpy) and redis db on test start
  • updates the db with test run status (step running currently, for eg "Collecting Tests") and some details of the steps (like no. of tests passed) as it becomes available to the plugin.
  • The GUI on the other hand periodically polls data (using js timer with 1 sec interval) from the db and updates itself.

The result is that you get some nifty test status windows that update as you keep editing files. It is inspired from pytddmon, which is more minimailistic and supports only nosetests.

Configuration

Template:
Minimal Window:

//TODO

Use your own template:

//TODO

Redis:

Custom Redis Command:

//TODO

Custom Redis Args:

//TODO

Custom Redis Port:

//TODO

S
Description
Show status of pytest runs with GUI
Readme
159 KiB
Languages
Python 74.6%
PowerShell 14.5%
HTML 10.8%