pytestã§coverageã測ããããããããã°ãè²ã ã¹ãã¼ãã¢ããããäºæãããã ã¨ããããããã£ã¦ã¿ã話ã venvç°å¢ãä½ã pytestã§ãã¹ãã§ããããã«ãã pytest-covã使ã ã«ãã¬ãã¸ä¸ãã¦ã¿ã djangoã§pytestã§ã«ãã¬ãã¸ãå³ã djangoã®æºå pytestã§djangoããã¹ã pytest + django + coverage çµãã venvç°å¢ãä½ã $ python3.6 -m venv coverage $ . coverage/bin/activate (coverage) $ python -V Python 3.6.5 pytestã§ãã¹ãã§ããããã«ãã ã¨ãããããpytestã§ãã¹ãã§ããããã«ãã¨ãã (coverage) $ pip install pytest (coverage) $ pip freeze |
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}