Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


What should be tested when Unit Testing is conducted?



What should be tested when Unit Testing is conducted?..

Answer / ramyab.mca@gmail.com

Hai...

What should be tested when Unit Testing: A lot depends on
the type of program or unit that is being created. It could
be a screen or a component or a web service. Broadly the
following aspects should be considered:

a. For a UI screen include test cases to verify all the
screen elements that need to appear on the screens
b. For a UI screen include Test cases to verify the
spelling/font/size of all the “labels” or text that appears
on the screen
c. Create Test Cases such that every line of code in the
unit is tested at least once in a test cycle
d. Create Test Cases such that every condition in case
of “conditional statements” is tested once
e. Create Test Cases to test the minimum/maximum range of
data that can be entered. For example what is the
maximum “amount” that can be entered or the max length of
string that can be entered or passed in as a parameter
f. Create Test Cases to verify how various errors are
handled
g. Create Test Cases to verify if all the validations are
being performed

K,Byeeee...
Thanks & Regards
B.Ramyasri

Is This Answer Correct ?    2 Yes 0 No

Post New Answer

More Manual Testing Interview Questions

What are the cases why parameterization is necessary when load testing the Web server and the database server?

0 Answers  


what are the ways to crash an application when it is unter testing?

3 Answers   Keane India Ltd,


Can we use automation tools during static testing? If yes when and how?

3 Answers  


Are Test Condition and Test Description/Procedure are different? Please Reply

1 Answers  


Can anybody provide me links for the ISTQB certification materials?

4 Answers   CSS,


why you choosed testing as a carrer?

7 Answers   Verizon,


what is the difference b/n DPD(Defect profile document) and DRD(Defect Report document).

1 Answers   Zensar,


What is state transition?

0 Answers  


How to test the Fire walls?

1 Answers   Vyons Labs,


what is prototyping model,RAD model V model, spiral model?????

0 Answers  


What is TestWare?

1 Answers  


what is proto type model?

4 Answers  


Categories