- Course
Unit Testing in Angular 12
Automated tests are an important ingredient in a successful project. This course will teach you everything you need to know to unit test your Angular projects, including testing services, component templates, and dealing with asynchronous code.
- Course
Unit Testing in Angular 12
Automated tests are an important ingredient in a successful project. This course will teach you everything you need to know to unit test your Angular projects, including testing services, component templates, and dealing with asynchronous code.
Get started today
Access this course and other top-rated tech content with one of our business plans.
Try this course for free
Access this course and other top-rated tech content with one of our individual plans.
This course is included in the libraries shown below:
- Core Tech
What you'll learn
Angular gives us an amazing set of tools to help us unit test our code, but all those tools and techniques need to be learned. In this course, Unit Testing in Angular 12, you will learn how to effectively unit test your Angular code. First, you will learn to write isolated tests to quickly and easily test services, pipes, and components. Next, you will explore integration tests, used to test your components with their templates. Then, you will see how to deal with advanced topics like asynchronous code. Finally, and most importantly, you will know what it means to write effective, maintainable unit tests. When you are finished with this course, you will feel confident in your ability to write good unit tests for your Angular projects.
Unit Testing in Angular 12
-
Version Check | 15s
-
Course Introduction | 3m 32s
-
The Demo Application | 3m 16s
-
Testing Overview | 4m 27s
-
Mocking | 2m 35s
-
Unit Tests in Angular | 1m 18s
-
Tools of Unit Testing with Angular | 1m 46s
-
Installing and Running the Demo | 1m 32s
-
Writing Your First Unit Test | 5m 41s
-
Running Your Unit Tests | 2m 7s
-
Writing Good Unit Tests | 3m 23s
-
Summary | 48s