Skip to main content

A tool that runs the Django test suite for a given application without requiring a fully-configured project

Project description

About

django_apptest is a command-line utility for testing your pluggable Django apps outside of a fully-configured project. It will bootstrap Django and run the tests inside your app without having to create a Django project, fill out a settings.py file or any other preparation.

Usage

To run the test suite on an app called my_app, cd into the directory above the my_app directory and run:

$ django_apptest my_app

Use as a module

The simplest way of using django_apptest as a module is via the DjangoAppTest class.

>>> from django_apptest import DjangoAppTest
>>> DjangoAppTest('my_app', 'your_app').run_tests()

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-app-tester-0.1.1.zip (6.2 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page