You are on page 1of 3

UNIT TEST CASES TEMPLATE:

Step
#


Description


Test Conditions


Expected Results
Actual
Results,
Pass or
Fail
(P or F)
Tested
By
SAP-
CMS
Inter
faces



1 Check for the
total count of
records in
source tables
that is fetched
and the total
records in the
PRCHG table
for a perticular
session
timestamp

SOURCE:

SELECT count(*) FROM
XST_PRCHG_STG


TARGET:

Select count(*) from
_PRCHG
Both the source and target
table load record count
should match.

Should be
same as the
expected

Pass Stev
2 Check for all
the target
columns
whether they
are getting
populated
correctly with
source data.

select PRCHG_ID,
PRCHG_DESC,
DEPT_NBR,
EVNT_CTG_CDE,
PRCHG_TYP_CDE,
PRCHG_ST_CDE,
from T_PRCHG

MINUS

select PRCHG_ID,
PRCHG_DESC,
DEPT_NBR,
EVNT_CTG_CDE,
PRCHG_TYP_CDE,
PRCHG_ST_CDE,
from PRCHG
Both the source and target
table record values should
return zero records

Should be
same as the
expected

Pass Stev
3 Check for
Insert strategy
to load records
into target
table.

Identify a one record from
the source which is not in
target table. Then run the
session
It should insert a record into
target table with source data
Should be
same as the
expected

Pass Stev


Step
#


Description


Test Conditions


Expected Results
Actual
Results,
Pass or
Fail
(P or F)
Tested
By
4 Check for
Update
strategy to load
records into
target table.

Identify a one Record from
the source which is already
present in the target table
with different
PRCHG_ST_CDE or
PRCHG_TYP_CDE values
Then run the session
It should update record into
target table with source
data for that existing record

Should be
same as the
expected

Pass Stev

QA Process Cycle:

Software QA involves the entire software development PROCESS - monitoring and improving
the process.

The philosophy of Quality Assurance for software systems development is to ensure the system
meets or exceeds the agreed upon requirements of the end-users; thus creating a high-quality,
fully-functional and user-friendly application.

Phase I: Requirements Gathering, Documentation and Agreement

Phase II: Establishing Project Standards

Phase III: Test Planning

Phase IV: Test Case Development

Phase V: QA Testing

Phase VI: User Acceptance Testing

Phase VII: System Validation

QA Life Cycle consists of 5 types of
Testing regimens:

1. Unit Testing
2. Functional Testing
3. System Integration Testing
4. User Acceptance Testing


Unit testing:

The testing, by development, of the application modules to verify each unit
(module) itself meets the accepted user requirements and design and development standards

Functional Testing:

The testing of all the applications modules individually to ensure the
modules, as released from development to QA, work together as designed and meet the accepted
user requirements and system standards

System Integration Testing:

Testing of all of the application modules in the same
environment, database instance, network and inter-related applications, as it would function in
production. This includes security, volume and stress testing.

User Acceptance Testing(UAT):

The testing of the entire application by the end-users
ensuring the application functions as set forth in the system requirements documents and that the
system meets the business needs

You might also like