RubyFlow : The Ruby Community Blog

Home   Submit   Sign Up   Log In   leaders   Twitter   RSS Feed  

Writing MiniTest extensions

It's pretty easy to extend MiniTest. Below I show you how to add very simple implementation of expect {}.to change {}.by(x) from RSpec, in 13LOC.
It should work out of the box on Ruby 1.9.


Post a Comment

Comment abilities for non registered users are currently deactivated, pending time to add a proper CAPTCHA to solve the escalating spam problem. Sorry!