From the course: Learning Selenium
Unlock the full course today
Join today to access over 24,700 courses taught by industry experts.
The test pyramid - Selenium Tutorial
From the course: Learning Selenium
The test pyramid
- [Instructor] The test pyramid explains an ideal way to structure tests. It is a visual representation intended to guide the coverage of tests that should exist at various levels within the application. The test pyramid typically has three layers, which represent unit, integration, and UI level tests. Unit tests are always at the bottom of the pyramid. They just hit the server and verify a result. Unit tests test a single function. They are the fastest and able to run in seconds. And there should always be the most number of unit tests, which is why they are at the bottom of the pyramid. In the middle there are integration or service level tests. These level of tests involve multiple services and how they work together. These tests create their own data and are a bit slower. They run in the range of tens of seconds. There should be a decent amount of integration level tests. UI tests are at the top. This is where Selenium tests are. They are extremely valuable, because they test…
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.