Trying Out the Core

Let’s put it all together and start running the code in our core.

Running our tools

To check our code as we go, iex is an excellent tool. We’re not going to run an exhaustive test—we’ll save that work for the next chapter. We’ll use iex to do a quick integration check to ensure our tools work together as expected.

Making our template

To do any meaningful integration test, we need a quiz. We’ll need a template before building one, though. Our quiz will use a single template for addition that generates questions of the form x + y. Open up the codebase interactively and key in the following commands:

Executable

Get hands-on with 1200+ tech skills courses.