1 / 16

Black Box Testing

Testing Implementasi Sistem. Pertemuan 3. Black Box Testing. Oleh :Rifiana Arief, SKom, MMSI. Outline. Black Testing Definition Advantages and Disadvantages Black Box testing Black Box Testing Type Test case Design methods. What is Black-Box testing ?.

Télécharger la présentation

Black Box Testing

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


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

  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 Unit input output • Testing based on specification

  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)

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

  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

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

  8. Equivalence partitioning Input Domain • 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

  9. Example 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)

  10. Equivalence Partitions 12500 18000 9800 Less than 10,000 Between 10 and 15 More than 15,000

  11. Boundary Value Analysis A technique that consists of developing test cases and data that focus on the input and output boundaries of a given function • 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

  12. Example 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)

  13. Range of Boundary Values Value immediately below range First value of range Second value of range Value immediately below last value of range Last value of range Value immediately above range

  14. Error Guessing 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

  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

More Related