An Easier Journey: Top to Bottom

Let's explore the "top to bottom" approach in testing.

We'll cover the following

Top to bottom approach

When you are an experienced tester, approaching a test suite is smooth sailing, but learning how to test properly is not an easy journey.

Testing is expensive at the beginning. Everything is new, the examples implemented might not work, and debugging a test can be difficult.

Approaching a test suite from the bottom to the top does not help. Bottom-to-top (or bottom-up) testing involves testing low-level modules first, then testing high-level modules afterward. Top to bottom testing involves verifying that high-level modules work first (end-to-end testing), then testing lower-level modules (unit tests).

Get hands-on with 1200+ tech skills courses.