
Let’s Get It Correct ◾ 273
using a valid user name and associated password. Figure9.4 shows one
way to express such a test case. e input conditions of this test case are
variable values or, in this case, user input that denes the test case, and
the behavior column explains how a correct program should behave for
the given input conditions. In this case we can presume that a user name
of Alisha Armstrong paired with a password of 2Dogs@Home constitutes a
valid login combination.
If a test case such as that from Figure9.4 is successful (i.e., if the pro-
gram executes for the given input conditions and produces the prescribed
behavior ...