Over a million developers have joined DZone.

Testing With Angular 2: Some Recipes (Talk and Slides)

DZone's Guide to

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.

· Web Dev Zone ·
Free Resource

Learn how error monitoring with Sentry closes the gap between the product team and your customers. With Sentry, you can focus on what you do best: building and scaling software that makes your users’ lives better.

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.

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

Image title

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.

Image title

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.


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.

What’s the best way to boost the efficiency of your product team and ship with confidence? Check out this ebook to learn how Sentry's real-time error monitoring helps developers stay in their workflow to fix bugs before the user even knows there’s a problem.

recipes ,code ,meetup ,github ,repo

Published at DZone with permission of

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}