DEV Community

Tolgahan ÜZÜN
Tolgahan ÜZÜN

Posted on

4 1

Django Test Plus Extensions

https://github.com/tolgahanuzun/test_plus

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.

The total time information of Django tests is returned. There are more than a thousand test cases in the company I work for. I wanted to analyze long tests and correct mistakes.I saw such a shortcoming, I aimed to write a package.

Support and Update

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.

Installing

pip install test_plus

and

Add it to INSTALLED_APPS in your projects settings.py file:

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

Using and Result

It takes the same parameter in Django tests.

python manage.py test_plus

or

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

Heroku

Simplify your DevOps and maximize your time.

Since 2007, Heroku has been the go-to platform for developers as it monitors uptime, performance, and infrastructure concerns, allowing you to focus on writing code.

Learn More

Top comments (0)

AWS GenAI LIVE image

Real challenges. Real solutions. Real talk.

From technical discussions to philosophical debates, AWS and AWS Partners examine the impact and evolution of gen AI.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay