17
Software testing Implementation

Software testing Implementation - Masalah ICT dan ... · Software testing Implementation •The testing process •Test case design ... top-down), dan sejauh mana pengujian otomatis

Embed Size (px)

Citation preview

Page 1: Software testing Implementation - Masalah ICT dan ... · Software testing Implementation •The testing process •Test case design ... top-down), dan sejauh mana pengujian otomatis

Software testing Implementation

Page 2: Software testing Implementation - Masalah ICT dan ... · Software testing Implementation •The testing process •Test case design ... top-down), dan sejauh mana pengujian otomatis

Software testing Implementation

• The testing process

• Test case design

• Automated testing

• Alpha and beta site testing programs

Page 3: Software testing Implementation - Masalah ICT dan ... · Software testing Implementation •The testing process •Test case design ... top-down), dan sejauh mana pengujian otomatis

The planning activities include:

• Determining the test methodology

• Planning unit and integration tests

• Planning the system test

• Designing the tests.

Page 4: Software testing Implementation - Masalah ICT dan ... · Software testing Implementation •The testing process •Test case design ... top-down), dan sejauh mana pengujian otomatis

Determining the test methodology

• berkaitan dengan keputusan tentang standar kualitas perangkat lunak yang diperlukan dan pengujian menyeluruh atau pengujian tambahan (bottom-up atau top-down), dan sejauh mana pengujian otomatis

Page 5: Software testing Implementation - Masalah ICT dan ... · Software testing Implementation •The testing process •Test case design ... top-down), dan sejauh mana pengujian otomatis

Planning unit and integration tests

• Prior to planning the tests, preferences must be established as to which unit and integration test will be carried out, based on the system’s characteristics.

Page 6: Software testing Implementation - Masalah ICT dan ... · Software testing Implementation •The testing process •Test case design ... top-down), dan sejauh mana pengujian otomatis

Planning the system test

Planners focus on the following main issues:

• What to test?

• Which types of sources are to provide the test cases?

• Who performs the tests?

• Where will the tests be performed?

• When to terminate the tests?

Page 7: Software testing Implementation - Masalah ICT dan ... · Software testing Implementation •The testing process •Test case design ... top-down), dan sejauh mana pengujian otomatis

Designing the test

The products of the test design stage are:

• Detailed design and procedure for each test,

• Test case database/file.

Page 8: Software testing Implementation - Masalah ICT dan ... · Software testing Implementation •The testing process •Test case design ... top-down), dan sejauh mana pengujian otomatis

There are basically two types of test case sources:

• Random samples of real-life cases

• Synthetic test cases (“simulated test cases”) prepared by the test designers.

Page 9: Software testing Implementation - Masalah ICT dan ... · Software testing Implementation •The testing process •Test case design ... top-down), dan sejauh mana pengujian otomatis

Automated Testing

• Code auditors.

• Coverage monitors.

• Functional tests.

• Load tests.

• Test management.

Page 10: Software testing Implementation - Masalah ICT dan ... · Software testing Implementation •The testing process •Test case design ... top-down), dan sejauh mana pengujian otomatis

The main advantages of automated tests are:

• Accuracy and completeness of performance

• Accuracy of results log and summary reports

• Ability to obtain much more comprehensive information

• Performance requires few manpower resources

• Shorter testing periods

• Performance of complete regression tests

• Performance of test classes beyond the reach of manual testing.

Page 11: Software testing Implementation - Masalah ICT dan ... · Software testing Implementation •The testing process •Test case design ... top-down), dan sejauh mana pengujian otomatis

The main disadvantages of automated tests are:

• High investments required in package purchasing and training

• High manpower tester resources for preparing the tests

• Considerable testing areas not covered by automated testing.

Page 12: Software testing Implementation - Masalah ICT dan ... · Software testing Implementation •The testing process •Test case design ... top-down), dan sejauh mana pengujian otomatis

Testing Alpha dan Beta

• Metode pengujian yang dilakukan dengan cara melibatkan pengguna akhir potensial dari program yang dibangun

Page 13: Software testing Implementation - Masalah ICT dan ... · Software testing Implementation •The testing process •Test case design ... top-down), dan sejauh mana pengujian otomatis

Keunggulan pengujian beta

■ Identifikasi kesalahan tak terduga

■ Luas lingkup cakupan dalam pencarian kesalahan

■ Biaya rendah

Page 14: Software testing Implementation - Masalah ICT dan ... · Software testing Implementation •The testing process •Test case design ... top-down), dan sejauh mana pengujian otomatis

Kelemahan pengujian beta

■ Sistematika pengujian kurang

■ Kesalahan laporan kualitas rendah

■ Banyak usaha manusia dikeluarkan untuk memeriksa laporan peserta

Page 15: Software testing Implementation - Masalah ICT dan ... · Software testing Implementation •The testing process •Test case design ... top-down), dan sejauh mana pengujian otomatis
Page 16: Software testing Implementation - Masalah ICT dan ... · Software testing Implementation •The testing process •Test case design ... top-down), dan sejauh mana pengujian otomatis

Kesimpulan

• Implementasi pengujian : melaksanakan pengujian berdasarkan pelakuknya dan tahapan pengembangan sistem

• Jenis testing : alpha (developer) dan beta (user/pihak eksternal)

• Perlu dibuatkan rencana testing: siapa, apa, dimana, kapan, yang mana, dan bagaimana

• Strategi pengujian:

– Metodelogi : big bang (menyeluruh) incremental (bertahap:detail to global dan global to detail)

– Tehnik tool: black box dan white box

Page 17: Software testing Implementation - Masalah ICT dan ... · Software testing Implementation •The testing process •Test case design ... top-down), dan sejauh mana pengujian otomatis

• Black boxlebih sering dilakukan

dilakukan pada saat exekusi program

dilakukan oleh developer

• White boxSDM khusus;

syarat:ada source code

• Kedua jenis test ini sangat diperlukan dan saling melengkapi