Object-Oriented Testing and Metrics Quiz
5 Questions
1 Views

Choose a study mode

Play Quiz
Study Flashcards
Spaced Repetition
Chat to lesson

Podcast

Play an AI-generated podcast conversation about this lesson

Questions and Answers

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

<p>black box</p> Signup and view all the answers

The data members are effectively hidden and the test strategy needs to exercise both the access methods and the hidden ______

<p>data-structures</p> Signup and view all the answers

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

Studying That Suits You

Use AI to generate personalized quizzes and flashcards to suit your learning preferences.

Quiz Team

Description

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.

More Like This

Use Quizgecko on...
Browser
Browser