Before explaining Usecase Testing lets first understand what is a UseCase
- A Usecase is a description of a particular use of the system by the end user of the system.
- Usecases are a sequence of steps that describe the interactions between the user and the software system.
- Each usecase describes the interactions the end user has with the software system in order to achieve a specific task.
What is Usecase Testing?
Usecase testing is a technique that helps us identify test cases that exercise the whole system on a transaction by transaction basis from start to finish.
Usecases are defined in terms of the end user and not the system, use case describe what the user does and what the user sees rather than what inputs the software system expects and what the system outputs.
Usecases use the business language rather than technical terms.
Each usecase must specify any preconditions that need to be met for the use case to work. Use cases must also specify post conditions that are observable results and a description of the final state of the system after the use case has been executed successfully.