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.

Download
ActivePython
INSTALL>
pypm install django-autotest

How to install django_autotest

  1. Download and install ActivePython
  2. Open Command Prompt
  3. Type pypm install django-autotest
 Python 2.7Python 3.2Python 3.3
Windows (32-bit)
0.1.0 Available View build log
Windows (64-bit)
0.1.0 Available View build log
Mac OS X (10.5+)
0.1.0 Available View build log
Linux (32-bit)
0.1.0 Available View build log
Linux (64-bit)
0.1.0 Available View build log
 
Author
License
BSD
Dependencies
Lastest release
version 0.1.0 on Aug 31st, 2011

django-autotest

Django autotest is a custom command for your applications that runs the test suite when you save a test file and displays a desktop notification with the results.

Installation

1. Install the package with pip install django_autotest or alternatively you can download the tarball and run python setup.py install

  1. Add autotest to your INSTALLED_APPS list in settings.py
INSTALLED_APPS = ('autotest')
  1. Add a PROJECT_ROOT variable to settings.py with the absolute path to your Django application.
from os.path import abspath, dirname

PROJECT_ROOT = abspath(dirname(__file__))

# or if you have already defined that for another purposes ( templates for example )
PROJECT_ROOT = MY_PROJECT_ROOT_DIRECTORY
  1. Install the desktop notification library according to your operating system:

    On Linux install libnotify-bin

Usage

./manage.py autotest

############
#  Options
############

# Runs the tests only for the app you are currently working on
./manage.py autotest --quick

Requirements

Django 1.2+

watchdog

For the notifications:

libnotify ( Linux ) Growl ( Windows and Mac )

Subscribe to package updates

Last updated Aug 31st, 2011

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.