5 Questions
Begin by evaluating the correctness and consistency of the OOA (Object Oriented Analysis) and ______ models
OOD (Object Oriented Design)
The concept of the 'unit' broadens due to ______
encapsulation
Integration focuses on ______ and their execution across a 'thread' or in the context of a usage scenario
classes
Validation uses conventional ______ methods
black box
The data members are effectively hidden and the test strategy needs to exercise both the access methods and the hidden ______
data-structures
Study Notes
Object-Oriented Testing Guidelines
- Begin by evaluating the correctness and consistency of the Object-Oriented Analysis (OOA) and Object-Oriented Design (OOD) models
- Recognize that the testing strategy changes in object-oriented testing
- The concept of the ‘unit’ broadens due to encapsulation
- Integration focuses on classes and their execution across a ‘thread’ or in the context of a usage scenario
- Validation uses conventional black box methods
- Test case design draws on conventional methods (black-box testing and white-box testing) and special features of object-oriented testing
Object-Oriented Testing (OOT) Strategy
- Encapsulation and inheritance make testing more complicated
- Encapsulation: data members are effectively hidden, so the test strategy needs to exercise both the access methods and the hidden data-structures
- Inheritance (and polymorphism): the invocation of a given method depends on the context and type of the object being tested
Test your knowledge on object-oriented testing and metrics with this quiz. Learn about guidelines for evaluating OOA and OOD models, understand how the testing strategy changes, and explore the concept of 'unit' in object-oriented testing.
Make Your Own Quizzes and Flashcards
Convert your notes into interactive study material.
Get started for free