News for hackers. Stuff that matters.
Re:Learn how to test Rails using Test::Unit instead of Rspec by genericsteele on Thursday March 21, 2013 @04:02PM (#5418448)
OP here. MiniTest::Spec is great, and knocks out two of my complaints in the article: * Expectations are readable and writable * The docs are very easy to digest: http://bfts.rubyforge.org/minitest/MiniTest/Expectations.htm...

I don't recommend MiniTest::Spec for the same reason I didn't recommend Rspec. It requires some extra configuration out of the box. The actual process of switching from Rspec to Test::Unit went Rspec -> MiniTest -> Test::Unit. There's just more stuff that's neccessary to start writing tests.

It's the same reason that new rails devs shouldn't swap out ERB with HAML before they build their first application. Get to know the defaults, then decide.

There are no comments on this comment yet.