Angular Unit Testing
This course will teach you to write effective unit tests in your Angular applications.
What you'll learn
Automated testing, including unit testing, is critical for any application that is bigger than "hello world". In this course, Angular Unit Testing, you’ll learn to write effective unit tests for your Angular applications. First, you’ll explore the basics of unit testing and automated testing. Next, you’ll discover how to write unit tests against Angular components, pipes and services, and incorporate templates in your unit tests. Finally, you’ll learn how to use best practices to create effective unit tests for even the largest applications. When you’re finished with this course, you’ll have the skills and knowledge of unit testing needed to completely test an Angular application.
Table of contents
- Introduction 1m
- Debugging Techniques with Angular and Karma 1m
- The TestBed 9m
- Using NO_ERRORS_SCHEMA 2m
- Testing Rendered HTML 5m
- NativeElment vs. DebugElement 6m
- More Complex Shallow Integration Tests 3m
- Mocking an Injected Service 8m
- Mocking Child Components 4m
- Dealing with Lists of Elements 3m
- Summary 1m