Tag Archives: activesupport::testcase

Mix with Caution: Callbacks and Setup/Teardown Methods

If you’re familiar with unit testing tools (at least the ones based eventually on JUnit), you’ll immediately recognize the concept of testcase hooks, especially for setup and teardown. ¬†All of the testing frameworks for Ruby come with varying degrees of hook expressivity. Rails provides an extension to the standard Test::Unit framework in the form of […]

Leave a comment