agile and agiletester - wordpress.com · key success factors to agile testing whole-team approach...

33
AGILE AND AGILE TESTING KAIZANIA 9 DECEMBER 2009 Lionel Bisschoff / Arrie van der Dussen © Kaizania 2009

Upload: others

Post on 23-Jul-2020

3 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Agile and AgileTester - WordPress.com · KEY SUCCESS FACTORS TO AGILE TESTING Whole-team approach Adopt Agile Testing Mind-Set Automate Regression Testing Provide and obtain feedback

AG

ILE

AN

D A

GIL

E T

ES

TIN

G

KA

IZA

NIA

9 DECEMBER 2009

Lionel Bisschoff / Arrie van der Dussen

© Kaizania 2009

Page 2: Agile and AgileTester - WordPress.com · KEY SUCCESS FACTORS TO AGILE TESTING Whole-team approach Adopt Agile Testing Mind-Set Automate Regression Testing Provide and obtain feedback

Changing the way software products and services

are created

© Kaizania 2009

flexible production era

impact on software development

Page 3: Agile and AgileTester - WordPress.com · KEY SUCCESS FACTORS TO AGILE TESTING Whole-team approach Adopt Agile Testing Mind-Set Automate Regression Testing Provide and obtain feedback

CRAFT Production: past -> 1920’s

three eras of work

© Kaizania 2009

Page 4: Agile and AgileTester - WordPress.com · KEY SUCCESS FACTORS TO AGILE TESTING Whole-team approach Adopt Agile Testing Mind-Set Automate Regression Testing Provide and obtain feedback

MASS Production: 1920’s -> 1950’s

three eras of work

© Kaizania 2009

Page 5: Agile and AgileTester - WordPress.com · KEY SUCCESS FACTORS TO AGILE TESTING Whole-team approach Adopt Agile Testing Mind-Set Automate Regression Testing Provide and obtain feedback

1920’s

1950’s

craftsmanship replaced through

• craft knowledge systematically collected

• operations simplified into consecutive steps

• steps specified in great detail

• work stations designed to execute steps

• simplification and standardisation of tasks

• workers rigidly supervised

• must complete tasks with no deviation, no input

• intensified division of labour

• 1000’s of workers

• increasing volume of information to be tracked

• large management structures to cope

mass production era

© Kaizania 2009

Page 6: Agile and AgileTester - WordPress.com · KEY SUCCESS FACTORS TO AGILE TESTING Whole-team approach Adopt Agile Testing Mind-Set Automate Regression Testing Provide and obtain feedback

• Project plans

• Gantt charts

• Work breakdown structures

• Standardisation

• Repeatability

• Process

• CMMi

• Prince II

• PMBOK

influence on project management?1920’s

1950’s

mass production era

© Kaizania 2009

Page 7: Agile and AgileTester - WordPress.com · KEY SUCCESS FACTORS TO AGILE TESTING Whole-team approach Adopt Agile Testing Mind-Set Automate Regression Testing Provide and obtain feedback

FLEXIBLE Production: 1980’s -> now, ongoing

three eras of work

© Kaizania 2009

Page 8: Agile and AgileTester - WordPress.com · KEY SUCCESS FACTORS TO AGILE TESTING Whole-team approach Adopt Agile Testing Mind-Set Automate Regression Testing Provide and obtain feedback

1950’s

today

W.Edwards Deming, Walter ShewhartStatistical Process Control, Quality control

Continuous Improvement, Kaizen

Toyota, Motorola The Toyota Way, Six Sigma, JIT, Lean,

New New product development game

flexible production era

© Kaizania 2009

Page 9: Agile and AgileTester - WordPress.com · KEY SUCCESS FACTORS TO AGILE TESTING Whole-team approach Adopt Agile Testing Mind-Set Automate Regression Testing Provide and obtain feedback

Quality 1950’s

today

NO TRADE-OFF

Higher quality drives Increased Production AND

Lowers Costs

All non value adding activities from the CUSTOMER

perspective are WASTE

flexible production era

© Kaizania 2009

Page 10: Agile and AgileTester - WordPress.com · KEY SUCCESS FACTORS TO AGILE TESTING Whole-team approach Adopt Agile Testing Mind-Set Automate Regression Testing Provide and obtain feedback

Continuous Improvement - Kaizen 1950’s

today

• Inspect

• Propose improvement

• Try

• Repeat

• Improve Quality

• Increase Production

• Reduce Costs

• Maximise Customer Value

flexible production era

© Kaizania 2009

Page 11: Agile and AgileTester - WordPress.com · KEY SUCCESS FACTORS TO AGILE TESTING Whole-team approach Adopt Agile Testing Mind-Set Automate Regression Testing Provide and obtain feedback

Technology1950’s

today• Store and retrieve vast amounts of information

• Automate computation

• Automate manufacturing, production

flexible production era

© Kaizania 2009

Page 12: Agile and AgileTester - WordPress.com · KEY SUCCESS FACTORS TO AGILE TESTING Whole-team approach Adopt Agile Testing Mind-Set Automate Regression Testing Provide and obtain feedback

Flexible Production Era

Product Development 1950’s

today

With

• Overlapping development phases

• Cross functional teams

• Self-organizing

Replace

• Serialized, Independent phases

• Independent, single skill teams

• Management co-ordination

© Kaizania 2009

Page 13: Agile and AgileTester - WordPress.com · KEY SUCCESS FACTORS TO AGILE TESTING Whole-team approach Adopt Agile Testing Mind-Set Automate Regression Testing Provide and obtain feedback

1990

2001

Ken Schwaber, Jeff Sutherland

UK DSDM Consortium

Kent Beck

I. Jacobson, G. Booch

R. Charette, M. / T. Poppendieck Lean Software Development

Influence on Software Development?

flexible production era

© Kaizania 2009

Page 14: Agile and AgileTester - WordPress.com · KEY SUCCESS FACTORS TO AGILE TESTING Whole-team approach Adopt Agile Testing Mind-Set Automate Regression Testing Provide and obtain feedback

Individuals and interactions

Working software

Customer collaboration

Responding to change

over processes and tools

over comprehensive documentation

over contract negotiation

over following a plan

agile manifesto

We are uncovering better ways of developing

software by doing it and helping others do it.

Through this work we have come to value:

That is, while there is value in the items on

the right, we value the items on the left more.

Kent Beck, Mike Beedle, Arie van Bennekum, Alistair Cockburn, Ward

Cunningham, Martin Fowler, James Grenning, Jim Highsmith, Andrew

Hunt, Ron Jeffries, Jon Kern, Brian Marick, Robert C. Martin, Steve

Mellor, Ken Schwaber, Jeff Sutherland

© Kaizania 2009

Page 15: Agile and AgileTester - WordPress.com · KEY SUCCESS FACTORS TO AGILE TESTING Whole-team approach Adopt Agile Testing Mind-Set Automate Regression Testing Provide and obtain feedback

Accept that:

• Software Product development is repeated invention

• Perfectly planned invention is not possible

What works?

Vision realised through

idea, try, test, learn, more work needed

idea, try, test, learn, more work needed

idea, try, test, learn, more work needed

idea, try, test, perfect, done

Iterations, iterations, iterations, iterations, iterations, iterations,

iterations, iterations, iterations, iterations, iterations, iterations

agile development

© Kaizania 2009

Page 16: Agile and AgileTester - WordPress.com · KEY SUCCESS FACTORS TO AGILE TESTING Whole-team approach Adopt Agile Testing Mind-Set Automate Regression Testing Provide and obtain feedback

Invent software through:

• Empirical process control

• Iterations and continued learning

• Goal driven self-organizing teams

What works?

© Kaizania 2009

Page 17: Agile and AgileTester - WordPress.com · KEY SUCCESS FACTORS TO AGILE TESTING Whole-team approach Adopt Agile Testing Mind-Set Automate Regression Testing Provide and obtain feedback

Perfect Plan

Iterations

Increasing certainty over time

Reduced risk over time

What do we want

How do we build it

How long will it take

What will it cost

perfect plan vs reality

© Kaizania 2009

Page 18: Agile and AgileTester - WordPress.com · KEY SUCCESS FACTORS TO AGILE TESTING Whole-team approach Adopt Agile Testing Mind-Set Automate Regression Testing Provide and obtain feedback

Iterating well means:

• JIT Requirements

• Fixed iterations, variable scope

• Adapting/learning fast vs. conformance to plan

• Coding/refactoring, integrating, testing, accepting repeatedly

• Automation: Coding Standards, static analysis, dependency management, builds, testing

• Cross functional, dedicated teams

• Adaptive leadership, collaboration, trust, ownership, light touch

• Self organisation

• Organisational structure geared to maximising ROI from iterative invention

iterations change everything

© Kaizania 2009

Page 19: Agile and AgileTester - WordPress.com · KEY SUCCESS FACTORS TO AGILE TESTING Whole-team approach Adopt Agile Testing Mind-Set Automate Regression Testing Provide and obtain feedback

Mass Production Flexible Production

Predictive long term detail planning Constant adaptive planning

Top-down control Mix of top-down control and self-

organizing teams

Manager as thinker Manager-as-coordinator

Workers as implementers Workers as thinkers/implementers

Line vs. staff – thinkers separated from

doers Thinkers as doers

Division of labour Accepted responsibility / volunteerism

Exhaustive Requirements gathering Product Vision, Release planning, Just in

Time Requirements

Commands + Manage and Control Commitments + Leadership

agile : the difference

© Kaizania 2009

Page 20: Agile and AgileTester - WordPress.com · KEY SUCCESS FACTORS TO AGILE TESTING Whole-team approach Adopt Agile Testing Mind-Set Automate Regression Testing Provide and obtain feedback

© Kaizania 2009

Agile Testing

Page 21: Agile and AgileTester - WordPress.com · KEY SUCCESS FACTORS TO AGILE TESTING Whole-team approach Adopt Agile Testing Mind-Set Automate Regression Testing Provide and obtain feedback

Individuals and interactions

Working software

Customer collaboration

Responding to change

over processes and tools

over comprehensive documentation

over contract negotiation

over following a plan

agile manifesto

We are uncovering better ways of developing

software by doing it and helping others do it.

Through this work we have come to value:

That is, while there is value in the items on

the right, we value the items on the left more.

Kent Beck, Mike Beedle, Arie van Bennekum, Alistair Cockburn, Ward

Cunningham, Martin Fowler, James Grenning, Jim Highsmith, Andrew

Hunt, Ron Jeffries, Jon Kern, Brian Marick, Robert C. Martin, Steve

Mellor, Ken Schwaber, Jeff Sutherland

© Kaizania 2009

Page 22: Agile and AgileTester - WordPress.com · KEY SUCCESS FACTORS TO AGILE TESTING Whole-team approach Adopt Agile Testing Mind-Set Automate Regression Testing Provide and obtain feedback

Roles & Activities on an Agile Team

© Kaizania 2009

Customer

Team

Developer

Team

Tester

Page 23: Agile and AgileTester - WordPress.com · KEY SUCCESS FACTORS TO AGILE TESTING Whole-team approach Adopt Agile Testing Mind-Set Automate Regression Testing Provide and obtain feedback

Traditional Testing

© Kaizania 2009

Source: Declan Whelan© Kaizania 2009

Page 24: Agile and AgileTester - WordPress.com · KEY SUCCESS FACTORS TO AGILE TESTING Whole-team approach Adopt Agile Testing Mind-Set Automate Regression Testing Provide and obtain feedback

Agile Testing

© Kaizania 2009

Source: Declan Whelan

Page 25: Agile and AgileTester - WordPress.com · KEY SUCCESS FACTORS TO AGILE TESTING Whole-team approach Adopt Agile Testing Mind-Set Automate Regression Testing Provide and obtain feedback

Traditional vs Agile Testing

© Kaizania 2009

Traditional testers confirm a set of requirements,

where Agile testers confirm business value

delivered.

Page 26: Agile and AgileTester - WordPress.com · KEY SUCCESS FACTORS TO AGILE TESTING Whole-team approach Adopt Agile Testing Mind-Set Automate Regression Testing Provide and obtain feedback

Whole Team Approach

© Kaizania 2009

Customer

Team

Developer

Team

Tester

QUALITY

Page 27: Agile and AgileTester - WordPress.com · KEY SUCCESS FACTORS TO AGILE TESTING Whole-team approach Adopt Agile Testing Mind-Set Automate Regression Testing Provide and obtain feedback

Agile Requirements - Stories

© Kaizania 2009

As a <role>, I want to <feature>, so that <value>

IIndependent

NNegotiable

VValuable

EEstimable

SSmall

TTestable

Page 28: Agile and AgileTester - WordPress.com · KEY SUCCESS FACTORS TO AGILE TESTING Whole-team approach Adopt Agile Testing Mind-Set Automate Regression Testing Provide and obtain feedback

Quality driven requirements

© Kaizania 2009

card

conversation

confirmation

Page 29: Agile and AgileTester - WordPress.com · KEY SUCCESS FACTORS TO AGILE TESTING Whole-team approach Adopt Agile Testing Mind-Set Automate Regression Testing Provide and obtain feedback

© Kaizania 2009

WHAT IS AN AGILE TESTER?

‘A professional tester who embraces change, collaborates

well with both technical and business people, and

understands the concept of using tests to document

requirements and drive development’

- Lisa Crispin ( Agile Testing )

Page 30: Agile and AgileTester - WordPress.com · KEY SUCCESS FACTORS TO AGILE TESTING Whole-team approach Adopt Agile Testing Mind-Set Automate Regression Testing Provide and obtain feedback

© Kaizania 2009

KEY SUCCESS FACTORS TO AGILE TESTING

Whole-team

approach

Adopt Agile Testing

Mind-Set

Automate

Regression Testing

Provide and obtain

feedback

Build a foundation

of core practices

Collaborate with

Customers

Look at the big

picture

- Lisa Crispin ( Agile Testing )

Page 31: Agile and AgileTester - WordPress.com · KEY SUCCESS FACTORS TO AGILE TESTING Whole-team approach Adopt Agile Testing Mind-Set Automate Regression Testing Provide and obtain feedback

© Kaizania 2009

XP Tester's Bill of Rightsfrom Testing Extreme Programming by Lisa Crispin and Tip House (Addison-Wesley, 2002)

You have the right to bring up issues related to quality and process at any time.

You have the right to ask questions of customers and programmers and receive

timely answers.

You have the right to ask for and receive help from anyone on the project teasm,

including programmers, managers and customers.

You have the right to make and update your own estimates for your own tasks and

have these included in estimates for stories.

You have the right to the tools you need to do your job in a timely manner.

You have the right to expect your project team, not just yourself, to be responsible

for quality.

Page 32: Agile and AgileTester - WordPress.com · KEY SUCCESS FACTORS TO AGILE TESTING Whole-team approach Adopt Agile Testing Mind-Set Automate Regression Testing Provide and obtain feedback

© Kaizania 2009

Page 33: Agile and AgileTester - WordPress.com · KEY SUCCESS FACTORS TO AGILE TESTING Whole-team approach Adopt Agile Testing Mind-Set Automate Regression Testing Provide and obtain feedback

Thank you...

www.kaizania.co.za

thinkingagile.wordpress.com

[email protected]

[email protected]

+27 83 700 2181

© Kaizania 2009