Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Django autotest is a command that automaticaly runs the test suite

Project Description

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

Usage

Additional notes

Requirements

Django 1.2+

watchdog

For the notifications:

libnotify ( Linux ) Growl ( Windows and Mac )

Release History

Release History

This version
History Node

0.1.0

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
django_autotest-0.1.0.tar.gz (4.7 kB) Copy SHA256 Checksum SHA256 Source Aug 24, 2011

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting