meet 7. software testing methods - black box

20
8/18/2019 Meet 7. Software Testing Methods - Black Box http://slidepdf.com/reader/full/meet-7-software-testing-methods-black-box 1/20 SOFTWARE TESTING METHODS Black box Testing

Upload: syakur-freeze

Post on 07-Jul-2018

215 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Meet 7. Software Testing Methods - Black Box

8/18/2019 Meet 7. Software Testing Methods - Black Box

http://slidepdf.com/reader/full/meet-7-software-testing-methods-black-box 1/20

SOFTWARE TESTING

METHODSBlack box Testing

Page 2: Meet 7. Software Testing Methods - Black Box

8/18/2019 Meet 7. Software Testing Methods - Black Box

http://slidepdf.com/reader/full/meet-7-software-testing-methods-black-box 2/20

Testing Method lassi!ication

Page 3: Meet 7. Software Testing Methods - Black Box

8/18/2019 Meet 7. Software Testing Methods - Black Box

http://slidepdf.com/reader/full/meet-7-software-testing-methods-black-box 3/20

Black Box Testing

" Diseb#t $#ga Behavioral Testing 

" Be%!ok#s &ada keses#aian o#t&#t dengan s&esi!ikasi

keb#t#han !#ngsional

"Dilak#kan tan&a ha%#s 'engetah#i st%#kt#% inte%nal&%og%a'(so!t)a%e ata# kode &%og%a'

" Dengan kata lain* tidak ha%#s 'engetah#i bagai'ana

so!t)a%e beke%$a 'elainkan bagai'ana o#t&#tn+a

dihasilkan

Page 4: Meet 7. Software Testing Methods - Black Box

8/18/2019 Meet 7. Software Testing Methods - Black Box

http://slidepdf.com/reader/full/meet-7-software-testing-methods-black-box 4/20

Black Box Testing

" Black box b#kan 'e%#&akan alte%nati! &engganti da%i

)hite box testing* 'elainkan 'elengka&i #nt#k

'engetah#i kelas e%%o% +ang be%beda

" Da%i kel#a%an +ang dihasilkan* ke'a'&#an &%og%a'

dala' 'e'en#hi keb#t#han &e'akai da&at di#k#%

sekalig#s da&at diketah#i kesalahan dan k#alitasn+a,

Page 5: Meet 7. Software Testing Methods - Black Box

8/18/2019 Meet 7. Software Testing Methods - Black Box

http://slidepdf.com/reader/full/meet-7-software-testing-methods-black-box 5/20

Black Box Testing

I

e

Input test data

Oe

Output test results

System

Inputs causinganomalous

 behaviour 

Outputs which revealthe presence of defects

Re-#i%e'ent

Doc#'ent

.alidate

O#t&#t

Page 6: Meet 7. Software Testing Methods - Black Box

8/18/2019 Meet 7. Software Testing Methods - Black Box

http://slidepdf.com/reader/full/meet-7-software-testing-methods-black-box 6/20

Page 7: Meet 7. Software Testing Methods - Black Box

8/18/2019 Meet 7. Software Testing Methods - Black Box

http://slidepdf.com/reader/full/meet-7-software-testing-methods-black-box 7/20

1#estion To Ans)e% )ith Black box Testing

" Bagai'ana 2aliditas !#ngsionaln+a di#$i3

" 4enis in&#t se&e%ti a&a +ang akan 'enghasilkan kas#s #$i

+ang baik 3

" A&akah siste' seca%a kh#s#s sensiti! te%hada& nilai in&#tte%tent# 3

" Bagai'ana batasan5batasan kelas data diisolasi3

" Be%a&a %asio data dan $#'lah data +ang da&at ditole%ansi

oleh siste'3" A&a akibat +ang akan ti'b#l da%i ko'binasi s&esi!ik da%i

data &ada o&e%asi siste'3

Page 8: Meet 7. Software Testing Methods - Black Box

8/18/2019 Meet 7. Software Testing Methods - Black Box

http://slidepdf.com/reader/full/meet-7-software-testing-methods-black-box 8/20

Black Box Testing Test ase

Dengan 'enga&likasikan blackbox testing* diha%a&kan

da&at 'enghasilkan sek#'&#lan kas#s #$i +ang

'e'en#hi k%ite%ia be%ik#t /

6, 0as#s #$i +ang be%k#%ang* $ika $#'lahn+a lebih da%i 6*

'aka $#'lah da%i kas#s #$i ta'bahan ha%#s didesain

#nt#k 'enca&ai #$icoba +ang c#k#& be%alasan

7, 0as#s #$i +ang 'e'be%itah#kan ses#at# tentang

kebe%adaan ata# tidakn+a s#at# $enis kesalahan*

da%i&ada kesalahan +ang te%h#b#ng han+a dengans#at# #$icoba +ang s&esi!ik

Page 9: Meet 7. Software Testing Methods - Black Box

8/18/2019 Meet 7. Software Testing Methods - Black Box

http://slidepdf.com/reader/full/meet-7-software-testing-methods-black-box 9/20

0e#nt#ngan

6, Teste% 'e'#ngkikan o%ang +ang non5technical ( tidak

'e'iliki &engetah#an teknis,

7, Da&at dig#nakan #nt#k 'e'2e%i!ikasi kont%adiksi di

dala' siste' akt#al dengan s&esi!ikasi

8, Test cases da&at didesain sesege%a '#ngkin setelah

s&esi!ikasi !#ngsionaln+a ko'&lit

Page 10: Meet 7. Software Testing Methods - Black Box

8/18/2019 Meet 7. Software Testing Methods - Black Box

http://slidepdf.com/reader/full/meet-7-software-testing-methods-black-box 10/20

0e%#gian

" In&#t tes5n+a ha%#s ban+ak

" S#lit #nt#k 'engidenti!ikasi se'#a in&#t +ang '#ngkin

&ada )akt# +ang te%batas, 4adi 'en#lis test case akan

la'a dan s#lit

" Me'#ngkinkan ada tes +ang te%le)at

Page 11: Meet 7. Software Testing Methods - Black Box

8/18/2019 Meet 7. Software Testing Methods - Black Box

http://slidepdf.com/reader/full/meet-7-software-testing-methods-black-box 11/20

Bebe%a&a Metode(Teknik Black Box Testing

" Graph Based Method

" Equivalence Partitioning

" Boundary Value Analysis

" Cause-Effect Graphing Technique" Comparison Testing

" u!! Testing

" Model Based Testing

" State T%ansition Table" Decission Table

" E%%o% G#essing

Page 12: Meet 7. Software Testing Methods - Black Box

8/18/2019 Meet 7. Software Testing Methods - Black Box

http://slidepdf.com/reader/full/meet-7-software-testing-methods-black-box 12/20

G%a&h Based Method

" 9ada 'etode ini langkah &e%ta'a +ang dilak#kan adalah

memahami o"#ect yang dimodel$an dalam soft%are

dan relationship yang menghu"ung$an antar o"#ect 

te%seb#t

" :angkah selan$#tn+a adalah menentu$an tes untu$

memverifi$asi "ah%a semua o"#ect sudah memenuhi

relationship yang sesuai sat# sa'a lain

" G%a&h based be%!ok#s &ada h#b#ngan anta% ob$ect dala'

siste'

Page 13: Meet 7. Software Testing Methods - Black Box

8/18/2019 Meet 7. Software Testing Methods - Black Box

http://slidepdf.com/reader/full/meet-7-software-testing-methods-black-box 13/20

G%a&h Based Method Notation

;nt#k it# kita da&at 'e'b#at

" G%a&h / koleksi nodes +ang 'e%e&%esentasikan ob$ect

" :inks / 'e%e&%esentasikan h#b#ngan anta% ob$ect

" Node )eight/ 'en$elaskan &%o&e%ti da%i ob$ect <'is, Nilaidata s&esi!ik ata# state beha2io#%=

" :ink )eight/ 'en$elaskan ka%akte%istik link

Page 14: Meet 7. Software Testing Methods - Black Box

8/18/2019 Meet 7. Software Testing Methods - Black Box

http://slidepdf.com/reader/full/meet-7-software-testing-methods-black-box 14/20

G%a&h Based Method Notation

Page 15: Meet 7. Software Testing Methods - Black Box

8/18/2019 Meet 7. Software Testing Methods - Black Box

http://slidepdf.com/reader/full/meet-7-software-testing-methods-black-box 15/20

Si'&le Exa'&le

Page 16: Meet 7. Software Testing Methods - Black Box

8/18/2019 Meet 7. Software Testing Methods - Black Box

http://slidepdf.com/reader/full/meet-7-software-testing-methods-black-box 16/20

G%a&h Based Method

9endekatan &eng#$ian /

6, De!enisikan se'#a nodes dan node weight di'ana

ob$ek dan at%ib#t dide!enisikan," Tent#kan titik '#lai <si'&#l 'as#k= dan be%henti <si'&#l

kel#a%=

7, Bang#n links dan link weight ke'#dian dibe%i na'a,

8, Masing > 'asing link  di&ela$a%i seca%a te%&isah*

sehingga test case da&at didesain,

?, 4ika te%da&at h#b#ngan t%ansiti!* 'aka &ela$a%i

h#b#ngan te%seb#t #nt#k 'enent#kan bagai'ana

&enga%#h h#b#ngan te%seb#t 'en+eba% &ada ob$ek

+ang ditent#kan,

Page 17: Meet 7. Software Testing Methods - Black Box

8/18/2019 Meet 7. Software Testing Methods - Black Box

http://slidepdf.com/reader/full/meet-7-software-testing-methods-black-box 17/20

G%a&h Based Method

ontoh h#b#ngan t%ansiti! /

 Ada 8 ob$ek &'(') h#b#ngann+a /

& di&e%l#kan #nt#k 'enghit#ng (

 ( di&e%l#kan #nt#k 'enghit#ng )

sehingga dibang#n h#b#ngan t%ansiti! anta%a & dgn ) / X diperlukan untuk menghitung Z 

Be%dasa%kan %elasi t%ansiti! ini tes #nt#k 'ene'#kan e%%o%

&ada &e%hit#ngan @ ha%#s 'e'&e%ti'bangkan 2a%iasi nilai dan

Page 18: Meet 7. Software Testing Methods - Black Box

8/18/2019 Meet 7. Software Testing Methods - Black Box

http://slidepdf.com/reader/full/meet-7-software-testing-methods-black-box 18/20

G%a&h Based Method

Seca%a g%a!is /

" ;nt#k link si'et%is* bila link te%seb#t bena% > bena% 7 a%ah

<si'et%is=* 'aka ha%#s di#$i ked#a a%ah te%seb#t," 9ada saat desain test case di'#lai* ha%#s di&e%hatikan /

ak#&an si'&#l <node co2e%age=

ak#&an link <link co2e%age=*

+

 

 @

H#b#ngan

t%ansiti! 

Page 19: Meet 7. Software Testing Methods - Black Box

8/18/2019 Meet 7. Software Testing Methods - Black Box

http://slidepdf.com/reader/full/meet-7-software-testing-methods-black-box 19/20

In 9%actice3

Page 20: Meet 7. Software Testing Methods - Black Box

8/18/2019 Meet 7. Software Testing Methods - Black Box

http://slidepdf.com/reader/full/meet-7-software-testing-methods-black-box 20/20

Thank o#