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 |
what is traceability matrix?
What u have choosed testing as your career whyn't developer? Give me some answers.Thank u
What is unit,load,stress,performance testing ?
What is the difference bt QA and QC
Hi..I have 2 years exp in manual. In our company we are using only excel sheet for preparing reports. If possible anyone can send resume format for manual. mail id vdivya_mdu@yahoo.co.in and give some suggestion. thnx
5 Answers Rhytha Web Solution,
What is an mr?
what is the use of l10n testing?
what is static testing,and dynamic testing? explain with an example.
what is the part of qa and qc in refinement v model.
why do u go for whitebox testing,when black box testing is available?
Hey guys, Developers compile the code they write. That is a kind of testing!! Which category it belongs to in Testing. Static testing or Dynamic testing. Please clarify
What are the properties of a good requirement?