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 is diff between stress & load testing

8 Answers   Sonata,


Give me an example when black box testing will not able to detect a bug which white box will detect?

2 Answers   Nelito,


Please give me any example of High severity and Low priority type of bug ?

7 Answers   TCS,


Hi all. I have 2 years exp in manual testing.Now i want to shift.i got so many email from other company that send ur cv .After sending no response from them .whats the reason.

1 Answers  


why we need to write test cases?

3 Answers   ABC, eClerx, Sling Solutions, Tech Mahindra,


Wht is the Test Harness, Anybody can explain it in Detail..Thanks in advance...

4 Answers   Symphony,


If any customer will raise the change request, it falls under developer part or QA part?

1 Answers  


How do you measure a quality of the product ?

1 Answers  


At what stage unit testing has to be done?

3 Answers  


What kind of inputs do we need from the end user to start proper testing?

1 Answers  


What is Testing Life Cycle. Explain Briefly?

2 Answers  


What we do in performance testing? Is it possible without any tool?

2 Answers  


Categories