How Object Oriented Testing Is Different from Procedural Testing
In Procedural Programming, Program Is Divided into Small Parts Called Functions. in Object Oriented Programming, Program Is Divided into Small Parts Called...
In procedural programming, program is divided into small parts called functions. In object oriented programming, program is divided into small parts called objects. Procedural programming follows top down approach. Object oriented programming follows bottom up approach.
How is object oriented programming different from procedural programming?
Object-oriented Programming uses classes and objects, Procedural Programming takes on applications by solving problems from the top of the code down to the bottom. This happens when a program starts with a problem and then breaks that problem down into smaller sub-problems or sub-procedures.
Why is testing oop different from testing other types of code?
This method of testing does not find all types of errors. However, incorrect specification and interface errors can be missed. These types of errors can be uncovered by function testing in the traditional testing model. In the object-oriented model, interaction errors can be uncovered by scenario-based testing.