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
Write 10 test scenarios to test remember me checkbox present in login window
What is the main use of preparing traceability matrix and explain the real time usage?
Hi, Anybody knows about Hexaware company..
Give me an example of something you tried at work but did not work out so you had to go at things another way.
What will be the testcase for a uniquely generated number in the application?? i mean to say is, how will i conform the application is generating a unique value.... please do answer...
Do we have any certifications for ETL Testing ?
I have 2+ year of work exp in manual testing and i have good knowledge in QTP.anybody have requirement in your company please please tell me
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.
Write 2 scenarios for Integration testing? Please let me know its urgent.
hi... guys can any one pls help me out.... I m civil engg graduate i want to come into s/w field... i have decided to do manual testing course. i know its not sufficient.. which r the other coures shall i do with this.. suggest me good atomation tool and SAP courses... thanks in advance.. i wil be thankfull to u all
Wat type of questions ll be asked in interview for an 1-2 yrs. experinced persond and i need some database concept question in testing.
3.if a questions asked as,what is the quality standards you are following? what i need to tell.
online demo for bug tracker tool(let me know the website)
What is revision history and the content of revision history table?
Can you explain regression testing and confirmation testing?