volume_mute

Test Cases vs. Test Data

publish date2026/06/16 21:34:55.957553 UTC

volume_mute

What is the distinction between test cases and test data in the testing process?

Correct Answer

Test cases specify the inputs and expected outputs; test data are the actual inputs devised to test the system

Explanation

Test cases are specifications of inputs to the test, expected outputs from the system, and a statement of what is being tested. Test data are the actual inputs devised to test the system. Test data can sometimes be generated automatically, but test cases require human understanding to define expected results.

Reference

Software Engineering, Ian Sommerville, 10th edition


Quizzes you can take where this question appears