what is test case in software testing code example

Example 1: 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.

Example 2: what test case should contains

What does Test Case consist 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.

Tags:

Go Example