Skip to main content

An automated traffic light/signal/semaphore GUI showing the state during test driven development (TDD), mainly written for coding dojos.

Project description

What does it do?

Runs a test command when some file is modified, showing its result in a GUI.

Example

Try dose tox instead of tox and have fun. Or anything else instead of tox.

What happens when something changes?

A custom test command spawn a subprocess, and its output/error data appear in the shell used to call Dose. If the process returned value is zero, dose turns green, else it it turns red. It stays yellow while waiting for the subprocess to finish.

What does it watch?

Dose watches recursively the a working directory (by default, the current directory) for file modifications, using the watchdog package for that. You can configure a ignore pattern to avoid undesired detections.

Requirements

  • wxPython 2.8 or 3.0 (classic)

  • watchdog

You should install the wxpython or wxgtk packages from your Linux distribution, or get the Windows binary packages directly from https://www.wxpython.org

Installation

pip install dose

GUI Controls

  • Dragging: Move

  • Dragging holding Ctrl: Resize

  • Dragging holding Shift: Controls th transparency

  • Double click: start or stop the watcher (can kill the test job)

A right click would show more options.

Please see the CHANGES.rst file for more information.


Copyright (C) 2012-2016 Danilo de Jesus da Silva Bellini

Project details


Download files

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

Source Distributions

dose-1.1.0.zip (32.9 kB view details)

Uploaded Source

dose-1.1.0.tar.gz (28.7 kB view details)

Uploaded Source

Built Distribution

dose-1.1.0-py2.py3-none-any.whl (14.4 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file dose-1.1.0.zip.

File metadata

  • Download URL: dose-1.1.0.zip
  • Upload date:
  • Size: 32.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for dose-1.1.0.zip
Algorithm Hash digest
SHA256 cd371209c75bcbda6bed1c5fa3c0f1d988ca7268da668286576c328514c83c2e
MD5 0e019ba44983ed20768124596a97a833
BLAKE2b-256 22bb99336ed851ed9c649454a0bd4ae608c81f2e65cd5f1707d62883bfbe046c

See more details on using hashes here.

File details

Details for the file dose-1.1.0.tar.gz.

File metadata

  • Download URL: dose-1.1.0.tar.gz
  • Upload date:
  • Size: 28.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for dose-1.1.0.tar.gz
Algorithm Hash digest
SHA256 dfd148d6c4945d8e81d346f81f3d4183109a62368546816616492c721cd3b207
MD5 32117f3349da789a693d37c7f43cc63a
BLAKE2b-256 4cac8656088f22ff330162afe70c44297aa5a442551eed6faff088812713ea32

See more details on using hashes here.

File details

Details for the file dose-1.1.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for dose-1.1.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 1752ec8d217aa2ca4fbabefb29cbf56b034abd0e2a52366da31e524597110e23
MD5 40987489d94d12189e3f5dbad64d8fcc
BLAKE2b-256 09c9e160a4b485c3a82b1fa327271ed6305db4e4e0093db287ef93257c4b3256

See more details on using hashes here.

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