Skip to main content

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 )

Project details


Download files

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

Source Distribution

django_autotest-0.1.0.tar.gz (4.7 kB view details)

Uploaded Source

File details

Details for the file django_autotest-0.1.0.tar.gz.

File metadata

File hashes

Hashes for django_autotest-0.1.0.tar.gz
Algorithm Hash digest
SHA256 3ec8446affe488f21406012d7f37bc41c546bea2aab27d41daeac2aab9ab75f0
MD5 99c9e57921887395f4e94269f08d3ac7
BLAKE2b-256 a6f74f4620797c11f0f1fd4390a9e13a435a47ff36e0d7efe163e9a51e6c3a2b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page