{"description":"Jay Fields' Thoughts: Testing Anti-Pattern: Metaprogrammed Tests\u30eb\u30fc\u30d7\u3068define_method\u3067\u30c6\u30b9\u30c8\u30e1\u30bd\u30c3\u30c9\u3092\u5b9a\u7fa9\u3057\u305f\u3089\u3060\u3081\u3060\u3068\u3044\u3046\u8a71\u3002 \u884c\u756a\u53f7\u304c\u610f\u5473\u306a\u304f\u306a\u308b\u3002 \u5931\u6557\u3057\u305f\u30c6\u30b9\u30c8\u304c\u898b\u3064\u3051\u306b\u304f\u304f\u306a\u308b\u3002 \u30c6\u30b9\u30c8\u304c\u8907\u96d1\u306b\u306a\u308a\u3059\u304e\u308b\u3002\u305d\u306e\u305f\u3081\u3001\u30e1\u30f3\u30c6\u30ca\u30f3\u30b9\u6027\u304c\u306a\u304f\u306a\u3063\u3066\u3057\u307e\u3046\u3002 \u3053\u3093\u306a\u306e\u306f\u3060\u3081\u3002 require 'test/unit' class GradeTests < Test::Unit::TestCase (0..100).each do |index| letter = case index when 0..59 then \u2026","url":"https://rubikitch.hatenadiary.org/entry/20080504/1209844431","title":"\u30e1\u30bf\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u306a\u30c6\u30b9\u30c8\u306f\u66f8\u304f\u306a","version":"1.0","type":"rich","provider_name":"Hatena Blog","author_name":"rubikitch","categories":["ruby"],"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Frubikitch.hatenadiary.org%2Fentry%2F20080504%2F1209844431\" title=\"\u30e1\u30bf\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u306a\u30c6\u30b9\u30c8\u306f\u66f8\u304f\u306a - http://rubikitch.com/\u306b\u79fb\u8ee2\u3057\u307e\u3057\u305f\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","author_url":"https://blog.hatena.ne.jp/rubikitch/","blog_url":"https://rubikitch.hatenadiary.org/","width":"100%","image_url":null,"height":"190","blog_title":"http://rubikitch.com/\u306b\u79fb\u8ee2\u3057\u307e\u3057\u305f","provider_url":"https://hatena.blog","published":"2008-05-04 04:53:51"}