Multiple choice technology testing

A test case has which of the following elements?

  1. A test environment description and test instructions.

  2. A set of inputs, execution preconditions, and expected outcomes

  3. A test plan, test inputs, and logging instructions.

  4. Execution instructions and a function description to determine correct outcome.

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

This is a duplicate of question 158656. A test case is formally defined as a set of inputs, execution preconditions, and expected outcomes. Option B is the only complete, accurate definition. Options A, C, and D either omit essential elements or include elements not part of the standard test case definition.