Angular 2 Unit Testing

Topics 

  • Why testing Angular apps? 
  • Introduction to Jasmine 
  • Introduction on Karma 
  • Unit-testing Angular app 
    • Testing components 
    • Testing services

Why Testing Angular Apps?

Angular is designed with testing in mind 

  • The built-in dependency injection makes unit testing easy – dependency objects can be mock objects during testing 
  • Separation of concerns (component class is separated from template) makes it easier to test

You must have an active subscription to download PDF and Lab Zip of this course topic.Please click the "Subscribe" button or the "Login" button if you already have an account.