Software Testing

14
GNT VietNam EC Team Author: Tam Vo & Luan Nguyen 22 June 2012 SOFTWARE TESTING

description

Software Testing. GNT VietNam EC Team Author: Tam Vo & Luan Nguyen 22 June 2012. agenda. Testing Overview - Objective. Testing Overview - Roles. Testing Overview. Methods. Levels. Types. Unit Test Integration Test System Test Deployment Test Acceptance Test. Functional Test - PowerPoint PPT Presentation

Transcript of Software Testing

Page 1: Software Testing

GNT VietNam

EC Team

Author: Tam Vo & Luan Nguyen22 June 2012

SOFTWARE TESTING

Page 2: Software Testing

AGENDA

Khái quát l i v n đ ki m th ph n ạ ấ ề ể ử ầm mề1Ví trí vai trò c a Unit-Test, ủAutomation-Testing2S d ng Unit-Test đâu, Khi nào, ử ụ Ởt i sao, nh th nào ?ạ ư ế3

Demo4

Page 3: Software Testing

TESTING OVERVIEW - OBJECTIVE

Ensure the correctness of sortwares.

Detect bugs with lowest cost

Control software quality

Page 4: Software Testing

TESTING OVERVIEW - ROLES

QA prevent bugs QC figure out bugs DEV fix bugs

Page 5: Software Testing

• Functional Test

• Performance Test

• Stress Test (Load Test)

• Configuration Test

• Recovery Test

• Security Test

• UI & Behavior Test

• Alpha / Beta Test

• Structure Test

• Manual test

• Automatic test

TESTING OVERVIEW

Methods Types

• Unit Test

• Integration Test

• System Test

• Deployment Test

• Acceptance Test

Levels

• Black box test

• White box test

Transparency

Page 6: Software Testing

NUNIT -TEST

What

Where

WhyHow

When

Page 7: Software Testing

A CASE-STUDY• Tax expression : PriceIncluceTax = Price * ( TaxRate / 100 + 1)

• Rule

• Floor : x.1 — 9 → x

• Round : x.1 — 4 → x: x.5 — 9 → x + 1

• Ceiling : x.1 — 9 → x + 1

Page 8: Software Testing

TEST-DATASETCase No Price TaxRate Calculate TaxRound Expected

001 2511 5% 2511 * 1.05 = 2636.55

Floor 2636

Round 2637

Ceiling 2637

002 2330 5% 2330 * 1.05 = 2446.50

Floor 2446

Round 2447

Ceiling 2447

Page 9: Software Testing

IMPLEMENT

Page 10: Software Testing

IMPLEMENT TEST-CASE

Page 11: Software Testing

RESULT OF AUTOMATION TEST

Page 12: Software Testing

DEBUG

Page 13: Software Testing

FIX BUG

Page 14: Software Testing

RESULT OF AUTOMATION TEST