...

/

Getting Started with Minitest

Getting Started with Minitest

Learn Minitest, Minitest's design, and how to set up Minitest in the Rails application.

Minitest vs. RSpec

Some people like the classics.

Some people don’t like RSpec’s syntax or its metaprogramming.

Some people use Minitest.

Minitest is the standard testing framework in the Ruby 2.0 Standard Library. It is also the default test framework for Rails. Compared to RSpec, Minitest is smaller, simpler, and less flexible. Minitest is also the testing suite used by the Rails team to test Rails itself. Minitest proponents say that a test suite is a terrible place to depend on ...