Skip to main content

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.

Release files for test-plus 0.2.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for test-plus 0.2.2
File Size Uploaded
test_plus-0.2.2.tar.gz 3.0 kB Details

Release files / test_plus-0.2.2.tar.gz

Download URL test_plus-0.2.2.tar.gz
Size 3.0 kB
Tags Source
SHA-256 checksum
How to use checksums
86adda17147de7e13e60c5950f611841d2f3d34331a127c383b20fca10514a77
BLAKE2b-256 checksum
How to use checksums
da46efb0e3f9c8ac2f73bd985fa5d5054988ec7a6ec7360d2848a7f9b619cbc3
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

0.2.2 This release

1 release file

0.2.1

1 release file

0.2.0

1 release file

0.1.12

1 release file

0.1.11

1 release file

0.1.10

2 release files

0.1.9

1 release file

0.1.8

1 release file

0.1.7

1 release file

0.1.6

1 release file

0.1.5

1 release file

0.1.4

1 release file

0.1.3

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page