Loopskey-logo
CourseTechnology

Test your Angular web application using Jasmine and Karma

By External Provider

Price

Free

Go to content

Opens coursera.org in a new tab

Level

INTERMEDIATE

Duration

2 h

About this course

In this 1-hour long project-based course, you will learn how to generate a new Angular project, create components and write unit tests in the spec file. You will learn how to bootstrap your tests, and will test the presence of text and the action of clicking a button. You will test the presence of HTML attributes, and the passage of data from a parent component to a child component. Note: This course works best for learners who are based in the North America region. We’re currently working on providing the same experience in other regions.

What you will learn

  • Understand how the Jasmine test framework apply unit testing to Angular apps
  • Understand how Karma spawns test instances
  • Understand how to write unit tests in Jasmine