Testing Angular 4 (previously Angular 2) Apps with Jasmine
4.6 (198 ratings)
Instead of using a simple lifetime average, Udemy calculates a course's star rating by considering a number of different factors such as the number of ratings, the age of ratings, and the likelihood of fraudulent ratings.
3,716 students enrolled
Wishlisted Wishlist

Please confirm that you want to add Testing Angular 4 (previously Angular 2) Apps with Jasmine to your Wishlist.

Add to Wishlist

Testing Angular 4 (previously Angular 2) Apps with Jasmine

Learn to write unit and integration tests for your Angular apps and deploy them with confidence
Bestselling
4.6 (198 ratings)
Instead of using a simple lifetime average, Udemy calculates a course's star rating by considering a number of different factors such as the number of ratings, the age of ratings, and the likelihood of fraudulent ratings.
3,716 students enrolled
Created by Mosh Hamedani
Last updated 5/2017
English
English [Auto-generated]
Current price: $10 Original price: $100 Discount: 90% off
30-Day Money-Back Guarantee
Includes:
  • 2 hours on-demand video
  • 2 Articles
  • 3 Supplemental Resources
  • Full lifetime access
  • Access on mobile and TV
  • Certificate of Completion
What Will I Learn?
  • Write clean and maintainable tests for your Angular apps
  • Examine how much of your code is covered by tests
  • Write tests for re-usable components
  • Write tests for component templates
  • Write tests for forms
  • Write tests for confirmation boxes
  • Write tests for the navigation
  • Write tests for attribute directives
  • Work with asynchronous operations
  • Provide fake dependencies to components under test
  • Use spies to track function calls or replace functions
View Curriculum
Requirements
  • Familiarity with the fundamentals of Angular (Angular 2+)
Description

As your application grows in complexity, the cost of manual testing increases exponentially. Adding a new feature or fixing a bug may break several other places in the application, and covering all those edge cases with manual testing ends up being extremely painful and nearly impossible


Automated testing is a practice that has been adopted by a lot of successful software development teams over the past decade. You simply write code to test your application, and then run those tests in an automated fashion. 


Initially, your development time increases a bit because you need to write extra code to test your production code. However, that is the cost that you pay only once. Once you have those tests in place, you can run several thousands of them in just a few seconds over and over. Compare that with the time required to manually test every bit of your application! 


With automated testing, you spend less time fixing bugs and doing manual repetitive tests every time you add a new feature or fix a bug. Instead, you can spend your time doing more fun things. 


In this course, Mosh, author of several best selling courses on Udemy, takes you from the ground and gives you a solid foundation to write automated tests for your Angular apps. Whether you're an absolute beginner or have some familiarity with automated testing, this course will give you all the necessary skills to write automated tests for your Angular apps. 


You'll learn about: 

  • Automated testing concepts and tools
  • What to test and how 
  • Writing clean, maintainable and trustworthy tests that don't lie  
  • Tracking how much of your code is covered by tests 
  • Testing re-usable components
  • Testing templates
  • Testing forms
  • Testing confirmation boxes
  • Testing navigation 
  • Testing attribute directives
  • Mocking dependencies 
  • Working with asynchronous operations 


If you've taken any of Mosh's courses before, you know what you get. High quality video and audio, outstanding delivery with no mocking around. 



30-DAY FULL MONEY-BACK GUARANTEE

This course comes with a 30-day full money-back guarantee. Take the course, watch every lecture and if you feel like you haven't gained the confidence to write automated tests for your Angular apps, ask for a full refund within 30 days. All your money back, no questions asked.



ABOUT YOUR INSTRUCTOR

Mosh (Moshfegh) Hamedani is a software engineer with 15 years of professional experience. He is the author of several best-selling courses on Udemy and Pluralsight with over 74,000 students in 172 countries. His students describe him as a passionate, pragmatic and motivational instructor.


So, do you want to write automated tests for your Angular apps? 

Enroll in the course now and you'll start writing your first test in 10 minutes!


Who is the target audience?
  • Developers and QA engineers who want to write automated tests for their Angular apps
Curriculum For This Course
28 Lectures
02:11:00
+
Introduction to Automated Testing
2 Lectures 13:31
+
Unit Testing Angular Apps
11 Lectures 45:30
Unit Testing Fundamentals
07:44

Working with Strings and Arrays
03:14

Setup and Tear Down
06:05

Working with Forms
03:30

Working with Event Emitters
02:51

Working with Spies
06:56

Interaction Testing
06:26

Working with Confirmation Boxes
03:09

Limitations of Unit Tests
01:31

Code Coverage
03:30

Exercises
00:34
+
Integration Testing
15 Lectures 01:12:07
Introduction
00:44

The Setup Code
04:41

Generating the Setup Code
04:53

Testing Property and Class Bindings
07:55

Testing Event Bindings
04:59

Providing the Dependencies
02:37

Getting the Dependencies
05:48

Providing Stubs
07:11

Testing the Navigation
04:02

Dealing with Route Parameters
06:33

Testing RouterOutlet Components
07:05

Shallow Component Tests
04:54

Testing Attribute Directives
04:30

Dealing with Asynchronous Operations
05:41

Coupons to My Other Courses
00:34
About the Instructor
Mosh Hamedani
4.6 Average rating
39,096 Reviews
121,288 Students
16 Courses
Passionate Software Engineer and Best-selling Author

Mosh (Moshfegh) Hamedani is a passionate and creative software engineer with a strong focus on pragmatism and simplicity. He started programming at the age of seven on a Commodore 64. Later, during his high school years, he started learning C and C++ . In 2002, along with the first release of .NET, he shifted his focus to C#. Since then, he has been involved in the design and implementation of numerous software projects, including modern web applications, mobile apps, desktop applications and frameworks.


He started teaching on Udemy in 2014 and currently he has over 100,000 students in 182 countries. He's the author of several best-selling courses on Udemy and #1 ranking course on Pluralsight (Become a Full-stack .NET Developer). 


Mosh has a Master of Science in Network Systems and a Bachelor of Science in Software Engineering. He is also a Microsoft Certified Application Developer, Technology Specialist (Web Applications) and Professional.


Outside the software world, Mosh is a photographer, a pianist and a passionate Latin dancer.