hello-my-name-is-software-testing-v2-pdf

121
Hello My Name is Software Testing Thursday, October 18, 12

Upload: prathan-d

Post on 13-Jan-2015

1.070 views

Category:

Documents


0 download

DESCRIPTION

 

TRANSCRIPT

Page 1: hello-my-name-is-software-testing-v2-pdf

HelloMy Name is

Software Testing

Thursday, October 18, 12

Page 2: hello-my-name-is-software-testing-v2-pdf

Who am I?

IT Development Manager @ TARAD Dot Com

Assistance Services & Operation Manager @ Sanook.com

QA Specialist @ Sanook.com

Tester @ Sanook.com

System Administrator @ POPidols.net

Freelance Programmer

Prathan DansakulcharoenkitScrum Master + CBO + ITIL Coach @ OpenDreamConsult Manager @ FedilityQAOutsource Project Manager @ TARAD Dot Com

Thursday, October 18, 12

Page 3: hello-my-name-is-software-testing-v2-pdf

UNLEARN

Thursday, October 18, 12

Page 4: hello-my-name-is-software-testing-v2-pdf

Software Quality

Thursday, October 18, 12

Page 5: hello-my-name-is-software-testing-v2-pdf

Quality Triangle

Thursday, October 18, 12

Page 6: hello-my-name-is-software-testing-v2-pdf

Quality Triangle

Thursday, October 18, 12

Page 7: hello-my-name-is-software-testing-v2-pdf

Quality Triangle

Requirements

Thursday, October 18, 12

Page 8: hello-my-name-is-software-testing-v2-pdf

Quality Triangle

SpecificationRequirements

Thursday, October 18, 12

Page 9: hello-my-name-is-software-testing-v2-pdf

Quality Triangle

SpecificationRequirements

Software

Thursday, October 18, 12

Page 10: hello-my-name-is-software-testing-v2-pdf

Quality Triangle

SpecificationRequirements

Software

Gap

Thursday, October 18, 12

Page 11: hello-my-name-is-software-testing-v2-pdf

Quality Triangle

Requirements

Software

Gap

Thursday, October 18, 12

Page 12: hello-my-name-is-software-testing-v2-pdf

Quality TriangleSoftware

Gap

Thursday, October 18, 12

Page 13: hello-my-name-is-software-testing-v2-pdf

Quality Triangle

Gap

Thursday, October 18, 12

Page 14: hello-my-name-is-software-testing-v2-pdf

Quality Triangle

Thursday, October 18, 12

Page 15: hello-my-name-is-software-testing-v2-pdf

Quality Triangle

Thursday, October 18, 12

Page 16: hello-my-name-is-software-testing-v2-pdf

Quality Triangle

Thursday, October 18, 12

Page 17: hello-my-name-is-software-testing-v2-pdf

Quality Triangle

Thursday, October 18, 12

Page 18: hello-my-name-is-software-testing-v2-pdf

Quality Triangle

Thursday, October 18, 12

Page 19: hello-my-name-is-software-testing-v2-pdf

Quality Triangle

Thursday, October 18, 12

Page 20: hello-my-name-is-software-testing-v2-pdf

Quality Triangle

Thursday, October 18, 12

Page 21: hello-my-name-is-software-testing-v2-pdf

Quality Triangle

Requirements

Thursday, October 18, 12

Page 22: hello-my-name-is-software-testing-v2-pdf

Quality Triangle

Requirements Specification

Thursday, October 18, 12

Page 23: hello-my-name-is-software-testing-v2-pdf

Quality Triangle

Requirements Specification

Software

Thursday, October 18, 12

Page 24: hello-my-name-is-software-testing-v2-pdf

Quality Triangle

Requirements Specification

Software

It’s an IDEAL!!!

Thursday, October 18, 12

Page 25: hello-my-name-is-software-testing-v2-pdf

Quality Triangle

Thursday, October 18, 12

Page 26: hello-my-name-is-software-testing-v2-pdf

Quality Triangle

In the real WORLDThursday, October 18, 12

Page 27: hello-my-name-is-software-testing-v2-pdf

Quality Triangle

SpecificationRequirements

Software

In the real WORLDThursday, October 18, 12

Page 28: hello-my-name-is-software-testing-v2-pdf

Quality Triangle

SpecificationRequirements

Software

In the real WORLDThursday, October 18, 12

Page 29: hello-my-name-is-software-testing-v2-pdf

Quality Triangle

SpecificationRequirements

Software

In the real WORLD

Software

Requirements Specification

Thursday, October 18, 12

Page 30: hello-my-name-is-software-testing-v2-pdf

Quality Triangle

SpecificationRequirements

Software

In the real WORLD

Software

Requirements Specification

Thursday, October 18, 12

Page 31: hello-my-name-is-software-testing-v2-pdf

Quality Triangle

SpecificationRequirements

Software

In the real WORLD

Software

Requirements Specification

Software

Requirements Specification

Thursday, October 18, 12

Page 32: hello-my-name-is-software-testing-v2-pdf

Quality Triangle

SpecificationRequirements

Software

In the real WORLD

Software

Requirements Specification

Software

Requirements Specification

Thursday, October 18, 12

Page 33: hello-my-name-is-software-testing-v2-pdf

Quality Triangle

SpecificationRequirements

Software

In the real WORLD

Software

Requirements Specification

Software

Requirements Specification

Requirements

Software

Specification

Thursday, October 18, 12

Page 34: hello-my-name-is-software-testing-v2-pdf

Quality Triangle

SpecificationRequirements

Software

In the real WORLD

Software

Requirements Specification

Software

Requirements Specification

Requirements

Software

Specification

Thursday, October 18, 12

Page 35: hello-my-name-is-software-testing-v2-pdf

Quality Triangle

SpecificationRequirements

Software

In the real WORLD

Software

Requirements Specification

Software

Requirements Specification

Requirements

Software

Specification

Software

Requirements Specification

Thursday, October 18, 12

Page 36: hello-my-name-is-software-testing-v2-pdf

Software Testing

Thursday, October 18, 12

Page 37: hello-my-name-is-software-testing-v2-pdf

Where Do bug Come?

Thursday, October 18, 12

Page 38: hello-my-name-is-software-testing-v2-pdf

Where Do bug Come?Requirements definition

Thursday, October 18, 12

Page 39: hello-my-name-is-software-testing-v2-pdf

Where Do bug Come?Requirements definition

System design

Thursday, October 18, 12

Page 40: hello-my-name-is-software-testing-v2-pdf

Where Do bug Come?Requirements definition

System design

Implementation

Thursday, October 18, 12

Page 41: hello-my-name-is-software-testing-v2-pdf

Where Do bug Come?Requirements definition

System design

Implementation

Support systems

Thursday, October 18, 12

Page 42: hello-my-name-is-software-testing-v2-pdf

Where Do bug Come?Requirements definition

System design

Implementation

Support systems

Inadequate testing of Software

Thursday, October 18, 12

Page 43: hello-my-name-is-software-testing-v2-pdf

Where Do bug Come?Requirements definition

System design

Implementation

Support systems

Inadequate testing of Software

Evolution

Thursday, October 18, 12

Page 44: hello-my-name-is-software-testing-v2-pdf

Cost of Bug

Thursday, October 18, 12

Page 45: hello-my-name-is-software-testing-v2-pdf

Cost of BugTester use 10 minutes to record 1 bug

Thursday, October 18, 12

Page 46: hello-my-name-is-software-testing-v2-pdf

Cost of BugTester use 10 minutes to record 1 bug

350 bugs is used 3,500 minutes = 58 hours

Thursday, October 18, 12

Page 47: hello-my-name-is-software-testing-v2-pdf

Cost of BugTester use 10 minutes to record 1 bug

350 bugs is used 3,500 minutes = 58 hours

Developer use 3 minutes to feedback 1 bug

Thursday, October 18, 12

Page 48: hello-my-name-is-software-testing-v2-pdf

Cost of BugTester use 10 minutes to record 1 bug

350 bugs is used 3,500 minutes = 58 hours

Developer use 3 minutes to feedback 1 bug

350 bugs is used 1,050 minutes = 17 hours

Thursday, October 18, 12

Page 49: hello-my-name-is-software-testing-v2-pdf

Cost of BugTester use 10 minutes to record 1 bug

350 bugs is used 3,500 minutes = 58 hours

Developer use 3 minutes to feedback 1 bug

350 bugs is used 1,050 minutes = 17 hours

Tester use 3 minutes to change status of 1 bug

Thursday, October 18, 12

Page 50: hello-my-name-is-software-testing-v2-pdf

Cost of BugTester use 10 minutes to record 1 bug

350 bugs is used 3,500 minutes = 58 hours

Developer use 3 minutes to feedback 1 bug

350 bugs is used 1,050 minutes = 17 hours

Tester use 3 minutes to change status of 1 bug

350 bugs is used 1,050 minutes = 17 hours

Thursday, October 18, 12

Page 51: hello-my-name-is-software-testing-v2-pdf

Cost of BugTester use 10 minutes to record 1 bug

350 bugs is used 3,500 minutes = 58 hours

Developer use 3 minutes to feedback 1 bug

350 bugs is used 1,050 minutes = 17 hours

Tester use 3 minutes to change status of 1 bug

350 bugs is used 1,050 minutes = 17 hours

Thursday, October 18, 12

Page 52: hello-my-name-is-software-testing-v2-pdf

Cost of BugTester use 10 minutes to record 1 bug

350 bugs is used 3,500 minutes = 58 hours

Developer use 3 minutes to feedback 1 bug

350 bugs is used 1,050 minutes = 17 hours

Tester use 3 minutes to change status of 1 bug

350 bugs is used 1,050 minutes = 17 hours

Thursday, October 18, 12

Page 53: hello-my-name-is-software-testing-v2-pdf

Cost of BugTester use 10 minutes to record 1 bug

350 bugs is used 3,500 minutes = 58 hours

Developer use 3 minutes to feedback 1 bug

350 bugs is used 1,050 minutes = 17 hours

Tester use 3 minutes to change status of 1 bug

350 bugs is used 1,050 minutes = 17 hours

Thursday, October 18, 12

Page 54: hello-my-name-is-software-testing-v2-pdf

Cost of BugTester use 10 minutes to record 1 bug

350 bugs is used 3,500 minutes = 58 hours

Developer use 3 minutes to feedback 1 bug

350 bugs is used 1,050 minutes = 17 hours

Tester use 3 minutes to change status of 1 bug

350 bugs is used 1,050 minutes = 17 hours

Thursday, October 18, 12

Page 55: hello-my-name-is-software-testing-v2-pdf

Cost of BugTester use 10 minutes to record 1 bug

350 bugs is used 3,500 minutes = 58 hours

Developer use 3 minutes to feedback 1 bug

350 bugs is used 1,050 minutes = 17 hours

Tester use 3 minutes to change status of 1 bug

350 bugs is used 1,050 minutes = 17 hours

Thursday, October 18, 12

Page 56: hello-my-name-is-software-testing-v2-pdf

Cost of BugTester use 10 minutes to record 1 bug

350 bugs is used 3,500 minutes = 58 hours

Developer use 3 minutes to feedback 1 bug

350 bugs is used 1,050 minutes = 17 hours

Tester use 3 minutes to change status of 1 bug

350 bugs is used 1,050 minutes = 17 hours

Thursday, October 18, 12

Page 57: hello-my-name-is-software-testing-v2-pdf

Cost of BugTester use 10 minutes to record 1 bug

350 bugs is used 3,500 minutes = 58 hours

Developer use 3 minutes to feedback 1 bug

350 bugs is used 1,050 minutes = 17 hours

Tester use 3 minutes to change status of 1 bug

350 bugs is used 1,050 minutes = 17 hours

58 hrs + 17 hrs + 17 hrs = 92 hr

Thursday, October 18, 12

Page 58: hello-my-name-is-software-testing-v2-pdf

Cost of BugTester use 10 minutes to record 1 bug

350 bugs is used 3,500 minutes = 58 hours

Developer use 3 minutes to feedback 1 bug

350 bugs is used 1,050 minutes = 17 hours

Tester use 3 minutes to change status of 1 bug

350 bugs is used 1,050 minutes = 17 hours

58 hrs + 17 hrs + 17 hrs = 92 hr

4 days

Thursday, October 18, 12

Page 59: hello-my-name-is-software-testing-v2-pdf

What do you think software testing is?

Thursday, October 18, 12

Page 60: hello-my-name-is-software-testing-v2-pdf

Some Facts of Testing

Thursday, October 18, 12

Page 61: hello-my-name-is-software-testing-v2-pdf

Some Facts of TestingALWAYS be a chance that software will have bugs

Thursday, October 18, 12

Page 62: hello-my-name-is-software-testing-v2-pdf

Some Facts of TestingALWAYS be a chance that software will have bugs

CANNOT prove software works by testing it

Thursday, October 18, 12

Page 63: hello-my-name-is-software-testing-v2-pdf

Some Facts of TestingALWAYS be a chance that software will have bugs

CANNOT prove software works by testing it

DOES NOT prove that software is bug-free

Thursday, October 18, 12

Page 64: hello-my-name-is-software-testing-v2-pdf

Some Facts of TestingALWAYS be a chance that software will have bugs

CANNOT prove software works by testing it

DOES NOT prove that software is bug-free

Testing after software has been created DOES NOT improve its quality

Thursday, October 18, 12

Page 65: hello-my-name-is-software-testing-v2-pdf

Some Facts of TestingALWAYS be a chance that software will have bugs

CANNOT prove software works by testing it

DOES NOT prove that software is bug-free

Testing after software has been created DOES NOT improve its quality

Cost of removing bugs rises DRAMATICALLY in the later phases of the software development process

Thursday, October 18, 12

Page 66: hello-my-name-is-software-testing-v2-pdf

Some Facts of TestingALWAYS be a chance that software will have bugs

CANNOT prove software works by testing it

DOES NOT prove that software is bug-free

Testing after software has been created DOES NOT improve its quality

Cost of removing bugs rises DRAMATICALLY in the later phases of the software development process

QUALITY depends on 3 factors; People, Process and Tool

Thursday, October 18, 12

Page 67: hello-my-name-is-software-testing-v2-pdf

Some Facts of TestingALWAYS be a chance that software will have bugs

CANNOT prove software works by testing it

DOES NOT prove that software is bug-free

Testing after software has been created DOES NOT improve its quality

Cost of removing bugs rises DRAMATICALLY in the later phases of the software development process

QUALITY depends on 3 factors; People, Process and Tool

Thursday, October 18, 12

Page 68: hello-my-name-is-software-testing-v2-pdf

Some Facts in NASA

as the 120-tons space shuttle sits surrounded by almost 4 million pounds of rocket fuel..

...the last three versions of the program -- each 420,000 lines long-had just one error each. The last 11 versions of this software had a total of 17 errors...

Source: http://www.fastcompany.com/magazine/06/writestuff.html

Thursday, October 18, 12

Page 69: hello-my-name-is-software-testing-v2-pdf

Some Facts in NASA

Thursday, October 18, 12

Page 70: hello-my-name-is-software-testing-v2-pdf

Some Goals of Testing

Thursday, October 18, 12

Page 71: hello-my-name-is-software-testing-v2-pdf

Some Goals of TestingDetermine a product MEET business expectation

Thursday, October 18, 12

Page 72: hello-my-name-is-software-testing-v2-pdf

Some Goals of TestingDetermine a product MEET business expectation

MINIMIZE the risk of error occurs

Thursday, October 18, 12

Page 73: hello-my-name-is-software-testing-v2-pdf

Some Goals of TestingDetermine a product MEET business expectation

MINIMIZE the risk of error occurs

IS NOT the process to verify software work correct

Thursday, October 18, 12

Page 74: hello-my-name-is-software-testing-v2-pdf

Some Goals of TestingDetermine a product MEET business expectation

MINIMIZE the risk of error occurs

IS NOT the process to verify software work correct

Testing must be to DEMONSTRATE that software does have bug

Thursday, October 18, 12

Page 75: hello-my-name-is-software-testing-v2-pdf

Some Goals of TestingDetermine a product MEET business expectation

MINIMIZE the risk of error occurs

IS NOT the process to verify software work correct

Testing must be to DEMONSTRATE that software does have bug

Tester must find bug as EARLY as possible and make sure that they are fixed

Thursday, October 18, 12

Page 76: hello-my-name-is-software-testing-v2-pdf

What are testing types you know?

Thursday, October 18, 12

Page 77: hello-my-name-is-software-testing-v2-pdf

Testing Types

Thursday, October 18, 12

Page 78: hello-my-name-is-software-testing-v2-pdf

Testing TypesUnit testing

Thursday, October 18, 12

Page 79: hello-my-name-is-software-testing-v2-pdf

Testing TypesUnit testing

Integration testing

Thursday, October 18, 12

Page 80: hello-my-name-is-software-testing-v2-pdf

Testing TypesUnit testing

Integration testing

System testing

Thursday, October 18, 12

Page 81: hello-my-name-is-software-testing-v2-pdf

Testing TypesUnit testing

Integration testing

System testingUser Acceptance testing

Thursday, October 18, 12

Page 82: hello-my-name-is-software-testing-v2-pdf

Testing TypesUnit testing

Integration testing

System testingUser Acceptance testing

Regression testing

Thursday, October 18, 12

Page 83: hello-my-name-is-software-testing-v2-pdf

Testing TypesUnit testing

Integration testing

System testingUser Acceptance testing

Regression testing

Performance testing

Thursday, October 18, 12

Page 84: hello-my-name-is-software-testing-v2-pdf

Testing TypesUnit testing

Integration testing

System testingUser Acceptance testing

Regression testing

Performance testing

Security testing

Thursday, October 18, 12

Page 85: hello-my-name-is-software-testing-v2-pdf

Testing TypesUnit testing

Integration testing

System testingUser Acceptance testing

Regression testing

Performance testing

Security testingUsability testing

Thursday, October 18, 12

Page 86: hello-my-name-is-software-testing-v2-pdf

Testing TypesUnit testing

Integration testing

System testingUser Acceptance testing

Regression testing

Performance testing

Security testingUsability testing

Compatibility testing

Thursday, October 18, 12

Page 87: hello-my-name-is-software-testing-v2-pdf

Testing Types

A

B C

DE

F G

Thursday, October 18, 12

Page 88: hello-my-name-is-software-testing-v2-pdf

Testing Types

A

B C

DE

F G

Module

Thursday, October 18, 12

Page 89: hello-my-name-is-software-testing-v2-pdf

Testing Types

A

B C

DE

F G

Module

Integrate

Thursday, October 18, 12

Page 90: hello-my-name-is-software-testing-v2-pdf

Testing Types

A

B C

DE

F G

Module

Integrate

SystemThursday, October 18, 12

Page 91: hello-my-name-is-software-testing-v2-pdf

Testing Types

Thursday, October 18, 12

Page 92: hello-my-name-is-software-testing-v2-pdf

Test Case

Thursday, October 18, 12

Page 93: hello-my-name-is-software-testing-v2-pdf

Test Case

inputs to test system and verify with expected outputs

Thursday, October 18, 12

Page 94: hello-my-name-is-software-testing-v2-pdf

Test Case

inputs to test system and verify with expected outputs

Test Case = Test Rule + Test Data

Thursday, October 18, 12

Page 95: hello-my-name-is-software-testing-v2-pdf

Test Iterations

Thursday, October 18, 12

Page 96: hello-my-name-is-software-testing-v2-pdf

Test IterationsTest to Pass

Thursday, October 18, 12

Page 97: hello-my-name-is-software-testing-v2-pdf

Test IterationsTest to Pass

Test to FailThursday, October 18, 12

Page 98: hello-my-name-is-software-testing-v2-pdf

Test IterationsTest to Pass

Test to FailThursday, October 18, 12

Page 99: hello-my-name-is-software-testing-v2-pdf

Who feel responsible for QUALITY in traditional development (Waterfell)?

Thursday, October 18, 12

Page 100: hello-my-name-is-software-testing-v2-pdf

SOMEONE

Who feel responsible for QUALITY in traditional development (Waterfell)?

Thursday, October 18, 12

Page 101: hello-my-name-is-software-testing-v2-pdf

Who feel responsible for QUALITY in traditional development (Waterfell)?

Thursday, October 18, 12

Page 102: hello-my-name-is-software-testing-v2-pdf

WHOLE TEAM

Who feel responsible for QUALITY in traditional development (Waterfell)?

Thursday, October 18, 12

Page 103: hello-my-name-is-software-testing-v2-pdf

Whole Team Approach

Thursday, October 18, 12

Page 104: hello-my-name-is-software-testing-v2-pdf

Whole Team ApproachTeam commitment to quality

Thursday, October 18, 12

Page 105: hello-my-name-is-software-testing-v2-pdf

Whole Team ApproachTeam commitment to quality

Team responsible for testing

Thursday, October 18, 12

Page 106: hello-my-name-is-software-testing-v2-pdf

Whole Team ApproachTeam commitment to quality

Team responsible for testing

Tester get support, training

Thursday, October 18, 12

Page 107: hello-my-name-is-software-testing-v2-pdf

Whole Team ApproachTeam commitment to quality

Team responsible for testing

Tester get support, training

Developers doing testing activities

Thursday, October 18, 12

Page 108: hello-my-name-is-software-testing-v2-pdf

Whole Team ApproachTeam commitment to quality

Team responsible for testing

Tester get support, training

Developers doing testing activities

Tester and developer pair

Thursday, October 18, 12

Page 109: hello-my-name-is-software-testing-v2-pdf

Whole Team ApproachTeam commitment to quality

Team responsible for testing

Tester get support, training

Developers doing testing activities

Tester and developer pair

Get the right person

Thursday, October 18, 12

Page 110: hello-my-name-is-software-testing-v2-pdf

Team Organization

xA

Tester

Dev

Traditional Organization

Thursday, October 18, 12

Page 111: hello-my-name-is-software-testing-v2-pdf

Team OrganizationAgile Organization

DomainExpert Dev

Tester

Thursday, October 18, 12

Page 112: hello-my-name-is-software-testing-v2-pdf

3Cs

Card

Conversation

Confirmation

Thursday, October 18, 12

Page 113: hello-my-name-is-software-testing-v2-pdf

Test INFECTED

Thursday, October 18, 12

Page 114: hello-my-name-is-software-testing-v2-pdf

Quality Improvement by found defect EARLY

Thursday, October 18, 12

Page 115: hello-my-name-is-software-testing-v2-pdf

Automate Testing in the RIGHT time

Thursday, October 18, 12

Page 116: hello-my-name-is-software-testing-v2-pdf

Don’t tell your team, WE DO AGILE

Thursday, October 18, 12

Page 117: hello-my-name-is-software-testing-v2-pdf

Process’n Clock

Thursday, October 18, 12

Page 118: hello-my-name-is-software-testing-v2-pdf

We don’t build the softwareWe make it work with

QUALITY

Thursday, October 18, 12

Page 119: hello-my-name-is-software-testing-v2-pdf

Quality in every phase, Not afterthought

Thursday, October 18, 12

Page 120: hello-my-name-is-software-testing-v2-pdf

Keep in touch

email: [email protected]

twitter: @zyracuze

facebook: zyracuze

blog: www.welovebug.com

Thursday, October 18, 12

Page 121: hello-my-name-is-software-testing-v2-pdf

Thanks You

Thursday, October 18, 12