IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

How is UNIT TESTING performed


IBM Mainframe Forums -> Mainframe Interview Questions
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
mf_karthik

New User


Joined: 26 Jul 2005
Posts: 55

PostPosted: Sun Jul 31, 2005 8:31 am
Reply with quote

HI
HOW IS UNIT TESTING PERFORMED?
EXPLAIN IT CLEARLY WITH PROCEDURES AND SMALL EXAMPLES
Back to top
View user's profile Send private message
priya

Moderator


Joined: 24 Jul 2003
Posts: 568
Location: Bangalore

PostPosted: Wed Aug 10, 2005 7:38 pm
Reply with quote

Using test cases.
Back to top
View user's profile Send private message
shivashunmugam Muthu

Active User


Joined: 22 Jul 2005
Posts: 114
Location: Chennai

PostPosted: Thu Aug 11, 2005 9:18 am
Reply with quote

Hi Karthik,

In SDLC, after completing the design doc, we have to prepare Unit Test cases.

UNIT TEST CASE doc is nothing but defining test cases for the required functionality unit wise. Like verifying all exceptions..(file open/clsoe/read/write....If cond/While cond & also for some functional validation). Test case should contain test scenario & expected outcome. During test case, we will ptrepare the test data as well.

After CODING phase, we will execute our object & verify the results according to the TEST CASE we written earlier.

This is the funda....Hope it clears....

Thanks

Shiva
Back to top
View user's profile Send private message
karthi_ind

Active User


Joined: 24 Feb 2004
Posts: 131
Location: Chennai

PostPosted: Sun Aug 21, 2005 4:48 pm
Reply with quote

hi karthi

Actually unit testing is nothing but the
testing done by the programmer itself and
to verify whether the code changes done by him
is working fine or not.

Once we finished coding for our maintenance or
enhancement work, we hve to start testing .
For testing we hve to prepare test cases.

We can prepare test cases in excel sheets.
The cols in the test cases are

Serial no
Test scenario
Expected Outcome
Actual outcome
Result (Pass/Fail)

We hve to take sample datas from test systems and test the program.
Test case should be as simple in simple english statements so that anyone can understand.

Hope it clears ur doubts

Karthi G.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> Mainframe Interview Questions

 


Similar Topics
Topic Forum Replies
No new posts Related to Unit Testing Testing & Performance 2
No new posts Finding Esoteric Unit Names Programma... All Other Mainframe Topics 2
No new posts IMS DB / DB2 simulator for ETL testin... IMS DB/DC 1
No new posts Regression testing of date format con... CLIST & REXX 0
No new posts UNIT=AFF for Easytrieve code JCL & VSAM 7
Search our Forums:

Back to Top