Writing an Integration Test

In this lesson, you’ll learn how to write an integration test for an Ember application.

Creating a test component

Components in Ember are tested via integration, or rendering, tests. Let’s type the following command:

ember g component-test star-rating

Ember-CLI has generated the following test stub for us:

Get hands-on with 1200+ tech skills courses.