Next: Testing

It’s one thing to get code working in a browser, but it’s another to have the confidence in that code that you can ship it to your users. To get that confidence, you need automated tests. We’ve completely avoided writing tests up to this point, because it would complicate the tasks of learning about Angular, Bootstrap, and Postgres.

Now that we’ve got a bit of confidence with these new technologies, we’re at a point where we can turn our attention to tests. In the next chapter, we’ll build on the testing tools that Rails provides, and learn how to test database constraints, write unit tests for our Angular code, and write acceptance tests that execute our Angular app in a real browser.

Get Rails, Angular, Postgres, and Bootstrap now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.