September 2014
Intermediate to advanced
256 pages
5h 25m
English
In the previous chapter, you finished the core functionality of your social application by adding WebSockets for live updating. You’ll now ensure the stability with your application by adding in testing. There are two types of testing you will use in your project: end-to-end tests and unit tests.
End-to-end tests, also known as integration tests or feature tests, are used to test the functionality of the application as if a user were running it. They test all the components of the application from the UI down to the database. These tests are slow but are best for catching unexpected errors. End-to-end tests will be the focus of this chapter.
Unit tests involve testing a component by itself. In Chapters ...