SECTION 05 / 48
What Is a Test Case?
A test case is the triplet [I, S, R]. I is the data input to the program; S is the state of the program at which that data is input; R is the expected result.
Seller portal: after login, the user is on the catalog page, clicks “add item to the catalog” and fills the details (S). The item details are the input (I). The expected result is that the catalog page displays the new item (R).
