YOU ARE DOWNLOADING DOCUMENT

Please tick the box to continue:

Transcript
Page 1: Life Cycle Testing Approach - Bahan Kuliah-STMIK Bandung · Internal IS Project Team -Minimize Cost-Training-Knowledge of project-Time allocation-Lack of independence-Lack of objectivity

5/19/2011 1

Life Cycle Testing

ApproachPengujian Perangkat Lunak

Page 2: Life Cycle Testing Approach - Bahan Kuliah-STMIK Bandung · Internal IS Project Team -Minimize Cost-Training-Knowledge of project-Time allocation-Lack of independence-Lack of objectivity

Life Cycle Testing

Pengujian dilakukan paralel dengan pengembangan

sistem

Tujuan : untuk mengetahui adanya defect pada titik

paling awal saat pengembangan sistem

5/19/2011 2

Page 3: Life Cycle Testing Approach - Bahan Kuliah-STMIK Bandung · Internal IS Project Team -Minimize Cost-Training-Knowledge of project-Time allocation-Lack of independence-Lack of objectivity

Kategori Pengujian

Preimplementasi

Pengujian sebelum aplikasi diletakkan dalam

lingkungan operasional

Untuk mengecek fungsionalitas sistem sesuai dengan

spesifikasi dan tidak ada defect sistem

Postimplementasi

Pengujian setelah aplikasi dipakai

Untuk sistem maintenance

5/19/2011 3

Page 4: Life Cycle Testing Approach - Bahan Kuliah-STMIK Bandung · Internal IS Project Team -Minimize Cost-Training-Knowledge of project-Time allocation-Lack of independence-Lack of objectivity

Biaya Pengujian

Biaya pengujian + defect yang tidak terdeteksi

Bila defect ditemukan saat :

Preimplementasi

• Biaya defect, identifikasi defect, pembenaran

defect, testing defect saat sudah dihilangkan

Postimplementasi

• Biaya defect, identifikasi masalah dalam

operasional, pelaporan adanya masalah, penyelesaian

masalah, operasi sistem sampai defect

selesai, pembetulan defect, testing defect, integrasi

program yang telah selesai menjadi operasional

kembali

5/19/2011 4

Page 5: Life Cycle Testing Approach - Bahan Kuliah-STMIK Bandung · Internal IS Project Team -Minimize Cost-Training-Knowledge of project-Time allocation-Lack of independence-Lack of objectivity

Masalah Pengujian

Kuantifikasi biaya sebenarnya untuk untuk

menghilangkan defect

Bagaimana mengurangi biaya pengujian

5/19/2011 5

Page 6: Life Cycle Testing Approach - Bahan Kuliah-STMIK Bandung · Internal IS Project Team -Minimize Cost-Training-Knowledge of project-Time allocation-Lack of independence-Lack of objectivity

Contoh Defect

Kesalahan pemberian requirement dari user

Kesalahan interpretasi requirement

Kesalahan pencatatan requirement

Kesalahan spesifikasi desain

Kesalahan spesifikasi program

5/19/2011 6

Page 7: Life Cycle Testing Approach - Bahan Kuliah-STMIK Bandung · Internal IS Project Team -Minimize Cost-Training-Knowledge of project-Time allocation-Lack of independence-Lack of objectivity

Contoh Defect (2)

Kesalahan kode program

Kesalahan instruksi program

Kesalahan pemasukan data

Kesalahan pengujian

Kesalahan pembenaran error

Kesalahan pada pembenaran error yang

menyebabkan terjadinya kesalahan lain

5/19/2011 7

Page 8: Life Cycle Testing Approach - Bahan Kuliah-STMIK Bandung · Internal IS Project Team -Minimize Cost-Training-Knowledge of project-Time allocation-Lack of independence-Lack of objectivity

Estimasi Biaya Pengujian

Estimasi error yang ada

Memperkirakan usaha yang dibutuhkan untukpenanggulangan error tersebut

Mencatat defect yang muncul dari hasil pengujian

Mencatat biaya yang diperlukan untuk membetulkandefect tersebut

Defect saat requirement, biaya yang dibutuhkan adalahbiaya total untuk membetulkan defect

Defect saat pengujian, biaya yang dibutuhkan adalahbiaya total * 10

Defect saat sistem operasional, biaya yang dibutuhkanadalah biaya total * 100

5/19/2011 8

Page 9: Life Cycle Testing Approach - Bahan Kuliah-STMIK Bandung · Internal IS Project Team -Minimize Cost-Training-Knowledge of project-Time allocation-Lack of independence-Lack of objectivity

Mengurangi Biaya Pengujian

Temukan defect seawal mungkin saat aplikasi

dikembangkan

5/19/2011 9

Page 10: Life Cycle Testing Approach - Bahan Kuliah-STMIK Bandung · Internal IS Project Team -Minimize Cost-Training-Knowledge of project-Time allocation-Lack of independence-Lack of objectivity

Konsep Life Cycle Testing

Life cycle testing meliputi pengujian berkelanjutan

selama proses pengembangan

Life cycle testing tidak dapat dilakukan sebelum

terdapatnya proses pengembangan yang terdefinisi

secara formal

Dilakukan oleh suatu tim penguji

5/19/2011 10

Page 11: Life Cycle Testing Approach - Bahan Kuliah-STMIK Bandung · Internal IS Project Team -Minimize Cost-Training-Knowledge of project-Time allocation-Lack of independence-Lack of objectivity

Konsep Life Cycle Testing (2)

5/19/2011 11

Page 12: Life Cycle Testing Approach - Bahan Kuliah-STMIK Bandung · Internal IS Project Team -Minimize Cost-Training-Knowledge of project-Time allocation-Lack of independence-Lack of objectivity

Komposisi Tim Pengujian

Tim pengujian adalah bagian yang tak terpisahkan

dari proses pengujian

Kekurangan menguji sendiri:

Kesalahpahaman tidak terdeteksi

Proses pengembangan yang tidak dibutuhkan tidak

terdeteksi

“Buta” terhadap error sendiri

Optimistik

Tidak mengalokasikan waktu terpisah

5/19/2011 12

Page 13: Life Cycle Testing Approach - Bahan Kuliah-STMIK Bandung · Internal IS Project Team -Minimize Cost-Training-Knowledge of project-Time allocation-Lack of independence-Lack of objectivity

Komposisi Tim Pengujian

Test Team

Approach

Composition of

Test Team

Members

Advantages Disadvantages

Internal IS Project Team -Minimize Cost

-Training

-Knowledge of

project

-Time allocation

-Lack of

independence

-Lack of objectivity

External IS Quality assurance

Professional

testers

-Independent view

-IS profesionals

-Multiple project

testing experience

-Cost

-Overreliance

-Competition

Non-IS Users

Auditors

Consultants

-Independent view

-Independence in

assessment

-Ability to act

-Cost

-Lack of IS knowledge

-Lack of project

knowledge

Combination Any or all of the

above

-Multiple skills

-Education

-Clout

-Cost

-Schedulling reviews

-Diverse backgrounds5/19/2011 13

Page 14: Life Cycle Testing Approach - Bahan Kuliah-STMIK Bandung · Internal IS Project Team -Minimize Cost-Training-Knowledge of project-Time allocation-Lack of independence-Lack of objectivity

Testing Concerns

Pengujian adalah proses tiga dimensi:

Faktor pengujian

Fase waktu

Pemenuhan Concern

5/19/2011 14

RequirementProgram

Installation

00.5

11.5

22.5

33.5

44.5

5

Au

dit T

rail

Auth

orization

File

In

tegrity

Relia

bili

ty

Page 15: Life Cycle Testing Approach - Bahan Kuliah-STMIK Bandung · Internal IS Project Team -Minimize Cost-Training-Knowledge of project-Time allocation-Lack of independence-Lack of objectivity

Testing Concerns (2)

Faktor Pengujian Reliability

Authorization

File integrity

Audit trail

Continuity of processing

Service level

Access control

Methodology

Correctness

Ease of use

Maintainability

Portable

Coupling

Performance

Ease of operation

5/19/2011 15

Page 16: Life Cycle Testing Approach - Bahan Kuliah-STMIK Bandung · Internal IS Project Team -Minimize Cost-Training-Knowledge of project-Time allocation-Lack of independence-Lack of objectivity

Testing Concerns (3)

Fase Waktu

Requirements

Design

Program

Test

Installation

Maintain

5/19/2011 16

Page 17: Life Cycle Testing Approach - Bahan Kuliah-STMIK Bandung · Internal IS Project Team -Minimize Cost-Training-Knowledge of project-Time allocation-Lack of independence-Lack of objectivity

Testing Concerns (4)

Test Factor Requiremen

ts

Design Program Test Installation Maintain

Reliability Tolerances

established

Data

integrity

controls

designed

Data integrity

Controls

implemented

Manual

regression

and

fungtional

testing

Accuracy and

completenes

s od

installation

verified

Update

accuracy

requirement

s

Authorizatio

n

Authorization

rules defined

Authorizat

ion rules

designed

Authorization

rules

implemented

Complianc

e testing

Prohibit data

changes

during

instalation

Preserve

authorizatio

n rules

5/19/2011 17

Page 18: Life Cycle Testing Approach - Bahan Kuliah-STMIK Bandung · Internal IS Project Team -Minimize Cost-Training-Knowledge of project-Time allocation-Lack of independence-Lack of objectivity

Test Plan

Project manager bertanggung jawab untuk

menetapkan sebuah test plan.

Test plan mengidentifikasi faktor pengujian yang

akan menjadi test requirement.

5/19/2011 18

Page 19: Life Cycle Testing Approach - Bahan Kuliah-STMIK Bandung · Internal IS Project Team -Minimize Cost-Training-Knowledge of project-Time allocation-Lack of independence-Lack of objectivity

Test Plan

5/19/2011 19

Page 20: Life Cycle Testing Approach - Bahan Kuliah-STMIK Bandung · Internal IS Project Team -Minimize Cost-Training-Knowledge of project-Time allocation-Lack of independence-Lack of objectivity

Guideline

Start early

Keep the test plan flexible

Review frequently

Concise and readable

Planning effort

Spend time to develop complete test plan

5/19/2011 20

Page 21: Life Cycle Testing Approach - Bahan Kuliah-STMIK Bandung · Internal IS Project Team -Minimize Cost-Training-Knowledge of project-Time allocation-Lack of independence-Lack of objectivity

Referensi

Perry, William. Effective Method of Software Testing

5/19/2011 21


Related Documents