Minitest Basics

Learn Minitest syntax, methods, and assertion methods and learn to write the first test on Minitest.

Minitest syntax

Our project’s test directory contains Minitest equivalents of many of the RSpec tests we’ve written thus far.

Here’s an example, specifically, the tests for the Task model:

Get hands-on with 1200+ tech skills courses.