test strategy

30
© 2010 Cognifide Limited. In commercial confidence only. © 2010 Cognifide Limited. In commercial confidence only. Test Strategy Zbyszek Moćkun

Upload: zbyszek-mockun

Post on 25-May-2015

471 views

Category:

Education


2 download

DESCRIPTION

Presented on Poznań University of Technology where I had a lecture for students how to choose test approach.

TRANSCRIPT

Page 1: Test Strategy

© 2010 Cognifide Limited. In commercial confidence only.© 2010 Cognifide Limited. In commercial confidence only.

Test Strategy

Zbyszek Moćkun

Page 2: Test Strategy

© 2010 Cognifide Limited. In commercial confidence only.© 2010 Cognifide Limited. In commercial confidence only.

1. V Model

2. Agile Way

3. Test Planing

4. Control & Execution

5. Metrics

6. Demo

Agenda

Client/partner logo

Page 3: Test Strategy

© 2010 Cognifide Limited. In commercial confidence only.© 2010 Cognifide Limited. In commercial confidence only.

Perfect world

V Model

Page 4: Test Strategy

© 2010 Cognifide Limited. In commercial confidence only.© 2010 Cognifide Limited. In commercial confidence only.

V Model

• Coverage

• Do not duplicate tests during regression

• Test specific functionality

Page 5: Test Strategy

© 2010 Cognifide Limited. In commercial confidence only.© 2010 Cognifide Limited. In commercial confidence only.

Preventive or reactive

• Coverage

• Do not duplicate tests during regression

• Test specific functionality

Page 6: Test Strategy

© 2010 Cognifide Limited. In commercial confidence only.© 2010 Cognifide Limited. In commercial confidence only.

Test Pyramid

• Coverage

• Do not duplicate tests during regression

• Test specific functionality

Validation Verification

Page 7: Test Strategy

© 2010 Cognifide Limited. In commercial confidence only.© 2010 Cognifide Limited. In commercial confidence only.

New way?

Agile

Page 8: Test Strategy

© 2010 Cognifide Limited. In commercial confidence only.© 2010 Cognifide Limited. In commercial confidence only.

Agile Manifesto

• Coverage

• Do not duplicate tests during regression

• Test specific functionality

Source: blog.twg.ca

Page 9: Test Strategy

© 2010 Cognifide Limited. In commercial confidence only.© 2010 Cognifide Limited. In commercial confidence only.

Waterfall

Agile against waterfall

Coding, new functionality

Bug fixing

Testing

Iteration

Requirements

Design

Coding

Testing

Release

Release

Page 10: Test Strategy

© 2010 Cognifide Limited. In commercial confidence only.© 2010 Cognifide Limited. In commercial confidence only.

Agile ways

• Coverage

• Do not duplicate tests during regression

• Test specific functionality

Processes Methodologies

XP

Scrum

Kanban

TDD

BDD

ATDD

Page 11: Test Strategy

© 2010 Cognifide Limited. In commercial confidence only.© 2010 Cognifide Limited. In commercial confidence only.

Continuous Integration

• Coverage

• Do not duplicate tests during regression

• Test specific functionality

Source: http://wiki.mxunit.org

Page 12: Test Strategy

© 2010 Cognifide Limited. In commercial confidence only.© 2010 Cognifide Limited. In commercial confidence only.

Reactive approach?

• Coverage

• Do not duplicate tests during regression

• Test specific functionality

Page 13: Test Strategy

© 2010 Cognifide Limited. In commercial confidence only.© 2010 Cognifide Limited. In commercial confidence only.

Scripting issues

• Scripted testing report

• Not all founded issues are against test case

• Test case number means nothing (James Bach)

• New test scripts added almost each day

• Old onces are updated

phase All Executed passed failed

Test design phase 80 0 0 0

First day 90 (4 updated) 20 16 4

Second day 95 (10) 75 65 10

Third day 120 (14) 75 73 2

Fourth day 125 (16) 110 98 12

Page 14: Test Strategy

© 2010 Cognifide Limited. In commercial confidence only.© 2010 Cognifide Limited. In commercial confidence only.

Test Planning

Page 15: Test Strategy

© 2010 Cognifide Limited. In commercial confidence only.© 2010 Cognifide Limited. In commercial confidence only.

What am I doing here?

• Coverage

• Do not duplicate tests during regression

• Test specific functionality

So

urce: h

ttp://a

rboro

sa.org

/tag

/test-p

lan

nin

g/

Page 16: Test Strategy

© 2010 Cognifide Limited. In commercial confidence only.© 2010 Cognifide Limited. In commercial confidence only.

Test Strategy / Test Plan

• Coverage

• Do not duplicate tests during regression

• Test specific functionality

Source: http://technet.m

icrosoft.com

Page 17: Test Strategy

© 2010 Cognifide Limited. In commercial confidence only.© 2010 Cognifide Limited. In commercial confidence only.

Control and Execution

Page 18: Test Strategy

© 2010 Cognifide Limited. In commercial confidence only.© 2010 Cognifide Limited. In commercial confidence only.

Coverage

• Coverage

• Do not duplicate tests during regression

• Test specific functionality

Requirements

Page 19: Test Strategy

© 2010 Cognifide Limited. In commercial confidence only.© 2010 Cognifide Limited. In commercial confidence only.

Execution

• Coverage

• Do not duplicate tests during regression

• Test specific functionality

Test Suite

Test Run

Test Case status

Page 20: Test Strategy

© 2010 Cognifide Limited. In commercial confidence only.© 2010 Cognifide Limited. In commercial confidence only.

Traceability

• Coverage

• Do not duplicate tests during regression

• Test specific functionality

Source: http://www.tuleap.com

Page 21: Test Strategy

© 2010 Cognifide Limited. In commercial confidence only.© 2010 Cognifide Limited. In commercial confidence only.

Entry and Exit Criteria

• Coverage

• Do not duplicate tests during regression

• Test specific functionality

Page 22: Test Strategy

© 2010 Cognifide Limited. In commercial confidence only.© 2010 Cognifide Limited. In commercial confidence only.

Reports

• Coverage

• Do not duplicate tests during regression

• Test specific functionality

Page 23: Test Strategy

© 2010 Cognifide Limited. In commercial confidence only.© 2010 Cognifide Limited. In commercial confidence only.

Regression

Page 24: Test Strategy

© 2010 Cognifide Limited. In commercial confidence only.© 2010 Cognifide Limited. In commercial confidence only.

Retest or regression?

Source: http://www.softwaretestinghelp.com

Page 25: Test Strategy

© 2010 Cognifide Limited. In commercial confidence only.© 2010 Cognifide Limited. In commercial confidence only.

Automation

Source: http://blog.jugnoo.com

Page 26: Test Strategy

© 2010 Cognifide Limited. In commercial confidence only.© 2010 Cognifide Limited. In commercial confidence only.

Find what you need

Metrics

Page 27: Test Strategy

© 2010 Cognifide Limited. In commercial confidence only.© 2010 Cognifide Limited. In commercial confidence only.

Compare and improve

Page 28: Test Strategy

© 2010 Cognifide Limited. In commercial confidence only.© 2010 Cognifide Limited. In commercial confidence only.

Q&A

Page 29: Test Strategy

© 2010 Cognifide Limited. In commercial confidence only.© 2010 Cognifide Limited. In commercial confidence only.

Poznań Testing and Quality Group

PTaQ

Page 30: Test Strategy

© 2010 Cognifide Limited. In commercial confidence only.© 2010 Cognifide Limited. In commercial confidence only.

Demo

Test Case Management