Testing Ruby Mixins in Isolation
Testing mixin Modules doesn’t have to involve copying-and-pasting tests from one file to another or shared examples. You can write simple isolated tests for your mixins using this easy to understand technique.
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!
Testing mixin Modules doesn’t have to involve copying-and-pasting tests from one file to another or shared examples. You can write simple isolated tests for your mixins using this easy to understand technique.
Post a comment