What is the difference between White Box testing and Unit
Testing?
Answers were Sorted based on User's Feedback
Answer / shailu
White Box testing is a Testing technique used to Perform
Unit Testing.In Unit Testing we will test each individual
program by using White Box testing techniques like Loop
Testing,Statement Coverage,Condition Coverage...etc
If anything mistake please write cmments...
Regards,
Shailu
Is This Answer Correct ? | 12 Yes | 2 No |
Answer / swathi
In white box testing the tester should/will know the inner
workings of the code.And this will be done by the
tester.This can also be called as glass box,structured,clear
box,open box testing.
Unit testing is the basic testing done by the developer to
see whether the code is working fine.Each module will be
tested by the developer before sending it to the testing team.
Is This Answer Correct ? | 4 Yes | 2 No |
Answer / pravek dadhwal
White box testing is something in which the tester must
have a basic knowledge of a language which is being
used.Unlike Blackbox,this is someting which is also called
as Glass box, where you have an access to the source code.
Unit Testing: A type of WBT,generally done by
developer.Basically its done at module level to catch and
fix the most obvoius bugs, so that they should not make to
the Integration level.As compare to Integration testing
fixing issue, found during this level of testing becomes
very easy,as developer knows that in which module issue
exists.
Is This Answer Correct ? | 2 Yes | 1 No |
Answer / snehal
1)Unit testing is one of the level of testing which
includes the testing of individual software components like
(e.g.Modules,objects,classes etc),it may includes testing
of functionality and specific non-functional
characteristics as performance,structural/white box
(decision coverage)testing.
2)White box testing is one of the type of testing which is
based on an analysis of the internal structure,code
coverage of the component or system.it can be done at any
test level(unit,integration etc).
Is This Answer Correct ? | 1 Yes | 0 No |
Answer / shoryaa bhatnagar
White box testing is a verification technique software engg
can use to examine if their code works as expected.
White box testing method is used to do Unit testing
Unit testing is done to ensure whether a particular module
in a system is working properly..
s many as 65% of the bugs can be detected during Unit
testing...usually done by developers since it requires
internal knowledge of working of the code..
Test Stubs are frequently used in unit testing..
Let me know your comments
Shoryaa Bhatnagar
Is This Answer Correct ? | 1 Yes | 0 No |
Answer / prayatna
Unit testing is a kind of white box testing done at the
baisc level by a developer. So it relates to checking the
code from the basic level.
White box testing deals with testing the internal logic ie
structure of the program.
Is This Answer Correct ? | 1 Yes | 1 No |
Answer / manu
Unit Testing is an combination of both white box and black box testing where developer will be doing both the test.In unit testing following white box testing methods are done.
Code,loop testing,structure testing,condition's,statements, branches and data flow and in additional to that black box testing methods such as functional,usability, boundary value analysis etc are done.
Is This Answer Correct ? | 0 Yes | 1 No |
Answer / akshaya
Whitebox testing is testing of the system as a whole. This
is part of system testing, concentrating on the flow of
data, controls, conditional statements, loops etc on the
integrated system. Performed by tester.
Unit Testing: Code, data flow testing of a module. Dummy
modules are mostly used to test the module in question.
This is performed by the developer him/herself.
Is This Answer Correct ? | 1 Yes | 3 No |
Answer / lokesh karanam
generally whitebox testing and unit testing are same. in
other side in balckbox testing, functional testing is also
called as unit testing.
defination of unit testing generally:testing the
functionality/output of a perticular unit or block.
In white box testing: developer will check for the each and
every line of code for the exact output.so checking each
and every line like a unit, so called unit testing.
In black box testing: testing team will check for
functionality of an each field or each option/parameter.
each parameter/field is like a block/unit. so we can call
it as unit testing.
finally, there is no industrial standard defination for
these.but the principles are same in both whitebox and
black box testing.
please correct me if i am wroung.......
regards,
lokesh karanam
Is This Answer Correct ? | 0 Yes | 4 No |
Is there a way to estimate acceptance test cases in a system? What is a test suite?
do you write test cases for adhoc testing?
what is ur testing process in ur compnay?expalin from starting req phase to last phase brifely?
Is there any opening for Manual testing for 0-1 yrs?
How Could u Present Test Strategy for the Product Testing?
Anybody Explain me Bug Life Cycle..?
How would you test a WINDOWS application...? & How you are going to test a WEB applicaiton...?
What is meant by Testware?
what is suspension criteria in your test paln and explain one suspension criteria in your test paln,... pls give one real time example
What is the difference between Regression Testing and Retesting?
Did u come across STUBS and DRIVERS?How did u use these in u r project ?
who are the final deliverables to the client?