Django

[Pytest] - TestRunner 설정하기

r잡초처럼 2022. 12. 19. 18:03

Pycharm에서 Debuging을 하기 위해 mange.py 에서 test를 실행할 때 pytest로 돌리고 싶었다.

물론 Pycharm 설정에서 test runner를 설정하는 방법도 있지만 다양한 IDE에서 같은 설정으로 하고 싶어서 찾던 중 testrunner를 변경하는 방법을 찾았다.

자세한 문서는 여기

 

FAQ — pytest-django documentation

© Copyright 2022, Andreas Pelme and contributors. Revision 42b7db2f.

pytest-django.readthedocs.io

Pycharm에서 디버깅을 해봤다. 잘된다.