software testing test cases code example
Example: what does a test case consists of
It is documentation which describes step by step how to perform testing.
It includes:
- test case ID (TC ID)
- test case name (TC Name)
- pre-condition
- step definitions
- test data
- expected/actual result
- pass/fail
Tester creates test cases.