Unit Testing AngularJS: Build Bugfree Apps That Always Work! (Udemy.com)
Learn how to use Karma, Jasmine and Istanbul to quickly set up automated unit tests for your AngularJS applications
Created by: Matthias Kentzia
Last updated March 2016
What you will learn
- Build great AngularJS 1.X applications that will never fail unexpectedly
- Gain the required skills to use the most popular AngularJS testing tools, including Karma, Jasmine and Istanbul
- Spend more time creating amazing new features instead of fixing bugs
- Use Test Coverage to analyse and identify weak points in the code base
- Create and debug automated Unit tests that make sure every line of code does its job
How it compares
Against the other 95 rated Udemy courses in Angular on CourseDuck:
- Rating4.5 out of 5higher than 55% of them
- Reviews655#57 of 96 by number of reviews
- Length2.5 hoursshorter than 89% of them
- Last updatedMarch 2016earlier than 95% of them
Course Description
Read on to learn why testing your Angular code can help you build stronger apps that always work when you need them to.
When I first started using Angular for our projects, I fell in love with just how easy it was to create apps which looked and worked great.
But as the apps we developed became more complex, and the number of people working on the same codebase grew, it became more and more difficult to keep track of all the changes happening in the code and what its actually meant to be doing, which lead to a lot of bugs and headaches.
Re-writing or fixing broken code is not only frustratingly boring, its also a massive waste of time and money.
So Id like to help you out, by showing you how learning about testing AngularJS apps will save you from falling into the same situation.
Hi, Im Matt and in this course Ill walk you through how to Unit Test AngularJS code so that your app will never again break unexpectedly.
After completing this course youll be able to implement unit tests in your own Angular app, so that you can spend less time on fixing bugs and just focus on the fun parts of development!
Whether you're a developer or a quality insurance engineer, you'll learn skills in this course which apply to any AngularJS environment.
Youll learn about:
Testing concepts, tools and why you should testImplementing code coverage in Angular using Istanbul and analysing the results to identify weak points in our tests and in our codeHow to setup Karma and Jasmine from scratchTracking function calls and events using spiesHow to test custom controllers, filters and servicesHow to mock dependencies using $provide and spiesKeeping code DRY using Jasmines beforeEach() and afteEach() functionsTesting custom directives JS code and the HTML templateHow to test for backend AJAX calls, timeouts and promisesDebugging Karma to easily solve any problems with your unit tests
If youre not convinced about enrolling in the Unit Testing AngularJS course and learning about using Karma and Jasmine testing in Angular, take a look at the free preview videos and let me show you how to make your code rock solid so that it stands the test of time!
Who this course is for:
This course is for developers and QA engineers who would like to learn how to write automated tests for their AngularJS apps in order to spend less time fixing bugs.
This course is NOT for developers who have never created an AngularJS app and want to learn about AngularJS in general
Instructor Details
- 4.5 Rating
655 Reviews
Matthias Kentzia
Hi, I'm Matt.
I'm a software developer who loves to use the latest technologies to create amazing applications that help people but I'm also super into entrepreneurship and continuos self-improvement.
I live on the sunny island of Malta in the middle of the Mediterranean. Life's not too bad really, but I'm always looking for ways to make it better by learning how to be better.
For all the topics covered by my courses, I was in exactly the same position as you are right now. I wasn't an expert, I was a beginner. I read books, followed blogs and completed courses to learn new things and become better at what I do. By making myself better I became an expert.
And now I'd like to share all the knowledge that I've gained with you - with all the mistakes, head-scratching and "aha!" moments still fresh in my mind. I'm determined to make all my courses useful, memorable, easy to follow and fun - most importantly, I want my courses to help you become better.
More Angular courses
Single Page Web Applications with AngularJS (2018)
5.0 (480 Reviews)
Provider: Coursera
Time: 15.5h
Free
Angular (Full App) with Angular Material, Angularfire & NgRx (2024)
4.7 (8,695 Reviews)
Provider: Udemy
Time: 11.3h
$14.99
Learn to build an e-commerce app with .Net Core and Angular (2026)
4.7 (4,985 Reviews)
Provider: Udemy
Time: 31.1h
$13.99
Complete Angular 22 - Ultimate Guide - with Real World App (2026)
4.7 (4,509 Reviews)
Provider: Udemy
Time: 43.5h
$84.99
Reviews
By Anna Lyvytska on 11/8/2020
Why naming the section as "Filter and Services" and telling only about filters? The same with the "Timeouts and Promises" were there is not a word about promises?
By Stanislav Mestechkin on 11/8/2020
Excellent course
By Luis Pablo Zagarella on 7/14/2020
los subttulos no funcionan
By Meital Valenci on 7/9/2020
the code is always written in the bottom part of the screen which is not so comparable to see. The progress bar sometimes hide it
By Soumyadip Mitra on 4/21/2020
I am looking for an angular app created using npm and nodejs and then adding some component there and writing tests in Typescript. But that is not the case here it seems. Not helpful for me.
By Ninad Kukdolkar on 4/9/2020
Instructor is straight to the point. He has thorough knowledge of writing unit tests. This course is great to learn writing tests for angular applications.
By Inam Ahmed on 1/13/2020
Good short course! Covering the most of the sections.
By Rafael Valenzuela on 10/3/2019
detailed and well explained!
By James Peckham on 9/9/2019
i think this is a little dated... why use bower if you already have npm? what is hosting the app, not everyone has that IDE. I used webpack-dev-server to get going. I'll keep chugging away and see if i can learn something :)
By Hatice Aydin on 8/2/2019
Es ist gut berschaubar erklrt. Der letzte Part ist echt super mit den Beispielen
By Joe Faulstick on 7/12/2019
Clear, practical examples make this course a terrific match for angular users who are just diving into unit testing.
By Rodolfo Holguin on 7/10/2019
Though the course is a little short, it mets with the expectations since it covers the most important cases to remove obstacles that commonly the developers face at starting unit tests implementation for an angularjs applications.
Quality Score
No CourseDuck member has rated this course yet. Taken it? Give each part a thumbs up or down.
Overall Score : 90 / 100






