Presentasi sedang didownload. Silahkan tunggu

Presentasi sedang didownload. Silahkan tunggu

A.k.a structural testing clear box testing glass box testing Rekayasa Perangkat Lunak 2009/2010.

Presentasi serupa


Presentasi berjudul: "A.k.a structural testing clear box testing glass box testing Rekayasa Perangkat Lunak 2009/2010."— Transcript presentasi:

1 a.k.a structural testing clear box testing glass box testing Rekayasa Perangkat Lunak 2009/2010

2 White Box Testing?  metode uji yang mempertimbangkan mekanisme internal sistem atau komponen dari sistem (IEEE). Test case yang dihasilkan dapat:  Menjamin seluruh independent path di dalam modul telah dijalankan sekurang-kurangnya sekali  Menjalankan seluruh logical decision baik dari sisi benar maupun salah  Menjalankan seluruh loop sesuai dengan batasannya  Menjalankan seluruh struktur data internal untuk menjamin validitas data Rekayasa Perangkat Lunak 2009/2010

3 Why white box? “Bugs lurk in corners and congregate at boundaries.” Boris Beizer Rekayasa Perangkat Lunak 2009/2010

4 Prinsip White Box  Unit testing  individual software units.  Integration testing  in which software components, hardware components, or both are combined and tested to evaluate the interaction between them  Regretion testing  verify that modifications have not caused unintended effects and that the system or component still complies with its specified requirements Rekayasa Perangkat Lunak 2009/2010

5 Metode White Box  Basis Path Testing  Control Structure Testing Rekayasa Perangkat Lunak 2009/2010

6 Basis Path Testing If a player lands on a property owned by other players, he or she needs to pay the rent. If the player does not have enough money, he or she is out of the game. If the property is not owned by any players, and the player has enough money buying the property, he or she may buy the property with the price associated with the property. Rekayasa Perangkat Lunak 2009/2010

7 Basis Path Testing (cont...) Rekayasa Perangkat Lunak 2009/2010

8 Basis Path Testing (cont...) Rekayasa Perangkat Lunak 2009/2010 Independent Path/cyclomatic number (lower bound):  (property owned by others, no money for rent)  (property owned by others, pay rent)  (property owned by the player)  (property available, don’t have enough money)  (property available, have money, don’t want to buy it)  (property available, have money, and buy it)

9 Basis Path Testing (cont...) Rekayasa Perangkat Lunak 2009/2010 Graph Matrices  memudahkan Basis Path Testing

10 Control Structure Testing  Condition testing  exercises the logical conditions contained in a program module  Data flow testing  selects test paths of a program according to the locations of definitions and uses of variables in the program  Loop testing Rekayasa Perangkat Lunak 2009/2010


Download ppt "A.k.a structural testing clear box testing glass box testing Rekayasa Perangkat Lunak 2009/2010."

Presentasi serupa


Iklan oleh Google