63.0k views
3 votes
Which of the following provides the definition of the term test case?

A. Subset of the value domain of a variable within a component or system in which all valuesare expected to be treated the same based on the specification
B. A set of preconditions, inputs, actions, expected results and post conditions, developed based on test conditions
C. Work products produced during the test process for use in planning, designing, executing, evaluating, and reporting on testing
D. A source to determine an expected result to compare with the actual result of the system under test

User LeMike
by
8.0k points

1 Answer

3 votes

Final answer:

A test case is a comprehensive scenario in software testing, including initial conditions, test actions, and expected outcomes, to validate a system's functionality.

Step-by-step explanation:

A test case, as defined in option B, is 'A set of preconditions, inputs, actions, expected results, and post-conditions, developed based on test conditions.' This definition encapsulates the comprehensive nature of a test case in software testing or systems engineering. It is not merely a single input or output but a scenario including the environment set-up (preconditions), the tests to be executed (inputs and actions), what outcome is expected (expected results), and the state after the test has been conducted (postconditions).

User Bradley Campbell
by
7.9k points