Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

How is UNIT TESTING performed

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Mainframe Interview Questions
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    Post subject: How is UNIT TESTING performed
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    Post subject:
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    Post subject: Re: How is UNIT TESTING performed
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    Post subject: Re: How is UNIT TESTING performed
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    IBMMAINFRAMES.com Support Forums -> Mainframe Interview Questions All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Testing rerad cursor for status with ... John F Dutcher DB2 8 Fri May 19, 2017 9:35 pm
No new posts Testing for equality himanshu_pant COBOL Programming 6 Fri Jul 10, 2015 9:19 pm
This topic is locked: you cannot edit posts or make replies. Job Opening for Mainframe Testing Pro... gaurav.rajvanshi Mainframe Jobs 0 Thu Mar 19, 2015 2:23 pm
No new posts ADABAS to DB2 Data migration Testing Ashish.Srivastava.123 DB2 0 Fri Mar 06, 2015 2:13 am
No new posts Performance testing - Channels and Co... madhand Testing & Performance analysis 1 Tue Jan 20, 2015 10:14 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us