Learning About minitest
November 2, 2013
I’m learning about minitest. It’s a lightweight testing framework for Ruby that comes built into the standard library. I found Steve Klabnik’s tutorial on minitest to be really helpful.
I’m trying to get into the habit of TDD and minitest seems like a great place to start for some of these command line apps I’m working on. RSpec is another testing framework I would like to learn.
Steve also used Enumerable#inject which I should practice using. I do remember using Enumerable#reduce before, but using Enumerable still doesn’t come natually yet.
Tutorials are great, but I need to make sure I also spend some quality time working on my own code that expands beyond these tutorials. It’s easy to get trapped into reading tutorial after tutorial and never having to really put into practice the things you are learning.