django coverage
coverage 설치
- snippet.bash
pip install coverage
Run
- snippet.bash
coverage run --source='.' manage.py test myapp
report
- snippet.bash
coverage report
html
- snippet.bash
coverage html
프로젝트 폴더에 htmlconv
폴더가 생성됩니다. 여기에서 index.html
을 브라우저에서 확인합니다.
출처
관련 문서
Plugin Backlinks: 아무 것도 없습니다.