Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Automatically runs your test suite and displays desktop notifications with the results

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 exampleapp
Octocat-spinner-32 src
Octocat-spinner-32 .gitignore
Octocat-spinner-32 LICENSE.txt
Octocat-spinner-32 MANIFEST.in
Octocat-spinner-32 README.rst
Octocat-spinner-32 __init__.py
Octocat-spinner-32 setup.py
README.rst

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. 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 )

Something went wrong with that request. Please try again.