From the course: Test Automation Foundations
Unlock the full course today
Join today to access over 24,300 courses taught by industry experts.
Integration tests - Selenium Tutorial
From the course: Test Automation Foundations
Integration tests
- [Instructor] Integration tests help to provide confidence that all parts of an application work seamlessly together. While unit testing focuses on individual small parts, integration tests focus on the whole. They can detect unexpected failures that happen where one part of the application is fixed and another is broken. Not all units are pure and unit testable. Some units can only be tested as part of a bigger process. Integration tests should cover important cross-module processes. I want to now show an example of an integration test for the stickerfy test application. To do so, I'll hop over to Adam and open my integration test class. Once Adam is open, I will navigate to the integration test class by going to test, integration and opening up order.spec.js. This is another MOCA test written in a behavior driven development way to describe orders of stickers. The test suite uses the assertion library chai and a…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.