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 |
Software life Cycle models
send test cases for system testing and what these test cases actually contain?
what is the difference between Test case and Test scenario? is it necessary to prepare scenarios before writing test cases?explain in detail.
hi there, Yaar can any body help me please? I am looking for job change n want to relocate to Pune,Im in bangalore I have 2+exp in testing (man&QTP). if anyone can provide some reference in any comp.....plz reply ....Thanks
In your company what process you are follwing from requirements to testing explain, pls anybody have real time experience and pls expain process...pls
wat is build duration
in case of web application what kind of areas we r tested and one more in case of database testing what we are testing tell me in brief.
Hi am new to this forem.i am a begineer in software testing and i have passed the ISEB exam,can anyone tell me how to gain knowledge practically ie practising testcases...... Thanks in advance
How will you validate the functionality of the Test cases, if there is no business requirement document or user requirement document as such…
i know that there are two types of applicationa.one is web applications and the other is client-server application.web means online applications,and client server means we have to install in our systems to use it.now my question is ,yahoo messenger which we have to install in our system and have to work on line.this application comes under which type of application.
what is difference between Sanity testing and Smoke testing?
What’s the difference between verification and validation in testing?