• Tidak ada hasil yang ditemukan

Testing dan Implementasi Sistem (1)

N/A
N/A
Protected

Academic year: 2018

Membagikan "Testing dan Implementasi Sistem (1)"

Copied!
35
0
0

Teks penuh

(1)

Testing dan Implementasi Sistem

(2)

Tujuan Instruksional Umum

• Mahasiswa akan dapat menerangkan peranan tahap pengujian dan tahap implementasi pada rangkaian siklus hidup pengembangan sistem perangkat lunak. (C2)

• Mahasiswa akan dapat menghasilkan perencanaan pengujian (test plan) suatu proyek pengujian perangkat lunak. (C3)( )

• Mahasiswa akan dapat menyimpulkan hasil proses pengujian yang dilakukan. (C6)

Mahasiswa akan dapat mendesain laboratorium • Mahasiswa akan dapat mendesain laboratorium

pengujian. (C6)

(3)

BUKU WAJIB

Bl k R (2002) M i Th T ti P 2st Ed

Black, Rex. (2002). Managing The Testing Process. 2st Ed.,

(4)

Referensi Lainnya

(5)

Topik Bahasan

1. Pendahuluan & Dasar2 Pengujian Software (Introduction & Ch. 1) g j ( ) – Pert. 1

2. Kualitas Perangkat Lunak (Ch. 1) – Pert. 2 & 3 3. Test Plan (Ch. 2) – Pert. 4

3. Test Plan (Ch. 2) Pert. 4

4. Test System Architecture, Cases, & Coverage (Ch. 3) – Pert. 5 5. The Bug Tracking Databases (Ch. 4) – Pertemuan 6 & 7

6 T t T ki S d h t (Ch 5) P t 8 6. Test Tracking Spreadsheet (Ch. 5) – Pert. 8 7. Managing the Dynamic (Ch. 6) - Pert. 9

8. Stocking & Managing a Test Lab. (Ch.7) – Pert. 10 8. Staffing & Managing Test Team (Ch. 8) – Pert. 11

9. Organizational Challenges for Test Manager (Ch. 9) – Pert. 12 10. Distributing a Test Project (Ch. 10) – Pert. 13

(6)
(7)

TIK

• Mahasiswa akan dapat mendefinisikan pengertian pengujian dan p p g p g j implementasi perangkat lunak. (C1) TIK-1

• Mahasiswa akan dapat menerangkan peranan tahap pengujian dan implementasi dalam siklus hidup pengembangan sistem perangkat p p p g g p g lunak. (C2) TIK-2

• Mahasiswa akan dapat menjelaskan pentingnya pengelolaan proses pengujian. (C2) TIK-3

p g j ( )

• Mahasiswa akan dapat menyebutkan sumber daya dan alat-alat bantu yang diperlukan untuk mengelola dan melaksanakan proses pengujian. (C1) TIK-4

p g j ( )

Mahasiswa akan dapat menjelaskan strategi pengujian (test

granularity) yang akan menentukan kedalaman tingkat fokus

pengujian. (C2) TIK-5g j ( )

(8)

Pengujian Perangkat Lunak

Pengujian Perangkat Lunak

(9)

Pengujian (Testing)

• Pengujian perangkat lunak (Software testing) adalahPengujian perangkat lunak (Software testing) adalah proses untuk mengukur kualitas dari perangkat lunak yang dikembangkan.

K lit k t l k ( ft lit ) k

• Kualitas perangkat lunak (software quality) mengukur

seberapa baik sistem perangkat lunak dirancang (quality

of design), dan tingkat kesesuaian perangkat lunak g ) g p g

dengan rancangan yang telah dibuat (quality of

conformance).

Standar internasional yang digunakan untuk • Standar internasional yang digunakan untuk

(10)

Why test software?

“Software bugs, or errors... ...cost the

g

U.S. economy an estimated

$59.5

billion

annually...more than a third of

these costs or an estimated

$22 2

these costs, or an estimated

$22.2

billion

... could be eliminated by an

improved testing ...”

(11)

Why find bugs in software early?

A software defect left unfixed until

A software defect left unfixed until

late in the development cycle

costs 80

to

1000

times more to fix

than it would if it was dealt with

earlier

(12)

Purpose of software testing

• ”Software Testing is the process of executing a program g p g p g or system with the intent of finding errors” *

or

”A ti it i d t l ti tt ib t

• ”Any activity aimed at evaluating an attribute or

capability of a program or system and determining that it meets its required results” **q

* Glenford Myers, The art of software testing

(13)

When to stop testing?

• Complete testing of a system is generally unfeasible (too p g y g y ( expensive)

• Testing normally stops:

h h t d

– when resources are exhausted or

– when the software meets the requirements or

when the benefit of continued testing cannot justify – when the benefit of continued testing cannot justify

(14)

Implementasi Perangkat Lunak

Implementasi Perangkat Lunak

(15)

System Implementation

• System Implementation or Adoption deals with theSystem Implementation or Adoption deals with the

(16)

Tahap Pengujian & Implementasi dalam

Siklus Hidup Pengembangan Sistem

(17)

Traditional SDLC

(1) Systems Investigation

A i ht t

t

(1) Systems Investigation

(2) Systems Analysis

(3) S t D i

An eight-stage systems

development life cycle

(SDLC)

(18)

Testing & Implementation Phases in SDLC

• Testing (Pengujian)g ( g j )

– Checks to see if the information system will produce the expected and

desired results under certain conditions

• Implementation (Implementasi)p ( p )

– The process of converting from the old system to the new system – Four major conversion strategies

• Parallel conversion: the old and new systems operate simultaneously for a period of time

• Direct conversion: the old system is cut off and the new systems is turned on at a certain point in time

Pil t i i t d th t i t f th

• Pilot conversion: introduces the new system in one part of the organization

• Phased conversion: introduces components of the new system in stages

(19)

Purpose of test management

• To devise and apply an effective and economic test pp y strategy

• Key elements: • Key elements:

– Test planning

– Test specificationsTest specifications – Test execution

(20)

The Tools You Need

• A thorough test plan: meramalkan dan menghindari masalah yg

• A thorough test plan: meramalkan dan menghindari masalah yg potensial.

• A well-engineered test system

• A state-based bug tracking database

• A comprehensive test tracking spreadsheet • A simple change management database

• A simple change management database

(21)

The Resources You Need

• A practical test labA practical test lab

• Test Engineers and Technician • Contractors and Consultants • External test Labs and Vendors

(22)

Dasar Sistem Pengujian

• Suatu pengujian yang akan dilakukan harus mempunyaiSuatu pengujian yang akan dilakukan harus mempunyai fokus yang jelas.

• Ada 3 pertanyaan yang harus dijawab sebelum

l k k t ji

melakukan suatu pengujian: – What you might test ?

What you should test ? – What you should test ? – What you can test ?

• Jawaban -> membantu menentukan fokus pengujianJawaban membantu menentukan fokus pengujian yang dilakukan.

• Fokus pengujian yang jelas akan menentukan kualitas d i i t di ji

(23)

1 What you might test?

1. What you might test?

(24)

Usaha Pengujian yang Diperluas

• Dalam suatu proyek pengembangan perangkat kerasDalam suatu proyek pengembangan perangkat keras maupun perangkat lunak, sudah banyak proses

pengujian yang dilakukan di luar organisasi.

Ad 2 d di k t k il i

• Ada 2 pandangan yang digunakan untuk menilai

bagaimana kelompok diluar organisasi pengujian formal berkontribusi pada suatu proses pengujian:p p p g j

1. Test Granularity : level of focus of a test

(25)

Test Granularity

• Refers to the fineness or coarseness of a test’s focus

C f f

(26)

Structural Test

• Structural test find bugs in low level operations such asStructural test find bugs in low level operations such as those that occur down at the levels of lines of code,

database schemas, chips, subassemblies, and interfaces

interfaces.

(27)

Who did the structural test?

• Expert Programmers can be good structural testingExpert Programmers can be good structural testing • Testers develop most structural test by looking at the

(28)

Behavioural Test

• Behavioural tests are often used to find bugs in high-level g g operations, at the level of features, operational profiles, and customer scenarios

• They are functional tests based on y what a system should doy • Behavioral testing involves a detailed understanding of the

(29)

Who did the behavioral test?

• Testers who understand the design of the system, at least at a high g y g level, so that they can effectively find bugs common to that type of design.

• In addition to understand some of the technological issues g surrounding the system under test, behavioral testers must

(30)

What is Good Behavioral Test?

• StructuredStructured • Methodical

• Often repeatable sequences of tester-created conditions

Behavioral testing is the primary test technique for Behavioral testing is the primary test technique for

(31)

Live Testing

• Live Test involve putting customers, content experts,Live Test involve putting customers, content experts,

early adopters and other end users in front of the system • In some cases, we encourage the testers to try to break

th t

the system

(32)

Test Phases

• Unit TestingUnit Testing

• Component or Subsystem Testing • Integration or Product Testing

• String Testing • System Testing

(33)

Benefit of Phased Test Approach

• Structural Testing can build product stabilityg p y

• Structural testing using scaffolding or stubs can start early • You can detect bugs earlier and more efficiently

• You can gather better metrics and use best practice techniques in • You can gather better metrics and use best-practice techniques in

your testing effort

• Phases provide real and psychological milestones against which you can gauge the "doneness" of testing and thus the project

(34)

Test Phase

(35)

Referensi

Dokumen terkait

 Bank Syariah mendorong nasabah untuk mengupayakan pengelolaan harta nasabah (simpanan) yang sesuai dengan ajaran islam..  Bank Syariah menempatkan karakter/sikap baik

Desain pembelajaran dirancang sedemikian rupa untuk membekali peserta dengan jenis-jenis media pembelajaran, strategi pembelajaran e-learning , penyusunan alur

Blog Diagram system offline Jika system klasifikasi pada email pada mail client sudah dapat bekerja dengan baik, maka metode algoritma na ïve bayes classifier akan

Penelitian tentang posisi pemberitaan kasus Ervani Emy Handayani di Surat Kabar Harian Kedaulatan Rakyat dan Harian Jogja ini merupakan sebuah diskusi mengenai arah

Selain menambah frekuensi penerbangan untuk rute yang sudah ada, Garuda Indonesia juga berencana membuka rute baru yaitu Semarang- Bandung dan Semarang-Balikpapan yang akan

Para pekerja yang karena berakhirnya kontrak kerja diberhentikan atau kontrak kerjanya tidak dipatuhi oleh pengusaha, kecuali sebagai akibat ketidakcocokkannya untuk bekerja

Puji syukur penulis panjatkan kehadirat Allah SWT yang karena rahmat dan hidayah-Nya penulis dapat menyelesaikan penelitian dan penyusunan tesis dengan judul KAJIAN

Dengan aplikasi ini akan lebih mudah dalam mencari fungsi dari titik-titik yang diketahui untuk memprediksi nilai lainnya. Sinha, 2000, Microcomputer-Based Numerical Methods