{"published":"2006-09-25 12:57:25","provider_name":"Hatena Blog","blog_url":"https://okazuki.hatenablog.com/","version":"1.0","url":"https://okazuki.hatenablog.com/entry/20060925/1159156645","type":"rich","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fokazuki.hatenablog.com%2Fentry%2F20060925%2F1159156645\" title=\"UnitTest - \u304b\u305a\u304d\u306eBlog@hatena\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","blog_title":"\u304b\u305a\u304d\u306eBlog@hatena","provider_url":"https://hatena.blog","author_name":"okazuki","image_url":null,"description":"\u30af\u30e9\u30b9\u3068\u7d99\u627f\u3082\u51fa\u3066\u304d\u305f\u306e\u3067\u3001\u30e6\u30cb\u30c3\u30c8\u30c6\u30b9\u30c8\u306b\u6d6e\u6c17\u3002 \u4f7f\u3044\u65b9 require \"test/unit\" Test::Unit::TestCase\u3092\u7d99\u627f def test_***** \u3068\u3044\u3046\u30c6\u30b9\u30c8\u30e1\u30bd\u30c3\u30c9\u3092\u5b9a\u7fa9 assert_equal\u3068assert_instance_of\u3067\u30c6\u30b9\u30c8 \u307e\u305a\u5b9a\u7fa9 require \"test/unit\" class TestHoge < Test::Unit::TestCase end \u3053\u306e\u307e\u307e\u5b9f\u884c\u3059\u308b\u3068\u30c6\u30b9\u30c8\u5931\u6557\u306b\u306a\u308b\u3002default_test\u3068\u3044\u3046\u306e\u304c\u5b9f\u884c\u3055\u308c\u308b\u3088\u3046\u3060\u3002 \u3053\u308c\u306b\u9069\u5f53\u306aassert\u3092\u8ffd\u52a0\u3057\u3066\u307f\u308b\u3002 require \"test/unit\" class Sa\u2026","height":"190","title":"UnitTest","width":"100%","categories":["Ruby"],"author_url":"https://blog.hatena.ne.jp/okazuki/"}