Skip to main content

Test analysis tool for Django

Project description

Django Test Plus Extensions

License Language grade: Python

Django Test Plus Extensions is a collection of custom extensions for the Django Framework.

Getting Started

Django Test Plus Extension is an advanced tool for Django tests. Motivation; This is a detailed analysis of the atomic parts of Django tests. In short, each running test understands how long it runs.

Requirements

  • Django > 1.11

Getting

You can get Django Extensions by using pip:

$ pip install test_plus

If you want to install it from source, grab the git repository from GitHub and run setup.py:

$ git clone git://github.com/tolgahanuzun/test_plus.git
$ cd test_plus
$ python setup.py install

Installing

To enable django_extensions in your project you need to add it to INSTALLED_APPS in your projects settings.py file:

INSTALLED_APPS = (
    ...
    'test_plus',
    ...
)

Using

It takes the same parameter in Django tests.

Default using

python manage.py test_plus

Path definition

python manage.py test_plus app_name.test.test_file -k -v 2

Repeated running of tests

Runs the test n times.

python manage.py test_plus app_name.test.test_file -k -v 2 -rp 3 

Result

Support

Inspired by the Django Extensions package. It is free and open to improvement. I can improve if you tell me your needs. You can also support the development.

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

test_plus-0.2.0.tar.gz (3.0 kB view details)

Uploaded Source

File details

Details for the file test_plus-0.2.0.tar.gz.

File metadata

  • Download URL: test_plus-0.2.0.tar.gz
  • Upload date:
  • Size: 3.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.40.2 CPython/3.7.4

File hashes

Hashes for test_plus-0.2.0.tar.gz
Algorithm Hash digest
SHA256 22e4936af82ef8b7800ef887bba30845c90b9b8cfce4a7ef5d571bb7b334d063
MD5 deb3b98b8fae108673f233879fc1828a
BLAKE2b-256 bd9f475edaf68102e78c6fa8d8cae6fc9505b26b4176defb1afc879887bf3f6b

See more details on using hashes here.

Supported by

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