Course Highlights
  • 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
Skills you will learn!
Curriculum

3 Topics
What is Automated Testing
Types of Tests
Asking Questions

11 Topics
Unit Testing Fundamentals
Working with Strings and Arrays
Setup and Tear Down
Working with Forms
Working with Event Emitters
Working with Spies
Interaction Testing
Working with Confirmation Boxes
Limitations of Unit Tests
Code Coverage
Exercises

15 Topics
Introduction
The Setup Code
Generating the Setup Code
Testing Property and Class Bindings
Testing Event Bindings
Providing the Dependencies
Getting the Dependencies
Providing Stubs
Testing the Navigation
Dealing with Route Parameters
Testing RouterOutlet Components
Shallow Component Tests
Testing Attribute Directives
Dealing with Asynchronous Operations
Coupons to My Other Courses

  Write a Review

Testing Angular 4 (previously Angular 2) Apps with Jasmine

Go to Paid Course