Parameter: 1.write The Difference Between White Box and Black Box Testing. Ans-Black Box Testing White Box Testing

You might also like

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 2

NAME-ANKIT GIRI

ROLL-25300117073

DEPT-CSE,YEAR-4TH,SEM-7TH

SUB-ASSIGNMENT FOR FINAL PRACTICAL OF SOFTWARE ENGINEERING

1.WRITE THE DIFFERENCE BETWEEN WHITE BOX AND BLACK BOX


TESTING.
ANS-

PARAMETER BLACK BOX TESTING WHITE BOX TESTING


Definition It is a testing approach It is a testing approach in
which is used to test the which internal structure is
software without the known to the tester.
knowledge of the internal
structure of program or
application.

Alias It also knowns as data- It is also called structural


driven, box testing, data-, testing, clear box testing,
and functional testing. code-based testing, or glass
box testing.
Base of Testing Testing is based on external Internal working is known,
expectations; internal and the tester can test
behavior of the application accordingly.
is unknown.
Usage This type of testing is ideal Testing is best suited for a
for higher levels of testing lower level of testing like
like System Testing, Unit Testing, Integration
Acceptance testing. testing.
Programming knowledge Programming knowledge is Programming knowledge is
not needed to perform Black required to perform White
Box testing. Box testing.
Implementation knowledge Implementation knowledge Complete understanding
is not requiring doing Black needs to implement
Box testing. WhiteBox testing.
Automation Test and programmer are White Box testing is easy to
dependent on each other, so automate.
it is tough to automate.
Objective The main objective of this The main objective of White
testing is to check what Box testing is done to check
functionality of the system the quality of the code
under test.
Basis for test cases Testing can start after Testing can start after
preparing requirement preparing for Detail design
specification document. document.
Tested by Performed by the end user, Usually done by tester and
developer, and tester. developers.
Granularity Granularity is low. Granularity is high.
Testing method It is based on trial and error Data domain and internal
method. boundaries can be tested.
Time It is less exhaustive and Exhaustive and time-
time-consuming. consuming method.
Algorithm test Not the best method for Best suited for algorithm
algorithm testing. testing.
Code Access Code access is not required White box testing requires
for Black Box Testing. code access. Thereby, the
code could be stolen if
testing is outsourced.
Benefit Well suited and efficient for It allows removing the extra
large code segments. lines of code, which can
bring in hidden defects.
Skill level Low skilled testers can test Need an expert tester with
the application with no vast experience to perform
knowledge of the white box testing.
implementation of
programming language or
operating system.

Techniques Equivalence partitioning is Statement Coverage, Branch


Black box testing technique coverage, and Path coverage
is used for Blackbox testing. are White Box testing
technique.

2. DRAW THE USE CASE DIAGRAM OF HOTEL MANAGEMENT SYSTEM.

ANS-

You might also like