【发布时间】:2019-06-14 07:12:27
【问题描述】:
在我的项目中不止一个测试文件,如果我运行
python manage.py tests
完成测试需要大量时间,我不希望这样。
我只想运行特定的测试文件,就像我有测试一样
project/todo/tests/test_todo.py
project/accounts/tests/test_signup.py
project/todo/tests/test_archive.py
还有更多类似的:
现在我只想运行project/todo/tests/test_todo.py 我该怎么做?
【问题讨论】:
标签: django django-testing django-tests