Course content

Test Doubles: Input Quiz

10 XP

0 Total Views
0 Members Views
0 Public Views
0 Dislikes
Share on Social Networks
Share Link
Share by mail

Please login to share this quiz by email.

1. When providing test inputs for test doubles, we want to use ____ and ____.
2. During constructing test doubles, you wish to provide outputs for just a handful of values. What do you use?
3. During testing, you find that the unit tests require the use of a computationally expensive database. What could you use as a test double?
4. In Mockito, there is a distiction between the roles that a class plays and how you construct it. The roles of a test double are stub, mock, and dummy (or all three). How you construct them in Mockito is the same.