Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Download
Standard view
Full view
of .
Save to My Library
Look up keyword
Like this
4Activity
0 of .
Results for:
No results containing your search query
P. 1
Black Box Testing

Black Box Testing

Ratings: (0)|Views: 660|Likes:
Published by dR_nech

More info:

Published by: dR_nech on Apr 17, 2010
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less

03/10/2011

pdf

text

original

 
Black Box TestingBlack Box Testing
by :Oerip S. Santoso
 
12/2/03
Bayu Hendradjaya - http://www.if.itb.ac.id/~bayu 
2
Black Box Testing focuses on functional requirements of the software
 –Tester can derive sets of input conditions that will fully exercise allfunctional requirements for a program.
Black Box Testing is not an alternative to white box testing, rather it isa complementary approach that is likely to uncover a different class of errors than white box methods.Attempts to find:
 –incorrect or missing functions interface errors –errors in data structures or external database access –performance errors –initialization and termination errors
.
Tests are designed to answer the following question
 –How is functionally validity tested? –What classes of input will make good test cases? –Is the system particularly sensitive to certain input values? –How are the boundaries of a data class isolated –What data rates and data volume can the system tolerate? –What effect will specific combinations of data have on system operation?
IntroductionIntroduction
 
12/2/03
Bayu Hendradjaya - http://www.if.itb.ac.id/~bayu 
3
Expected Result DeterminationExpected Result Determination
Expected result can not be determined by executing a sub programIt is determined prior to test execution, at test design phaseThe cost of analyzing and predicting the expected behavior for eachtest case of each subprogram is likely too high Use ‘oracle’ 
Something which makes it possible to predict the expected resultfromexecuting a test applying to a subprogram of a given subprogram,withspecific input dataIt may be a program, a set of values, etc
Various categories of oracles may be applicable for difficult cases:
 –Expected result is obtained by executing subprogram
It only applies if the execution is followed up and checked (foranalyzingintermediate values and internal variables)Ability to prove that the result obtained are validMust be used with caution
 –An application may be derived from a previous already tested application –Executing an equivalent subprogram to be tested

You're Reading a Free Preview

Download
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->