In this video, Meaghan Lewis shows a couple examples of integration tests written for a shopping test application. Learners can gain a better understanding of types of integration tests that can be written and how they are structured.
- [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 can happen…where one part of the application…is fixed and another is broken.…Not all units are peer 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 mocha test written in a behavior driven…development way to describe orders of stickers.…
The test suite uses the assertion library chai…and a plug-in called chaiHttp…which provides functionality to do integration testing.…The beforeEach block in this test…
- The test pyramid
- Unit, integration, and UI tests
- Creating an automation strategy
- Choosing test tools
- Deciding what to automation
- Identifying the risks and cost of automation
- Implementing test automation
- Using continuous integration
- Measuring code coverage
Skill Level Beginner
Value of automation1m 24s
1. Test Types
2. How to Approach Automation
3. Testing Tools
4. Decide What to Automate
5. Adopt Test Automation
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.