130 likes | 296 Views
Testing & Implementasi Sistem - Dasar-Dasar Testing/Psikologi. Pertemuan ke – 2. Tujuan/Obyektifitas Testing. Melakukan verfikasi, validasi dan deteksi error. Misi dari Tim Testing. Misi tim testing tidak hanya melakukan testing tapi juga untuk meminimalkan resiko kegagalan proyek
E N D
Testing & Implementasi Sistem-Dasar-Dasar Testing/Psikologi Pertemuan ke – 2
Tujuan/Obyektifitas Testing • Melakukan verfikasi, • validasi dan • deteksi error
Misi dari Tim Testing • Misi tim testing tidak hanya melakukan testing tapi juga untuk meminimalkan resiko kegagalan proyek • Tester mencari masalah, potensi masalah • Tester tidak melakukan pembenahan produk • Tidak mempermalukan, atau melakukan komplain pada individu lain, hanya menginformasikan
Psikologi Testing • Paradigma yang kurang tepat: • • “Testing is the process of demonstrating that errors are not present.” • • “The purpose of testing is to show that a program performs its intended functions correctly.” • • “Testing is the process of establishing confidence that a program does what it is supposed to do.” • These definitions are upside-down.
Psikologi Testing (2) • When you test a program, you want to add some value to it. • Adding value through testing means raising the quality or reliability of the program. • Raising the reliability of the program means finding and removing errors.
Psikologi Testing (3) • don’t test a program to show that it works; rather, you • should start with the assumption that the program contains errors • and then test the program to find as many of the errors as possible.
Testing is the process of executing a program with the intent of finding errors.
Psikologi Testing (4) • Although this may sound like a game of subtle semantics, it’s really an important distinction. • Understanding the true definition of software testing can make a profound difference in the success of your efforts.
Human beings tend to be highly goal-oriented, and establishing the proper goal has an important psychological effect. If our goal is to demonstrate that a program has no errors, then we will subconsciously be steered toward this goal; that is, we tend to select test data that have a low probability of causing the program to fail. On the other hand, if our goal is to demonstrate that a program has errors, our test data will have a higher probability of finding errors. • The latter approach will add more value to the program than the former.
Psikologi Testing (5) • -executed test of a piece of software is successful • when it finds errors that can be fixed. • a test that found no errors would likely be considered unsuccessful, • a program without errors is basically unrealistic. • Consider the analogy of a person visiting a doctor
Psikologi Testing • such definitions as “testing is the process of demonstrating that errors are not present” is that such a goal is impossible to achieve for virtually all programs, • psychological studies tell us that people perform poorly when they set out on a task that they know to be infeasible or impossible. • Crossword puzzle in 15 minutes
Psikologi Testing • an error is clearly present if a program does not do what it is supposed to do, but errors are also present if a program does what it is not supposed to do. • Final: • testing is more properly viewed as the destructive process of trying to find the errors