From Seattle RB
MiniTest provides a complete suite of testing facilities supporting TDD, BDD, mocking, and benchmarking.
Mini Test is comprised of the following:
- minitest/unit is a small and incredibly fast unit testing framework. It provides a rich set of assertions to make your tests clean and readable.
- minitest/spec is a functionally complete spec engine. It hooks onto minitest/unit and seamlessly bridges test assertions over to spec expectations.
- minitest/benchmark is an awesome way to assert the performance of your algorithms in a repeatable manner. Now you can assert that your newb co-worker doesn't replace your linear algorithm with an exponential one!
- minitest/mock by Steven Baker, is a beautifully tiny mock (and stub) object framework.
- minitest/pride shows pride in testing and adds coloring to your test output. I guess it is an example of how to write IO pipes too.
Official Documentation
Basic tutorials for Ruby
How to use minitest by Team Tree House
TDD with MiniTest and EventManager by Jump Start Labs
A MiniTest::Spec Tutorial by Ruby Inside
Minimalicious testing in Ruby 1.9 with MiniTest by Arvid Anderson
Minitest Quick Reference by Matt Sears
Official Documentation
Basic tutorials for Rails
Minitest & Rails: Total BFFs by Mike Moore
7 reasons I'm sticking with minitest and fixtures in Rails by Brandon Hilkert
BDD on Rails with Minitest, Part 1: Up and Running by Semaphore App
BDD on Rails with Minitest, Part 2: Implementing a Feature by Semaphore App