BLACK BOX TESTING.

Slides:



Advertisements
Presentasi serupa
TEKNIK PENGUJIAN PERANGKAT LUNAK
Advertisements

Implementation & Testing Eri Prasetyo Bahan Kuliah MM Sistem Informasi Sources : -Juha Roning, Marko Laakso, Ari takanen, Oulu university,
Metode Pengujian Perangkat Lunak (Black Box)
Merryl F N Meka Pembimbing : Dr. Ade Azurat S.Kom
Modul-8 : Algoritma dan Struktur Data
Pengujian Black-Box.
PERANCANGAN KASUS UJI.
Testing dan Implementasi
Testing dan Implementasi Sistem
Lecture 5 Nonblocking I/O and Multiplexing Erick Pranata © Sekolah Tinggi Teknik Surabaya 1.
Dasar Pemrograman Java Pertemuan 2 Pemrograman Berbasis Obyek Oleh Tita Karlita.
Game Theory Purdianta, ST., MT..
Testing Levels. Activities of Test Engineer Test engineer is an information technology professional who is in charge of ane or more technical test activities,
Presented By : Group 2. A solution of an equation in two variables of the form. Ax + By = C and Ax + By + C = 0 A and B are not both zero, is an ordered.
Testing Implementasi Sistem Oleh :Rifiana Arief, SKom, MMSI
Dasar Pemrograman Java Pertemuan 2 Pemrograman Berbasis Obyek.
Pertimbangan Praktis Tahap Testing Sistem (Lanjutan I )
Metode Pengujian Perangkat Lunak (Black Box)
©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 20 Slide 1 Pengujian Cacat (Defect Testing) l Pengujian program untuk mengungkap adanya.
Tahap Testing Sistem (Lanjutan I )
Population and sample. Population is complete actual/theoretical collection of numerical values (scores) that are of interest to the researcher. Simbol.
Masalah Transportasi II (Transportation Problem II)
Pokok bahasan: State Diagram State Substate Events dan transition State Diagram Developing Software Woth UML Booch Jacobson Rumbaugh Addison-Wesley.
1 Pertemuan 21 Function Matakuliah: M0086/Analisis dan Perancangan Sistem Informasi Tahun: 2005 Versi: 5.
1 Pertemuan 22 Analisis Studi Kasus 2 Matakuliah: H0204/ Rekayasa Sistem Komputer Tahun: 2005 Versi: v0 / Revisi 1.
BAB 6 KOMBINATORIAL DAN PELUANG DISKRIT. KOMBINATORIAL (COMBINATORIC) : ADALAH CABANG MATEMATIKA YANG MEMPELAJARI PENGATURAN OBJEK- OBJEK. ADALAH CABANG.
HAMPIRAN NUMERIK SOLUSI PERSAMAAN NIRLANJAR Pertemuan 3
1 Pertemuan 11 Function dari System Matakuliah: M0446/Analisa dan Perancangan Sistem Informasi Tahun: 2005 Versi: 0/0.
Proses defect testing.
9.3 Geometric Sequences and Series. Objective To find specified terms and the common ratio in a geometric sequence. To find the partial sum of a geometric.
Keuangan dan Akuntansi Proyek Modul 2: BASIC TOOLS CHRISTIONO UTOMO, Ph.D. Bidang Manajemen Proyek ITS 2011.
Dasar query basis data dengan SQLite
Testing & Implementasi Sistem Fungsional Testing
Memahami Terminology Instrumentasi pada pengolahan migas
STATISTIKA CHATPER 4 (Perhitungan Dispersi (Sebaran))
Overview Functional Testing Boundary Value Testing (BVT)
TEKNIK-TEKNIK PENGUJIAN PERANGKAT LUNAK
REKAYASA PERANGKAT LUNAK I
REKAYASA PERANGKAT LUNAK
Inheritance (2).
TESTING DAN IMPLEMENTASI SISTEM (Pertemuan ke-13)
TESTING DAN IMPLEMENTASI SISTEM (Pertemuan ke-13)
TESTING SISTEM INFORMASI
Rekayasa Perangkat Lunak Class Diagram
Rekayasa Perangkat Lunak
Testing dan Implementasi Sistem teknik testing
Pengujian Hipotesis (I) Pertemuan 11
Matakuliah : I0014 / Biostatistika Tahun : 2005 Versi : V1 / R1
Testing dan Implementasi
CLASS DIAGRAM.
Dasar-Dasar Pemrograman
OOAD – TI S1 Defri Kurniawan UDINUS
Black Box Testing.
BILANGAN REAL BILANGAN BERPANGKAT.
Metode Pengujian Perangkat Lunak (Black Box)
Algorithms and Programming Searching
Pendugaan Parameter (II) Pertemuan 10
Testing dan Implementasi SI220A
REAL NUMBERS EKSPONENT NUMBERS.
ANALISIS & DESAIN SISTEM
Teknik Pengujian Software
UML- UNIFIED MODELING LANGUAGE
Master data Management
Pertemuan 4 CLASS DIAGRAM.
TEKNIK PENGUJIAN PERANGKAT LUNAK
Testing dan Implementasi
Teknik-teknik pengujian Perangkat Lunak
Software Testing Strategies
Teknik-teknik pengujian Perangkat Lunak
Transcript presentasi:

BLACK BOX TESTING

Pendahuluan Fokus pada faktor Fungsionalitas dan spesifikasi Perangkat Lunak Fokus pada informasi domain Tidak membutuhkan pengetahuan mengenai,alur internal, struktur Software Under Test Bukan alternatif dari ujicoba whitebox, tetapi merupakan pendekatan yang melengkapi untuk menemukan kesalahan lainnya

Kategori Kesalahan (Black Box) Fungsi – fungsi yang salah atau hilang Kesalahan Interface Kesalahan dalam struktur data Kesalahan dalam akses database eksternal Kesalahan performa Kesalahan inisialisasi dan terminasi

Pertanyaan Black Box Testing Bagaimana validitas fungsionalitasnya diuji? Jenis input seperti apa yang akan menghasilkan kasus uji yang baik? Apakah sistem sensitif terhadap nilai input tertentu? Bagaimana batasan-batasan kelas diisolasi? Berapa rasio data dan jumlah data yang dapat di toleransi oleh sistem? Apa akibat dari kombinasi spesifik data pada sistem operasi?

Proses dalam Black Box Testing Menganalisa kebutuhan dan spesifikasi perangkat lunak Pemilihan jenis input yang mungkin menghasilkan output yang benar Pengujian dilakukan dengan input-input yang benar-benar telah diseleksi Pembandingan output yang dihasilkan dengan output yang diharapkan Menentukan fungsionalitas yang harusnya ada pada perangkat lunak yang diuji

Kapan pengujian nya? Blackbox Testing dapat dilakukan di setiap level pembangunan sistem

Kelebihan & Kekurangan Dapat memilih subset test yang secara efektif dan efisien dapat menemukan cacat Membantu meminimalkan testing cost Kelemahan Tester tidak yakin sepenuhnya atas perangkat lunak yang telah diuji

Jenis – jenis BB Testing Equivalence Partitioning Boundary Value Analysis/Limit Testing Comparison Testing Sample Testing Robustness Testing Behavior Testing Requirement Testing Performance Testing Endurance Testing Cause-Effect Relationship Testing

Equivalence Partitioning Divide the input domain into classes of data for which test cases can be generated. Attempting to uncover classes of errors. Based on equivalence classes for input conditions. An equivalence class represents a set of valid or invalid states An input condition is either a specific numeric value, range of values, a set of related values, or a boolean condition. Equivalence classes can be defined by: If an input condition specifies a range or a specific value, one valid and two invalid equivalence classes defined. If an input condition specifies a boolean or a member of a set, one valid and one invalid equivalence classes defined. Test cases for each input domain data item developed and executed.

Example 1 Requirements of the subprogram to be tested (initial&final state) The subprogram takes an integer input in the range [-100,100] The output of the subprogram is the sign of the input value (the value 0 is considered positive) Two valid equivalence class The input range [-100,0] which contains the subset of integer, will produce negative sign as an output The input range [0,100] will produce positive sign Two invalid equivalence class The integers strictly less than -100 The integers strictly more than -100

Rules Equivalence Partitioning (1) If a condition concerning the input data specifies a range of values (e/g: the counter can take values 1 to 999), define a valid equiv. Class [1,999] and two invalid equivalence class (counter < 1, and counter > 99). If a condition concerning the input data specifies the number of values (a thing can contain 1 to 6 name), define a valid equivalence class and two invalid equivalence classes (no name and more than 6 names) If a condition concerning the input data specifies a set of values and the CSU tested processes each value differently (e/g: BUS, TAXI, TRUCK, TRAIN), define a valid equivalence class for each value and an invalid equivalence class (e/g MOTORCYCLE).

Rules Equivalence Partitioning (2) If an input condition is expressed by a sentence containing ‘must be’ (e/g the first character must be a letter), define a valid equivalence class ( a letter) and an invalid equivalence class ( not a letter)

Example 2 Requirements Three valid equivalence class Given three values, represent the length of side of triangle, determine if it is equilateral, isosceles and scalene Three valid equivalence class 3 equal values positive 3 positive values and 2 which are equal and the sum of two is greater than the third value 3 positive values and the sum of two values is greater than the third value Two invalid equivalence classes 2 positive values and a negative/zero 3 positive values such that the sum of two is equal/less

Boundary Value Analysis (BVA) Large number of errors tend to occur at boundaries of the input domain. BVA leads to selection of test cases that exercise boundary values. BVA complements equivalence partitioning. Rather than select any element in an equivalence class, select those at the ''edge' of the class. Examples: For a range of values bounded by a and b, test (a-1), a, (a+1), (b-1), b, (b+1). If input conditions specify a number of values n, test with (n-1), n and (n+1) input values. Apply 1 and 2 to output conditions (e.g., generate table of minimum and maximum size). If internal program data structures have boundaries (e.g., buffer size, table limits), use input data to exercise structures on boundaries.