Presentasi sedang didownload. Silahkan tunggu

Presentasi sedang didownload. Silahkan tunggu

Black Box Testing Testing Implementasi Sistem Pertemuan 3 Oleh :Rifiana Arief, SKom, MMSI.

Presentasi serupa


Presentasi berjudul: "Black Box Testing Testing Implementasi Sistem Pertemuan 3 Oleh :Rifiana Arief, SKom, MMSI."— Transcript presentasi:

1 Black Box Testing Testing Implementasi Sistem Pertemuan 3 Oleh :Rifiana Arief, SKom, MMSI

2 2 Outline Black Testing Definition Advantages and Disadvantages Black Box testing Black Box Testing Type Test case Design methods

3 What is Black-Box testing ? ● Testing without having an insight into the details of underlying code input output Unit ● Testing based on specification 3

4 What is Black-Box testing ? ● Advantages ● no need for source code ● can be used for unit as well as system-level testing ● Disadvantages ● don't test hidden functions ● Approaches: ● Error guessing ● Equivalence Partitioning ● Boundary Value Analysis ● Decision tables ● Cause-Effect Graphing ● Tests derived from functional requirements (e.g. use cases) 4

5 Type of Black-Box testing ? ● Security Testing ● Networks ● Access right ● Type of Users ● Performance Testing ● Load testing ● Stress |Testing 5

6 Type of Black-Box testing ? ● Usability Testing ● User interface testing ● Manual support Testing ● Spell Checking ● Functionality Testing ● Configuration Testing ● Compatibility Testing ● Functional Testing ● What Client wants ● Installation Testing ● Input domain Testing ● Boundary Values ● Equivalence Class partition 6

7 1. Equivalence Partitioning 2. Boundary Value Analysis 3. Error Guessing Test case Design methods

8 Equivalence class is a subset of data that is representative of a larger class Divide input domain into equivalence classes Attempt to cover classes of errors One test case per equivalence class, to reduce total number of test cases needed InputDomain Equivalence partitioning

9 A program which accepts credit limits with a given range Say, $10,000 – $15,000 This would have three equivalence classes:- 1. Less than $10,000(Invalid) 2. Between $10,000 and $15,000(Valid) 3. Greater than $15,000(Invalid) Example

10 Less than 10,000Between 10 and 15More than 15, Equivalence Partitions

11 Complements equivalence partitioning, selects the test cases at the “edge” of equivalence classes. In practice, more errors found at boundaries of equivalence classes than within the classes Divide input domain into equivalence classes A technique that consists of developing test cases and data that focus on the input and output boundaries of a given function Boundary Value Analysis

12 In the same credit limit example: the boundary analysis would test 1. low boundary plus or minus one ($ 9,999 and $10,001) 2. On the boundary ($10,000 and $15000) 3. Upper boundary plus or minus one ($14999 and $15001) Example

13 1.Value immediately below range 2.First value of range 3.Second value of range 4.Value immediately below last value of range 5.Last value of range 6.Value immediately above range Range of Boundary Values

14 Based on the theory that test cases can be developed based upon the intuition and experience of the Test Engineer. In an example where one of the inputs is the date and the Test Engineer may try February 29, 2000 or 9/9/9999 Error Guessing

15 Metode Pengujian Black Box Metode ujicoba blackbox memfokuskan pada keperluan fungsional dari software. Karna itu ujicoba blackbox memungkinkan pengembang software untuk membuat himpunan kondisi input yang akan menguji seluruh syarat- syarat fungsional suatu program. Ujicoba blackbox bukan merupakan alternatif dari ujicoba whitebox, tetapi merupakan pendekatan yang melengkapi untuk menemukan kesalahan lainnya, selain menggunakan metode whitebox. Tidak seperti metode whitebox yang dilaksanakan diawal proses, ujicoba blackbox diaplikasikan dibeberapa tahapan berikutnya. Karena ujicoba blackbox dengan sengaja mengabaikan struktur kontrol, sehingga perhatiannya difokuskan pada informasi domain.

16 Ujicoba blackbox berusaha untuk menemukan kategori kesalahan : Fungsi-fungsi yang salah atau hilang Kesalahan interface Kesalahan dalam struktur data atau akses database eksternal Kesalahan performa Kesalahan inisialisasi dan terminasi


Download ppt "Black Box Testing Testing Implementasi Sistem Pertemuan 3 Oleh :Rifiana Arief, SKom, MMSI."

Presentasi serupa


Iklan oleh Google