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 |
{{#tags}}- {{label}}
{{/tags}}