![](https://tgfile.tg-static.com/static/web/img/placeholder.gif)
コア開発者も楽したい!!! 歴史的経緯により複雑化したRubyコアシステムの自動テスト #rubykaigi 2015 #rubykaigiB
![](https://tgfile.tg-static.com/static/web/img/placeholder.gif)
make checkすると、大体全部を実行する。testの他にtest-testframeworkとtest-almostがある。前者はtestunitとminitest自体のテストを動かす。前の発表であった歴史的経緯 #rubykaigi #rubykaigiB
2015-12-12 17:03:08![](https://tgfile.tg-static.com/static/web/img/placeholder.gif)
幾つかのライブラリがminitestを直接使っている(rubygems, rdoc, net-smtp←これは数日前にtest-unitを使うよう直した) #rubykaigi #rubykaigiB
2015-12-12 17:05:51![](https://tgfile.tg-static.com/static/web/img/placeholder.gif)
HallB session, "Pragmatic Testing of Ruby Core", is almost full. #RubyKaigi #RubyKaigiB pic.twitter.com/79sAC22loo
2015-12-12 17:06:54![](https://pbs.twimg.com/media/CWArWfPU4AAex7d.jpg:medium)
![](https://tgfile.tg-static.com/static/web/img/placeholder.gif)
rubygems がruby 1.8をいまだにサポートしてるのがつらい。(つらそう) #RubyKaigi #RubyKaigiB
2015-12-12 17:07:22![](https://tgfile.tg-static.com/static/web/img/placeholder.gif)
rubygemsとrdocはRuby 1.8をサポートし続けているのでバックポートが大変。File#close!を使う修正をしたら、1.8ではclose!が生えてなかったりとか。 #rubykaigi #rubykaigiB
2015-12-12 17:08:40![](https://tgfile.tg-static.com/static/web/img/placeholder.gif)
ヤバさがエクストリームwww github.com/ruby/ruby/blob… #rubykaigi #rubykaigiB
2015-12-12 17:09:09![](https://tgfile.tg-static.com/static/web/img/placeholder.gif)
RubySpecはあくまで現実の振る舞いをテストコードに落としたもので、実際の仕様を決めたものではない。仕様はみなさんの心の中にある。 #rubykaigi #rubykaigiB
2015-12-12 17:10:08![](https://tgfile.tg-static.com/static/web/img/placeholder.gif)
rubyspecは古き良きRSpec 2.xのshould syntaxで書かれているらしい #rubykaigi #rubykaigiB
2015-12-12 17:11:37![](https://tgfile.tg-static.com/static/web/img/placeholder.gif)
いつも思うのは Ruby という処理系をテストするようなものが .should メソッド持ってて本当にちゃんとしたテストができるのか、っていうところ。問題になるケースないのかな。 #rubykaigiB
2015-12-12 17:12:03