Integration Testing
Learn about integration testing and its implementation.
We'll cover the following
Overview
Rendering or integration tests inspect how a component looks and behaves. Ember CLI creates rendering tests for components and helpers. Template rendering in DOM elements is tested by integration tests. All integration tests are present in the tests/integration
directory.
Integration tests for the admin-product
component
When we create a component using Ember CLI, it automatically creates an integration test file for us in the test/integration/components
directory. Let’s open the integration test file for the admin-prodcut
named admin-product-test.js
and see what it contains:
Get hands-on with 1400+ tech skills courses.