Question: Which statement is NOT true about testing a class interface ( i . e . , unit testing ) using black box methods? Group of
Which statement is NOT true about testing a class interface ie unit testing using black box methods?
Group of answer choices
Given a method of a class under test, the current state of both the global variables of the class and the methods parameters will be part of the input for testing the method.
When testing a class interface, usually, we can unit test each method of the class separately.
We can use stub classesmethods which act exactly in the same way as how the corresponding real classesmethods work, to make the class independent of other classesmethods during unit testing on the class.
Given a method of a class under test, both the new state of the global variables of the class and the exceptions of the method will be part of the input for testing the method.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
