Different ways of code reuse in RSpec
I just blogged about helper methods, custom matchers, shared examples, shared contexts and programmatic example generation in RSpec. Keep your tests DRY!
Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!
I just blogged about helper methods, custom matchers, shared examples, shared contexts and programmatic example generation in RSpec. Keep your tests DRY!
Post a comment