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.

Prerequisites

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

Dependencies

  • 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.

Installation

From pip:

$ pip install red-green-refactor-widget

Usage

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.

License

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.

Source Distribution

red-green-refactor-widget-0.0.1.tar.gz (4.6 kB view hashes)

Uploaded Source

Built Distribution

red_green_refactor_widget-0.0.1-py3-none-any.whl (7.3 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