Comparison
Comparison
Tech (CS)
Sub: - SE
1) Black-box Tests are those in which the 1) White box Testing is used to test areas that
software under test is treated as a black box. cannot be reached from black box level. It is
more clear & transparent.
2) Test provides inputs & responds to outputs 2) It uses an internal perspective of the system
without considering how the software works. to design test cases based on internal structure
It just takes the external perspective of the & working of software.
system to design test case.
3) This method of test design is applicable to 3) It is applicable at the unit, integration &
all levels of software testing i.e. Unit, system levels of software testing process.
integration, functional testing, system &
acceptance.
4) There is no knowledge of the test object’s 4) The knowledge of the internal structure of
internal structure. test object is required.
5) It doesn’t require programming skills to test 5) It requires programming skills to identify
the object. all paths through the software.
6) The test designer selects valid & invalid 6) The test designer chooses test case inputs to
input & determines the correct output. exercise paths through the code & determines
appropriate outputs.
7) It is independent of programming language 7) It depends on programming language used.
used.
8) It is fixed throughout the life cycle of 8) Since the tests are based on actual
software product. implementation, if the implementation
changes, the tests probably need to change.
9) It is less expensive than white box testing. 9) It is much more expensive than black bos
testing as it requires source code.
10) It is less laborious or much easier than 10) It is much more laborious in the
white box testing. determination of suitable input data &
determination if the software is correct or not.
11) While this method can uncover 11) Though this method of test design can
unimplemented parts of the specification, one uncover an overwhelming number of test
cannot be sure that all existent paths are cases, it might not detect unimplemented parts
tested. of specification or missing requirements, but
one can be sure that all paths through the test
object are executed.
12) It is also called as behavioral testing. 12) It is also called as glass-box testing or
clear-box testing.