16
What is the difference between a use case and a test case?
Use Cases and Test Cases are two important terms in the context of Software Testing. A use case tells how a System will behave or perform a certain task provided the given conditions and a test case contains the actual test data, set of instructions to the system and the expected result of the interaction with the system
Following are the important difference between Use Case and Test Case.
Sr. No. | Key | Use Case | Test Case |
---|---|---|---|
1 | Objective | The objective of the Use case is to ascertain a certain output after the set of operations. | The objective of the test case is to ensure that system is working fine for each given instruction and yields the required result. |
2 | Definition | Use case is a representation of actions that describes the behaviour of the system to do a particular task. | A test case contains the test data, a set of instructions to follow and a result(s) of following the instructions. |
3 | Source | Use cases are prepared on requirements. | Test cases are prepared on Use cases. |
4 | Required | Requirement documents. | Test Data, Test Scripts. |
5 | Output | End result is important and all steps are to be executed together in a use case. | All steps are important and may have a separate result. |
6 | User | Business users execute use cases. | Testers execute test cases. |
Industry connect
Comments
Post a Comment