Welcome, guest | Sign In | My Account | Store | Cart

Notice! PyPM is being replaced with the ActiveState Platform, which enhances PyPM’s build and deploy capabilities. Create your free Platform account to download ActivePython or customize Python with the packages you require and get automatic updates.

pypm install watching-testrunner

How to install watching_testrunner

  1. Download and install ActivePython
  2. Open Command Prompt
  3. Type pypm install watching-testrunner
 Python 2.7Python 3.2Python 3.3
Windows (32-bit)
Windows (64-bit)
Mac OS X (10.5+)
1.0.1 Available View build log
Linux (32-bit)
1.0.1 Available View build log
Linux (64-bit)
1.0.1 Available View build log
Lastest release
version 1.0.1 on Mar 24th, 2013

# Why

Because unit testing is even more fun

  • when you don't have to switch out of your editor to get feedback from unit tests.
  • the shorter the feedback period is till you get feedback from your tests.

I've seen the usefullness toying with rubys autotest command, so I pestered Felix to build something like this, and after using it for about a two years, I finally got around to packaging it. :-)

In addition to that it's brain dead simple, has no dependencies and is _really_ small.

# Usage

% watching_testrunner --help Usage: watching_testrunner [options] command [arguments...]

-h, --help show this help message and exit
-b BASEPATH, --basepath=BASEPATH
 base path to watch for changes
 glob-style pattern for file names to watch

# Examples

$ watching_testrunner nosetessts $NOSETESTS_ARGUMENTS

This will run nosetests whenever any python file below the current directory changes

$ watching_testrunner --basepath foo/bar --pattern="*" nosetessts $NOSETESTS_ARGUMENTS

This will run nosetests whenever any file below ./foo/bar changes.

$ watching_testrunner --basepath path/to/js_tests --pattern="*.js" jasmine --console

System Message: WARNING/2 (<string>, line 34); backlink

Inline emphasis start-string without end-string.

This will run jasmine --console whenever any js file below ./path/to/js_tests changes (i.e. you can use the watching testrunner to get auto test execution using any tool for any language)

Subscribe to package updates

Last updated Mar 24th, 2013

Download Stats

Last month:1

What does the lock icon mean?

Builds marked with a lock icon are only available via PyPM to users with a current ActivePython Business Edition subscription.

Need custom builds or support?

ActivePython Enterprise Edition guarantees priority access to technical support, indemnification, expert consulting and quality-assured language builds.

Plan on re-distributing ActivePython?

Get re-distribution rights and eliminate legal risks with ActivePython OEM Edition.