Chapter 4. End-to-End Testing with Protractor

Unit testing is only one aspect of testing that only tests the responsibility of every piece of code. However, when it comes to testing the flow and feature of any component, module, or full application, then end-to-end (e2e) testing is the only solution.

In this chapter, we will look at the end-to-end testing flow step by step through all the layers of an application. We will be introduced to Protractor, the end-to-end testing tool from the Angular team. We already know the reason behind it, why it was created, and what kind of problems it solves.

In this chapter, we will go through:

  • The process of installing and configuring Protractor
  • Implementing the Protractor end-to-end test in our existing Angular ...

Get Angular Test-Driven Development - Second Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.