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 is unit testing? It comes under white box or Black Box
testing?

Answer Posted / krk

unit Testing is a level of the software testing process where individual units/components of a software/system are tested. The purpose is to validate that each unit of the software performs as designed.

A unit is the smallest testable part of software. It usually has one or a few inputs and usually a single output. In procedural programming a unit may be an individual program, function, procedure, etc. In object-oriented programming, the smallest unit is a method, which may belong to a base/super class, abstract class or derived/child class. (Some treat a module of an application as a unit. This is to be discouraged as there will probably be many individual units within that module.)

Unit testing frameworks, drivers, stubs and mock or fake objects are used to assist in unit testing.

METHOD

Unit Testing is performed by using the White Box Testing method.

When is it performed?

Unit Testing is the first level of testing and is performed prior to Integration Testing.

Who performs it?

Unit Testing is normally performed by software developers themselves or their peers. In rare cases it may also be performed by independent software testers.

Is This Answer Correct ?    3 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

1. what exactly is heuristic checklist approach for unit testing ?

2747


Why documentation testing is important?

2132


What is Web testing & which action we take at the time of Web Testing?

1930


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

1660


what is the most critical bug u have to find in ur project.My application is ERP based,in this purchase module is there.plz tell me the answer?

2774


Explain the manual testing process?

1234


What is Stability and Performance Testing in Testing the TV

2350


Any one please can u tell me what is composer? An interviewer asked me do u have experience in Composer? its urgent.

2067


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

1956


What exactly is quality control? Is it similar to quality assurance?

1072


i have 2.5 years of experience in manual testing and qtp. can anyone say me what kind of questions do they ask on manual testing and qtp.

3517


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

1184


What is quality center? What are the modules of quality center?

1098


What is white box testing?

1191


i need manual testing interview questions for 2+ experience plzz help me..

4560