automated testing vs. manual testing

8
Presented by Pakorn Weecharungsan Automated Testing vs. Manual Testing

Upload: pakorn-weecharungsan

Post on 27-Jun-2015

188 views

Category:

Technology


2 download

DESCRIPTION

Pros and Cons

TRANSCRIPT

Page 1: Automated Testing vs. Manual Testing

Presented byPakorn Weecharungsan

Automated Testing vs. Manual Testing

Page 2: Automated Testing vs. Manual Testing

•Pros and Cons

Introduction

Page 3: Automated Testing vs. Manual Testing

• เราควรใช้� Automated Testing ก็ต่�อเมื่��อค�าใช้�จ่�ายสำ�าหร�บก็ารสำร�างและดู�แล ร�ก็ษา Automated Testing น้�อยก็ว�าก็�าล�งและเวลาที่!�เราเสำ!ยไปก็�บก็ารที่�า

Manual Testing• เมื่��อก็ารที่�า Test Execution แบบ Manual น้�$น้ยาก็มื่าก็ๆ เช้�น้ก็รณี!ที่!�เราที่�า

Performance Test ซึ่(�ง Tester ต่�องมื่าเสำ!ยเวลาก็�บก็ารสำร�างข้�อมื่�ลปร*มื่าณีมื่าก็ๆเพื่��อที่ดูสำอบ

• เมื่��อก็าร Test น้�$น้ๆต่รงที่�าซึ่�$าบ�อยๆ เช้�น้ก็ารที่�า Regression Test เพื่��อที่ดูสำอบ ความื่ถู�ก็ต่�องข้อง Software

Automated Testing

Page 4: Automated Testing vs. Manual Testing

ข้�อดู!• ถู�าเราต่�อง run test ซึ่�$าๆ Automated Testing จ่ะช้�วยไดู�มื่าก็

• ช้�วยใน้ก็ารที่�า compatibility testing น้��น้ค�อ test ซึ่อฟที่.แวร.ซึ่�$าๆใน้ช้/ดู configuration ที่!�ต่�างก็�น้

• ช้�วยให�เราที่�า regression test ไดู�อย�างรวดูเรว• สำามื่ารถู test ไดู�จ่าก็เคร��องหลายๆเคร��อง ซึ่(�งจ่ะช้�วยลดูเวลาอย�างมื่าก็

• ค/�มื่ค�าใน้ระยะยาว

Automated Testing – Pros and Cons

ข้�อเสำ!ย• ลงที่/น้สำ�งใน้ช้�วงเร*�มื่ต่�น้ สำ�งก็ว�า manual test อย�างช้�ดูเจ่น้

• เราที่�า automate test ไมื่�ไดู�ที่/ก็อย�าง บางคร�$งก็ ต่�องพื่(�ง manual test

• ต่�องใช้�คน้ที่�าที่!�มื่!ที่�ก็ษะก็ารเข้!ยน้โปรแก็รมื่• ต่�องใช้�คน้ที่�าที่!�ร� �หล�ก็ก็ารข้องก็ารที่�า testing อย�างดู!

Page 5: Automated Testing vs. Manual Testing

•Unit Test•Regression Test•Capacity Test•Performance and Reliability Test

Automated Testing - Technique

Page 6: Automated Testing vs. Manual Testing

• ข้อให�แน้�ใจ่ก็�อน้ว�าที่!มื่เรามื่!ความื่สำามื่ารถูใน้ก็ารจ่�ดูก็ารก็�บความื่เสำ!�ยงที่!�จ่ะเก็*ดูข้($น้ เข้�าใจ่งาน้ดู!พื่อที่!�จ่ะมื่อง Test Coverage ไดู�อย�างครบถู�วน้และเข้�าใจ่ใน้หล�ก็ก็ารเพื่��อเล�อก็ testing technique ที่!�เหมื่าะสำมื่ จ่าก็น้�$น้ค�อยมื่าพื่�ดู

ก็�น้เร��องจ่ะใช้� Automated Testing• ถู�าพื่*จ่ารณีาข้�อดู!ข้�อเสำ!ยและความื่พื่ร�อมื่ข้องเราอย�างถู!�ถู�วน้แล�วสำร/ปไดู�ว�าเราย�งไมื่�พื่ร�อมื่ ง�$น้ก็ต่�องล/ย Manual ก็�น้ต่�อไป

Manual Testing

Page 7: Automated Testing vs. Manual Testing

ข้�อดู!• ถู�าไมื่�ต่�อง run test บ�อยๆ (reuse test case ไมื่�ไดู�)

ก็ใช้�แบบ Manual ไปดู!ก็ว�า• เหมื่าะสำมื่สำ�าหร�บก็ารที่�า ac-hoc test น้��น้ค�อไมื่�ต่�อง

มื่! test case ไว�ก็�อน้ ที่�าแบบสำ/�มื่ๆไดู�เลย• ค/�มื่ค�าใน้ระยะสำ�$น้

Manual Testing – Pros and Cons

ข้�อเสำ!ย• ลงที่/น้น้�อยก็ว�า automated test แต่�เสำ!ยเวลา• สำ�าหร�บที่/ก็ๆ release เราต่�องมื่าน้��ง run test ซึ่�$าๆ

Page 8: Automated Testing vs. Manual Testing

• Installation Test•Usability Test

Manual Testing - Technique