I recently wanted to dive deeper into testing Angular applications, in specific on how to write proper unit tests for some common scenarios you might encounter.
Contents are based on Angular version 2+.
Slides and Recorded Talk
Here’s the video of my talk:
I set up a dedicated code repository with the purpose of collecting testing recipes for various scenarios you might encounter while testing your Angular applications.
You have some more? Share them with me and contribute them to the repository
There are some awesome articles out there on testing Angular applications. Here are some I found useful.
- Angular 2 Testing Guide by Gerard Sans
- Testing Angular Directives with Custom Matchers by Thoughtram
- Essential Angular Testing by Nrwl
- Three Ways to Test Angular 2 Components by Victor Savkin