1 a.k.a structural testing WHITE BOX TESTING clear box testing Rekayasa Perangkat Lunak 2009/2010a.k.astructural testingclear box testingglass box testingWHITE BOXTESTING
2 Rekayasa Perangkat Lunak 2009/2010 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 sekaliMenjalankan seluruh logical decision baik dari sisi benar maupun salahMenjalankan seluruh loop sesuai dengan batasannyaMenjalankan seluruh struktur data internal untuk menjamin validitas data
3 “Bugs lurk in corners and congregate at boundaries.” Boris Beizer Rekayasa Perangkat Lunak 2009/2010Why white box?“Bugs lurk in corners and congregate at boundaries.” Boris Beizer
4 Prinsip White Box Unit testing individual software units. Rekayasa Perangkat Lunak 2009/2010Prinsip White BoxUnit testing individual software units.Integration testing in which software components, hardware components, or both are combined and tested to evaluate the interaction between themRegretion testing verify that modifications have not caused unintended effects and that the system or component still complies with its specified requirements
5 Control Structure Testing Rekayasa Perangkat Lunak 2009/2010Metode White BoxBasis Path TestingControl Structure Testing
6 Rekayasa Perangkat Lunak 2009/2010 Basis Path TestingIf 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.
8 Basis Path Testing (cont...) Rekayasa Perangkat Lunak 2009/2010Basis Path Testing (cont...)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)
10 Control Structure Testing Rekayasa Perangkat Lunak 2009/2010Control Structure TestingCondition testing exercises the logical conditions contained in a program moduleData flow testing selects test paths of a program according to the locations of definitions and uses of variables in the programLoop testing
Your consent to our cookies if you continue to use this website.