Skip to content

puffin/watson

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Watson

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

-nocolor : flag, default: False
Disable colored output.
-u, --ui : default: 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 the terminal-notifier (https://github.com/alloy/terminal-notifier) 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

About

Django Continuous Unit Test

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages