Replies: 3 comments 1 reply
-
First thing to notice: this project does not use the django testrunner but relies on pytest. Tests are executed with the Can you try that route? |
Beta Was this translation helpful? Give feedback.
-
Yes, I do see some color in pytest which is good. But I don't use pytest because of this:
The "collecting ..." part takes at least 2 minutes every time I run "pytest". Is that normal or am I doing something wrong? Thank you for your response. |
Beta Was this translation helpful? Give feedback.
-
Oh, thank you for your note. I did pytest this time for a specific package and it works fast (i didn't test on individual package before). So the pytest on the suite takes 2 minutes and the python manage.py test takes <10s is the only thing I have left. If it's normal, please let me know. |
Beta Was this translation helpful? Give feedback.
-
Most of my time spending on a project is in the django docker container running 'python manage.py test'
I'm wondering if there is an easy way to enable the colored output, green/red thing. I have tried https://pypi.org/project/redgreenunittest/ but it doesn't seem to work for me.
Did I miss something simple, could someone please let me know?
Beta Was this translation helpful? Give feedback.
All reactions