Course Code: ang6testded
Duration: 21 hours
Prerequisites:

-

Overview:

_

Course Outline:

Module 1. Introduction to test
Setup the test environment
Understanding Jasmine and Karma
Other test frameworks
Set up continuous integration
Enable code coverage reports
Understanding Utility APIs
The TestBed class
The ComponentFixture class
ComponentFixture methods

Module 2. Service Tests
Testing Services with dependencies
Testing services with the TestBed
Testing without beforeEach()
Testing HTTP services
The role of HttpClientTestingModule

Module 3. Component Tests
Component Test Basics
Component class and DOM testing
Understanding Component Test Scenarios
The Component binding
Testing Component with external files
Testing Component with a dependency
Provide service test doubles
Component with async service
Component with inputs and outputs

Module 4. Testing forms
Testing reactive forms
Testing template driven form

Module 5. Testing routing
Routing and Routed components
Testing with ActivatedRouteStub
Nested component tests
Components with RouterLink

Module 6. Directive Testing
Attribute directive testing
Structural directive testing

Module 7. Testing Pipes 
Pipe Testing introduction
Testing in isolation