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?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the defect life cycle.

1108


How do you know the code has met specifications?

1491


Please anyone give answers for all below questions and help ? realtimers please and please share your knowledge.lot of questions left unanswered.

2015


what is date field test case

2041


What is difference between Manual testing and Pega/BPM testing?

8251


what kind of testing have u done?

2069


Hi If anyone from banglore want to know the real time senario like writting Test cases and how things actually happens in a company. I am taking a 2 hours class which will cover all the real time experiance and guidence for job. classes are counducted only at weekends. for further queries mail me at vinodhanandhan@gmail.com Vinodh Anandhan Software Test Engineer vinodhanandhan@gmail.com

2010


How do test documents in a project span across the software development lifecycle?

1723


How do u prepare test environment for ur application?

2203


What's the relationship between environment reality and test phases?

1536


What is XML Testing? Do we have any tools to test the XML? Please let me know.

2234


why QA team is necessary for an organization?

3131


tell me 5 new requirements in ur project? plz urgent

2456


How would you test a service oriented architecture (soa) web application?

1251


If client give you a project then which testing you will perform first

1376