Object-Oriented Testing and Metrics Quiz
5 Questions
0 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

Match the following concepts from Object-Oriented Testing with their descriptions:

Encapsulation = The data members are effectively hidden and the test strategy needs to exercise both the access methods and the hidden data-structures Inheritance = The invocation of a given method depends Unit = In the context of Object-Oriented Testing, it broadens due to encapsulation Integration = In Object-Oriented Testing, it focuses on classes and their execution across a ‘thread’ or in the context of a usage scenario

Match the following testing methods with their descriptions:

Black-box testing = A conventional method used in Object-Oriented Testing for test case design White-box testing = A conventional method used in Object-Oriented Testing for test case design Encapsulation testing = A method used in Object-Oriented Testing to exercise both the access methods and the hidden data-structures Inheritance testing = A method used in Object-Oriented Testing where the invocation of a given method depends

Match the following Object-Oriented concepts with their testing implications:

Encapsulation = Makes testing more complicated because the data members are effectively hidden Inheritance = Makes testing more complicated because the invocation of a given method depends Unit = In the context of Object-Oriented Testing, its definition broadens due to encapsulation Integration = In Object-Oriented Testing, it focuses on classes and their execution across a ‘thread’ or in the context of a usage scenario

Match the following Object-Oriented Testing strategies with their descriptions:

<p>Encapsulation and inheritance make testing more complicated = A general statement about the implications of these concepts on testing Conventional black box methods = Used in Object-Oriented Testing for test case design, along with white-box testing Special features = Part of the test case design in Object-Oriented Testing, along with conventional methods Unit broadens due to encapsulation = A change in definition in Object-Oriented Testing strategy</p> Signup and view all the answers

Match the following Object-Oriented Testing concepts with their testing requirements:

<p>Encapsulation = Requires the test strategy to exercise both the access methods and the hidden data-structures Inheritance = Requires the test strategy to consider the dependence on method invocation Unit = In the context of Object-Oriented Testing, it requires the test strategy to consider its broadened definition due to encapsulation Integration = In Object-Oriented Testing, it requires the test strategy to focus on classes and their execution across a ‘thread’ or in the context of a usage scenario</p> Signup and view all the answers

More Like This

Use Quizgecko on...
Browser
Browser