From the course: Angular: Building Large Applications

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Testing exploration

Testing exploration - Angular Tutorial

From the course: Angular: Building Large Applications

Start my 1-month free trial

Testing exploration

- [Instructor] Any projects created with Angular should have tests included. At the enterprise level, it's absolutely critical. If you haven't explored testing libraries yet, now is the time to start. We'll explore the ones used with Angular, so Karma and Jasmine, but keep in mind, this is an overview rather than a comprehensive training of the testing libraries. The positive is that most testing libraries are declarative in their approach, meaning the function names are user friendly and easy to follow. If you want to take a look at the details of the libraries included in Angular you can take a course in the library or go to these links. You can go to Karma. So got to karma-runner.github.io and for more details on the Angular side, go to angular.io/guide/testing. So let's explore a quick example inside of our code. Let's go to VS code, but what we'll make sure first is that we have our components contact and contact list loaded inside of our component and then our contact single…

Contents