{"width":"100%","author_name":"kabegiwakun","url":"https://www.kabegiwablog.com/entry/2019/10/21/075332","blog_title":"\u304b\u3079\u304e\u308f\u30d6\u30ed\u30b0","height":"190","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.kabegiwablog.com%2Fentry%2F2019%2F10%2F21%2F075332\" title=\"pytest\u3067Python\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u30c6\u30b9\u30c8\u3059\u308b - \u304b\u3079\u304e\u308f\u30d6\u30ed\u30b0\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","type":"rich","title":"pytest\u3067Python\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u30c6\u30b9\u30c8\u3059\u308b","author_url":"https://blog.hatena.ne.jp/kabegiwakun/","categories":["Python"],"description":"\u6982\u8981 Python\u306e\u30c6\u30b9\u30c8\u30c4\u30fc\u30eb\u306epytest\u3092\u3064\u304b\u3063\u3066Python\u30b9\u30af\u30ea\u30d7\u30c8\u306e\u30c6\u30b9\u30c8\u3092\u3057\u3066\u307f\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002 \u30a4\u30f3\u30b9\u30c8\u30fc\u30eb pytest\u306fpip\u3067\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3067\u304d\u307e\u3059\u3002 $ pip install pytest \u30c6\u30b9\u30c8\u3057\u3066\u307f\u308b \u5b9f\u969b\u306bpytest\u3067\u30c6\u30b9\u30c8\u3057\u3066\u307f\u307e\u3059\u3002 \u524d\u63d0 \u3053\u3093\u306a\u304b\u3093\u3058\u306e\u30b9\u30af\u30ea\u30d7\u30c8\u305f\u3061\u304c\u3042\u308b\u3068\u3059\u308b\u3002 \u30c6\u30b9\u30c8\u3055\u308c\u308b.py \u305f\u3057\u3056\u3093\u3059\u308b\u3060\u3051\u306e\u3084\u3064 def addition(a, b): result = a + b return(result) \u30c6\u30b9\u30c8\u3059\u308b.py \u305d\u3057\u3066\u305d\u308c\u306e\u30c6\u30b9\u30c8\u30b3\u30fc\u30c9\u304c\u3042\u308b\u3068\u3059\u308b\u3068\u3053\u3046(\u672c\u5f53\u306f\u3053\u3093\u306a\u30b1\u30fc\u30b9\u5fc5\u8981\u306a\u3044\u3051\u308c\u3069) 1+2=3\u3060\u3088\u306d\u30fc 2+2=4\u3060\u3088\u306d\u30fc\u2026","published":"2019-10-21 07:53:32","image_url":"https://cdn-ak.f.st-hatena.com/images/fotolife/k/kabegiwakun/20180115/20180115220028.png","version":"1.0","provider_name":"Hatena Blog","blog_url":"https://www.kabegiwablog.com/","provider_url":"https://hatena.blog"}