Continuous unit test runner for django
Project description
Watson is a continuous unit test runner for django. As long as the script is running, it will monitor for changes in your code and re-run your test suite when needed.
Features
Monitor source code and run tests on change
OSX notifications
Colored test output
Installation
Watson can be installed from PyPI using easy_install:
$ easy_install Watson-CT
or pip:
$ pip install Watson-CT
Setup
To setup Watson under Django add watson to your INSTALLED_APPS setting. The run manage.py drwatson to start the tester process. You can give an application label or test name using the same format as the built-in test command.
Options
- --nocolorflag, default: False
Disable colored output.
- -u, --uidefault: autodetect
Force the use of a specific UI module. Available options are osx, growl2 and none.
UIs
Watson provides a UI to indicate the current test status after each run, even if the console is in the background.
OSX
The default UI on OS X uses terminal-notifier. A Native OSX notification is posted after each test run. It requires [terminal-notifier][HOMEPAGE] command-line tool
Growl 2
Use Growl 2 via AppleScript. A Growl 2 notification is posted after each test run. It requires https://itunes.apple.com/us/app/growl/id467939042
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
File details
Details for the file Watson-CT-0.2.1.tar.gz.
File metadata
- Download URL: Watson-CT-0.2.1.tar.gz
- Upload date:
- Size: 22.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3cbd79f7a57192201e6510ad64b800e622966e89713cb7c280daa61f4374644e
|
|
| MD5 |
b4842df5293d7e5c0d64959263adf7e1
|
|
| BLAKE2b-256 |
dcf23667256d8ca6bcf1fc9d3ab06a83ac8accb5e89489bb5c0e7e8961a796da
|