Testing Angular
  • Overview
  • Overview
  • 1. Create a new Angular CLI application
  • 2. Run default tests
  • 3. Review the Angular CLI directory and testing tools set up
  • 4. Jasmine tests
  • 5. Add simple test
  • 6. Add simple failing test
  • 7. Add another test to check a property
  • 8. Test the Component logic using a mocked up Service
  • 9. Test the Component logic using SpyOn
  • 10. TestBed and Fixtures
Powered by GitBook
On this page

Overview

1. Overview

You can skip the first two steps if you want to jump directly to the working app and start writing tests by following the commands below in the "Code repository" section.

In this module, we will create a simple application to get and display Chuck Norris Jokes

Learning Outcomes

  • How to use the default testing tools in an Angular CLI Application

  • How to install and configure WallabyJS

PreviousOverviewNext1. Create a new Angular CLI application

Last updated 6 years ago