{"published":"2020-01-20 22:10:14","author_url":"https://blog.hatena.ne.jp/dk521123/","type":"rich","version":"1.0","blog_title":"\u30d7\u30ed\u30b0\u30e9\u30e0 \u306e\u8d85\u500b\u4eba\u7684\u306a\u30e1\u30e2","description":"\u25a0 \u306f\u3058\u3081\u306b nose \u3092\u4f7f\u3046\u3053\u3068\u306b\u306a\u308a\u305d\u3046\u306a\u306e\u3067\u3001\u30e1\u30e2\u3002 \u25a0 \u8a2d\u5b9a pip install nose # \u30ab\u30d0\u30ec\u30c3\u30b8\u3092\u53d6\u5f97\u3059\u308b\u305f\u3081\u306b... pip install coverage \u25a0 nosetests \u30b3\u30de\u30f3\u30c9 \u30aa\u30d7\u30b7\u30e7\u30f3\u4e00\u89a7 https://het.as.utexas.edu/HET/Software/Nose/plugins/cover.html # \u30aa\u30d7\u30b7\u30e7\u30f3 \u8aac\u660e 1 --with-coverage \u30b3\u30fc\u30c9\u30ab\u30d0\u30ec\u30c3\u30b8 2 --cover-branches \u5206\u5c90\u7db2\u7f85 (C1:branch coverage)\u3092\u6e2c\u5b9a 3 --cover-erase \u524d\u56de\u53ce\u96c6\u3057\u305f\u7d50\u679c\u3092\u6d88\u3057\u3066\u3001\u518d\u6e2c\u5b9a 4\u2026","provider_url":"https://hatena.blog","title":"\u3010Python\u3011\u5358\u4f53\u8a66\u9a13 / nose \uff5e \u5165\u9580\u7de8 \uff5e","blog_url":"https://dk521123.hatenablog.com/","width":"100%","height":"190","author_name":"dk521123","provider_name":"Hatena Blog","categories":["Python","Test tool"],"url":"https://dk521123.hatenablog.com/entry/2020/01/20/221014","image_url":null,"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fdk521123.hatenablog.com%2Fentry%2F2020%2F01%2F20%2F221014\" title=\"\u3010Python\u3011\u5358\u4f53\u8a66\u9a13 / nose \uff5e \u5165\u9580\u7de8 \uff5e - \u30d7\u30ed\u30b0\u30e9\u30e0 \u306e\u8d85\u500b\u4eba\u7684\u306a\u30e1\u30e2\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>"}