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

Difference between the HotFix,ShowStopper and critical bug?

5 Answers   Infotech,


How can i understand about the concept of "State Transition" Testing. Can any Testing genius can suggest me.

2 Answers  


what are the risk factors in the project? what is the base for testplan and entry criteria ,exit criteria for test plan?

0 Answers  


What are the types of functional testing?

6 Answers  


what is the difference bug,defect,error

3 Answers  


If a interviewer ask me the duration of my project, then should i tell them the total(development+testing) time of the project? Plz tell it's urgent

6 Answers  


1.what are the different types of testing techniques ?

4 Answers   Ace Info,


What is the purpose of test strategy?

0 Answers  


Who will excatly assign the priority to the bug.. ...

5 Answers  


Plz anyone help me to write testcases for squar,Triangle,Rectangle and Circle.

3 Answers  


I heard that 2 0r 3 tier applications can be tested using Browser in the <<Intranet>> Is it correct. pls correct me

1 Answers  


can any one tell me what is the difference between Integration testing and End-End testing? plz dont tell me Integration is whitebox testing and done by developers, where as End-End is blockbox testing and done by testers.

3 Answers  


Categories