Test Case Writing
Test Case Writing
Content
System Study
Analysis
Test Plan
Regression Test
5
Test Plan…
• Test plan usually contains
▫ Test unit specs: what units need to be tested
separately
▫ Features to be tested: functionality, performance,
usability,…
▫ Approach: criteria to be used, when to stop, how
to evaluate, etc
▫ Test deliverables
▫ Schedule and task allocation
6
Test case specifications
A test case is a specific procedure
of testing a particular
requirement.
It will include:
• Identification of specific
requirement to be tested
• Specific steps to execute test
• Parameter values for the test
• expected outcome of the test
Test case specifications
• Test plan focuses on approach; does not deal
with details of testing a unit
• Test case specification has to be done separately
for each unit
• Based on the plan (approach, features,..) test
cases are determined for a unit
• Expected outcome also needs to be specified for
each test case
8
Test case specifications…
• Together the set of test cases should detect most
of the defects
Testing
10
Test Case TC_YM_001
Name
Test Script The objective of this Test script is to check whether the user is successfully able
Description to log in the yahoo mail and check the e-mail .
Components Login form page and Inbox module of yahoo website are tested
Tested
Start Time:
Tester Name:
Test Date: End Time:
Comments:
Pass (Yes / No):