¶ … top-down and bottom-up programming, testing in these two specific situations is obviously adapted to the specifics of each type of programming.
In this sense, because top-down programming implies that the initial program's functionality is divided into a series of subroutines and each further divided into sub-functions until the smallest remaining unit, testing in this case will be applied to each component in part and will address the functionalities of each unit. The tester, in many cases assimilated to the programmer here, will check that the graph he has designed actually reflects the mathematical requirements or that the Save button actually does what it is supposed to.
On the other hand, because of the particularities of bottom-up programming, bottom-up testing will comprise the entire system's functionality, being referred to, in this case, as integration testing
. In my opinion, such testing may prove more difficult because of the encompassing view it needs to have. In this sense, the tester is not interested only in discovering the particular components' functionality, but also needs to see how these components fit together in the overall functionality of the application. The second type of testing may, in this sense, include the first.
A test script is a most helpful element in both cases, but particularly in the latter. Indeed, this points out to...
Our semester plans gives you unlimited, unrestricted access to our entire library of resources —writing tools, guides, example essays, tutorials, class notes, and more.
Get Started Now