Multiple choice technology testing

Class testing

  1. Require a driver to test

  2. No need of instances of other classes

  3. No need to test the transitions

  4. All of the above.

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

Class testing (unit testing for classes) requires a driver - test code that instantiates the class, calls its methods, and verifies results. Classes typically DO need instances of other classes (dependencies) to test interactions, and transitions between states should be tested. Option A correctly identifies that drivers are essential; B and C are incorrect.