Riot 是一个新的Ruby测试框架,作者是Justin Knowlden。它的主要目的是提高测试的效率。Justin对Riot与Test::Unit进行了比较,测试结果显示Riot比Test::Unit的测试速度快一倍多。
测试示例:[code]context "a new user" do
setup { User.new(:email => 'foo@bar.com') }
asserts("email address") { topic.email }.equals('foo@bar.com')
end[/code]主页:https://github.com/thumblemonks/riot
下载:https://github.com/thumblemonks/riot/archives/master
来自:开源中国社区

