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 Defect Acceptance ?
how to do cookies testing in realtime through manual testing? pls give some realtime example?
what r the entry criteria for functionality and performance testing?
how can we do database testing. In database testing we verify the data integrity and data validation. how can we do testing of Index, triggers, views, ransactions,cursors etc
What is negative Testing ? Write Negative Test Cases on "Edit" Button, "Cancel" Button ?
In the static testing,what all can be tested?
This is a common login screen example with all well known fields like username, password, etc. How could you test this in Unit Testing Phase, Integration Testing Phase and System Testing Phase??
Unit Testing can be done by using Nunit?
what is ERP? why inventory comes in ERP?
If u need to get stressed & work more than then timing. How comfortable u r. If asked to work on weekends
iam new testing, i want improve writing test cases and bug defect etc? any on give suggestion pls?
How the test plan is a tool and the product?