'How to run unitest from specific file?
In my project I have a task to add few Unittests to APIs. We have many django apps and I need to do work only with one:
apps\data\tests.py
But when I'm trying to specify exactly this file/folder to start those exact Tests:
python3 manage.py test data.tests
or
python3 manage.py test data.tests.py
its still running ALL tests between ALL apps. I did make 1 hour search online but Everyone suggesting to use:
python3 manage.py test + "path to the folder/file".
But its still running everything. Maybe i'm missing some General test configuration in settings.py?
Thank you,
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
