Testing With Angular 2: Some Recipes (Talk and Slides)
Juri Stumpflohner reflects on his recent talk about diving deeper into testing Angular 2 apps. He also links to a dedicated code repository on GitHub with the purpose of collecting testing recipes for various scenarios one might encounter while testing Angular applications.
Join the DZone community and get the full member experience.
Join For FreeI 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.
Dave, the organizer of the Angular Hamburg Meetup group, asked me whether I'd be interested in doing a talk. So here we are, read on for the slides, GitHub repo and video of the talk.
Contents are based on Angular version 2+.

Slides and Recorded Talk
Here’s the video of my talk:
Code Repository
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
Related Articles
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
Conclusion
Thanks Dave and Angular Hamburg for having me!
If you enjoyed this post you might want to follow me on Twitter for more news around JavaScript and Angular 2.
Published at DZone with permission of Juri Strumpflohner. See the original article here.
Opinions expressed by DZone contributors are their own.
Comments