SOFTWARE TESTING - · PDF fileSenior Manager Software Quality Say word “Testing”...

23
SOFTWARE TESTING WORKSHOP ON MCS, Rawalpindi. June 6 th , 2015

Transcript of SOFTWARE TESTING - · PDF fileSenior Manager Software Quality Say word “Testing”...

SOFTWARE TESTING

W O R K S H O P O N

M C S , R a w a l p i n d i . J u n e 6 t h , 2 0 1 5

Promoting software quality at:

http://knowledgetester.org

Senior Manager Software Quality

Say word “Testing” every 2nd minute

Majd Uddin

MS (CS), BE (Mech)

Interest in quality since 1996

Hi from grey hairs

- NESCOM

- Bentley Inc

- NUST SEECS – DTS Japan

- NetsolAce Inc

Sohail SarwarPhD (CS) – In Progress

MS (IT) - Software Quality

BS (CS)

To err is human

ABOUT YOU

BREAKING THE MISSION

Knowledge

Tester

What is

Testing?

Unit Testing

Exploratory

Testing

Test case

designing

Phone ?

Quality

QUALITY IS VALUE TO

SOME PERSON

(who matters)“ “

GERALD M. WEINBERG

SOFTWARE IS IMAGINARY

Client Programmer Tester

I NEED AN

EQUIPMENT

• Is equipped with internal combustion engine

• Is available in yellow & black color

• It has three wheels

• Has 3 speed forward and 3 speed reverse

• Levels uneven surface nicely and quickly

Slide courtesy Asad ur Rehman of OISOL

THREE AMIGOS a.k.a. THE POWER OF THREE

Power of Three concept from “Agile Testing” book by Lisa Crispin and Janet Gregory

Client

TesterProgrammer

{ }1 Exercise

Three Amigos in action…

END OF UNIT 1

{ }2 Unit

Designing Test cases

A test case in software engineering is a set of conditions or variables under which a tester will determine whether an application or software system is working correctly or not.

http://en.wikipedia.org/wiki/Test_case

Test case does have a corresponding with Use case.

Normally a test case has:

–ID

–Description

–Input

–Expected output.

A Test case either ‘passes’ or ‘fails’.

A Feature Test Plan is usually a set of Test cases.

WHAT IS A TEST CASE?

{ }2 Exercise

Derive test cases

Adder application which takes two 2-digit no.s

and displays the sum.

Reference: 'Testing Computer Software' book by Cem Kaner, Jack Falk and Hung Q. Nguyen.

? 2

? 3

5

? _

WRITING TEST CASES

ADDER APPLICATION TEST SCENARIOS -I

ADDER APPLICATION TEST SCENARIOS -II

{ }3 Exercise

Heuristics for test case design

Heuristic (/hjʉˈrɪstɨk/; Greek: "Εὑρίσκω",

"find" or "discover") refers to

experience-based techniques for

problem solving, learning, and discovery

that find a solution which is not

guaranteed to be optimal, but good

enough for a given set of goals.

“ “From: Wikipedia

• CRUD (Create, Read, Update, Delete)

• SFDiPOT (Structure, Function, Data, Interfaces, Platform, Operation, Time)

• HICCUPPS (History, Image, Comparable Products, Claims, User needs, Product, Purpose, Statutes)

• RCRCRC (Recent, Core, Risky, Configuration, Repaired, Chronic)

• Goldilocks

• “You are here”

TEST CASE DESIGN HEURISTICS

END OF UNIT 2