April 2018
Beginner to intermediate
406 pages
9h 33m
English
Before you ever start to add new tests to your application, you should always take a quick step back to verify that your test suite is currently green, so let's do that very quickly before we do anything else:
$ mix testCompiling 3 files (.ex)Generated vocial app...........Finished in 0.2 seconds11 tests, 0 failuresRandomized with seed 742658
Seeing that our test suite is currently green, we can confidently move on and start writing more of our test suite. We'll need to create a new directory and file, similar to what we did previously with adding the new context to our application. Generally speaking, writing tests for your context is enough since it should cover the functionality of your schemas nearly 100%, ...