Unit Testing in Angular

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 info
Rating
(155)
Level
Beginner
Updated
Sep 6, 2018
Duration
3h 21m
Table of contents
Course Overview
Course Introduction
Isolated Unit Tests
Shallow Integration Tests
Deep Integration Tests
Testing DOM Interaction and Routing Components
Advanced Topics
Description
Course info
Rating
(155)
Level
Beginner
Updated
Sep 6, 2018
Duration
3h 21m
Description

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, 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.

About the author
About the author

Joe has been a web developer for the last 13 of his 16+ years as a professional developer. He has specialized in front end and middle tier development . Although his greatest love is writing code, he also enjoys teaching and speaking about code.

More from the author
Angular Fundamentals
Intermediate
9h 36m
Feb 1, 2019
Angular Crash Course
Intermediate
59m
Nov 1, 2018
More courses by Joe Eames
Section Introduction Transcripts
Section Introduction Transcripts

Course Overview
Hi there. I'm Joe Eames, and welcome to my course, Unit Testing in Angular. I'm a Google developer expert in Angular and have been working with AngularJS since 2010 and Angular since it was in alpha. Angular is an amazing, modern, highly performant framework, and learning it one of the best things that you can do for your career. But it's no good to write code if your code doesn't work. That's where unit testing comes in. In this course we're going to learn all the tools and techniques to effectively unit test Angular projects. Some of the things we will cover are isolated tests for quick and easy testing of components, services, and pipes, integration tests for testing components with their templates, and dealing with asynchronous code in your tests. We'll also see how to write good, maintainable tests. By the time we're through, we'll understand the tools that Angular provides for unit testing your code, how to test your projects effectively, and how to make those tests maintainable. Before starting this course, you should be familiar with JavaScript and Angular. I hope you'll join me on this journey to learn how to unit test Angular with the Unit Testing in Angular course at Pluralsight.