January 2019
Intermediate to advanced
240 pages
5h 59m
English
This chapter covers
beforeEach, afterEach, it, describe, and matcher functionsNow that you understand the basics of Angular testing, you’ll get started writing tests. Before you continue, follow the project setup instructions in appendix A to install the sample project along with the necessary tools: the Angular CLI, Jasmine, Protractor, and Karma. You’ll use the sample project throughout the book.
After you get the sample project up and running, you’ll start writing basic tests using Jasmine, the behavior-driven JavaScript testing framework that you’ll use throughout the book. We won’t talk about any of the testing modules that come with Angular ...
Read now
Unlock full access