Skip to main content

A simple widget that will help you to stick to the red-green-refactor workflow

Project description

Red-Green-Refactor Widget

When you are learning to follow the red-green-refactor workflow, this app will help you to keep track of your progress by reminding you of which stage of the workflow you are right now and which actions you need to undertake before proceeding to the next stage. See Usage section for details.


The package depends on pyqtkeybind, which, at the time of writing this readme (version 0.0.6), has support for Windows and Linux only.


  • PyQt5
  • pyqtkeybind

If you are installing it through pip, all necessary python dependencies are going to be pulled in automatically. Depending on your platform, you might need to install Qt5 binary packages.


From pip:

$ pip install red-green-refactor-widget


To launch the app, simply run the following command from terminal:

$ red-green-refactor-widget

After you launched the app, you should see a small window. It displays a stage of the red-green-refactor workflow. When you finished a stage, press Alt-F12, and the widget will change to the next stage of the workflow. By default, the window is created with the always-on-top flag on, and the hotkey is global, thus you don't need to worry about keeping the window in focus.


Distributed under MIT license. See LICENSE file for more information.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for red-green-refactor-widget, version 0.0.1
Filename, size File type Python version Upload date Hashes
Filename, size red_green_refactor_widget-0.0.1-py3-none-any.whl (7.3 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size red-green-refactor-widget-0.0.1.tar.gz (4.6 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page