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

Could you tell me two things you did in your previous assignment (QA/Testing related hopefully) that you are proud of?

2 Answers   Allianz,


hi frnds! can any one help me by answering the below questions. 1.what is client server testing ? 2.what is web-based testing and what exactly tested in this ? 3.and exact difference between these two type of testing methods i can be reached on shrinivaster@gmail.com if any help needed from my side. thanks shri

3 Answers   Samsung,


How do you select test cases for Regression Testing(The point is when there is change code how do you come know which part of code or modules it will affect).

15 Answers   CTS, HCL,


I have to write test cases for Create User, Edit User, Delete User etc. Some of the steps for Create & Edit User are same. Then Should I write refer Create User [test case Id] for common test steps to write Edit User Test case? OR I have to write separate test steps even though they are repeatable in Create user & Edit User test case.

3 Answers   Emphasis,


I am new to Testing , my question is Integration Testing is a BlockBox Testing or White box testing ? please give me a answer .....

7 Answers   HCL, Zycus Infotech,


what is a test analyst? what are his responsibilities?

0 Answers  


Whether SQL knowledge is Mandatory of Software Testing or not? Briefly Explain?

4 Answers   iSoft,


Hi ALl, Can you please list out Q & A for Test Lead,which Interviewer may ask in interview for Test Lead position

0 Answers  


What are the bussiness scenories?

1 Answers  


Suppose u have a ICICI Home Page & there is a option link "Bill Payments" so once u click this link then new child window will be open where u have a 1. "amount(Text box)" 2.Auto Debit monthly (check box) & 3. "OK" & "Cancel" Button. Please write the test cases for this Integration Test cases also.

3 Answers  


as a test eng, tell me ur challenges? aug 6. plz answer

2 Answers   CTS, HP, Mannaran,


Whats the resumption and assumption criteria in Test plan? explain briefly.

2 Answers   CTS, Oneclick Testing Solutions,


Categories