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 Difference between White-box Testing and Unit
testing?

Answer Posted / priya

White box testing (a.k.a. clear box testing, glass box
testing, transparent box testing, or structural testing) is
a method of testing software that tests internal structures
or workings of an application as opposed to its
functionality (black box testing). An internal perspective
of the system, as well as programming skills, are required
and used to design test cases. The tester chooses inputs to
exercise paths through the code and determine the
appropriate outputs. It is analogous to testing nodes in a
circuit, e.g. in-circuit testing (ICT).
While white box testing can be applied at the unit,
integration and system levels of the software testing
process, it is usually done at the unit level. It can test
paths within a unit, paths between units during
integration, and between subsystems during a system level
test. Though this method of test design can uncover many
errors or problems, it might not detect unimplemented parts
of the specification or missing requirements.
White box test design techniques include:
a. Control flow testing
b. Data flow testing
c. Branch testing
d. Path testing

In computer programming, unit testing is a method by which
individual units of source code are tested to determine if
they are fit for use. A unit is the smallest testable part
of an application. In procedural programming a unit may be
an individual function or procedure. Unit tests are created
by programmers or occasionally by white box testers.
Ideally, each test case is independent from the others:
substitutes like method stubs, mock objects, fakes and test
harnesses can be used to assist testing a module in
isolation. Unit tests are typically written and run by
software developers to ensure that code meets its design
and behaves as intended. Its implementation can vary from
being very manual (pencil and paper) to being formalized as
part of build automation.

Is This Answer Correct ?    9 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what are the test bugs

1909


How do u go about testing of web application?

2074


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

2681


How much the bug is affecting the functionality of the application?

1054


What is white box testing, and what are the various techniques?

1086


As you are working with cmmi level 5 company ,can you tell me what processes you r following as QA engineer?

2433


what are the risk factors in the project? what is the base for testplan and entry criteria ,exit criteria for test plan?

2403


what does 80hz refresh rate indicates?

2853


Can you explain steps in function points?

1050


hi friends i have a question while the files are uploading into the web server(for storing)..... securely......... what is the meaning securely.......its regarding virus threating or user authentication.... the files are video files these are ripping and converted into .flv format pls clarify ..........thanks in advance......

1960


Login screen with Username, Password input fields,remember me check box,sign in and reset button write Test Cases for GUI, Funcitonal, Negative, Usability and Security testing.

2798


Hi Friends, This is Chennamsubbaraidu.i Have 2+ Years Realtime Exp in Manual Testing.Am Looking to Shift From My Present Company.Please if u Have Any Openings in Your Company's, Please Let Me Know.Any Location Prefer.Thanks.

1815


how to write manual testcases for download the files from the template. for example:from product cost enddate

2080


what do you mean by Develop test data through sourcing (or) handcrafting techniques

2809


i looking for the software testing job with the exp of (1.5 yrs ), if anybody knows how to approach the companies ,pls let me know , possible que which will be asked in interview ? pls send me sample resume for testing ....pls do the favour as soon as posible .

1973