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

Password is having 6 digit alphanumeric then what are the possible input conditions?

1197


Does an increase in testing always improve the project?

1822


1.what is the approach while writing test cases in your project. 2.tell some intresting scenareo in your project

2266


What is deferred status in defect life cycle?

1217


Hi, this is not a tech question, i have 4 yrs of experience in Mainframe systems, presently as a mainframe tester in pune, i just want to step towards south locatios(preferable hyd), suggest me the best way to get calls from hyd.

2129


aplitue questions will be based on wich type ?

2525


What about the test case if the field only takes a certain number of characters or a minimum number?

1184


What is the difference between system testing and integration testing?

1167


What is Difference between Test Strategy and Test Methodology?

2303


Hi, Anybody knows about Hexaware company..

2099


What is Bomb Testing?

2263


what is system testing? as test eng, what do u do in sys testing? who invoves in sys testing?

2316


difference between change management and configuration management

2119


Explain the procedure for manual testing.

1152


What is srs and brs document?

1161