'pytest how to run tests / django
I'm trying to use pytest for the 1st time in my new created app but i'm facing problems with running it. I still receive 'no tests ran in...' message.
My project name is PROJECT, then is my app called diet_app and file tests.py inside the app folder.
How to run tests?
I tried with:
pytestpytest testspytest diet_app
To be more precise - to install PyTest I used:
pip install pytest
pip install pytest-django
I'm working in PyCharm
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
