...

/

Running the Test for Our API

Running the Test for Our API

Let’s run the tests we've written so far and discuss some of their important qualities.

Properties of our tests

A test is like a scientific experiment. It does something using the codebase and then makes a series of measurements. In ExUnit, those experiments are function calls and the measurements are assertions. We’re not concerned about mixing several different kinds of ...