agile testing is nonsense, because agile is about testing!

Post on 14-Sep-2014

3.572 Views

Category:

Technology

2 Downloads

Preview:

Click to see full reader

DESCRIPTION

Testing is an attitude which brings us to trust results based on the fact that we can validate them. Testing is an approach which allows us to think about how to verify we did the right thing even before starting. Testing is a practice which allows us to write effective tests that can be repeated indefinitely while systematically producing consistent results. Agile is built around the idea of managing complex projects, recognizing the importance of emerging results and verifying in a very disciplined way the assumptions and hypothesis we make as often and as thoroughly as possible. This means testing everything we do, every day ... So if you are truly Agile, you are living testing in every second of your life!

TRANSCRIPT

agile42 | We advise, train and coach companies building software www.agile42.com | All rights reserved. Copyright © 2007 - 2009.

Agile Testing is nonsensebecause Agile it’s all about testing…

agile42 | We advise, train and coach companies building software www.agile42.com | All rights reserved. Copyright © 2007 - 2009.

Andrea Tomasini

Agile Coach & Trainer andrea.tomasini@agile42.com

@tumma72@agile42/coaches

agile42 | We advise, train and coach companies building software www.agile42.com | All rights reserved. Copyright © 2007 - 2009.

Agile Testing is nonsense, because Agile is Testing

Testing is an attitude which brings us to trust results based on the fact that we can validate them. Testing is an approach which allows us to think about how to verify we did the right thing even before starting. Testing is a practice which allows us to write effective tests that can be repeated indefinitely while systematically producing consistent results. !

agile42 | We advise, train and coach companies building software www.agile42.com | All rights reserved. Copyright © 2007 - 2009.

Agile Testing is nonsense, because Agile is Testing

Agile is built around the idea of managing complex projects, recognizing the importance of emerging results and verifying in a very disciplined way the assumptions and hypothesis we make as often and as thoroughly as possible. This means testing everything we do, every day … So if you are truly Agile, you are living testing in every second of your life!

agile42 | We advise, train and coach companies building software www.agile42.com | All rights reserved. Copyright © 2007 - 2009.

Testing as an Attitude...

agile42 | We advise, train and coach companies building software www.agile42.com | All rights reserved. Copyright © 2007 - 2009.

attitude: a settled way of thinking or feeling about something: he was questioned on his attitude to South Africa | being competitive is an attitude of mind .

agile42 | We advise, train and coach companies building software www.agile42.com | All rights reserved. Copyright © 2007 - 2009.

Agile Values & PrinciplesAgile Values & Principles are supporting teams developing the right attitude to enable continuos and regular value delivering to the client, while continuously improving

agile42 | We advise, train and coach companies building software www.agile42.com | All rights reserved. Copyright © 2007 - 2009.

Individuals & interactions

Working software

Customer collaboration

Responding to change

Processes & tools

Comprehensive documentation

Contract negotiation

Following a plan

o v e r

We recognize the value here...We value

this more….

agile42 | We advise, train and coach companies building software www.agile42.com | All rights reserved. Copyright © 2007 - 2009.

Empirical Process ControlSwitching from measuring compliance to measuring outcome

agile42 | We advise, train and coach companies building software www.agile42.com | All rights reserved. Copyright © 2007 - 2010.

Defined Process ControlThe time required to complete a repeatable action is a valid proxy to predict time to finish the whole

agile42 | We advise, train and coach companies building software www.agile42.com | All rights reserved. Copyright © 2007 - 2009.

68!

10s 20s5s 15s

20

19

38 5280? 76? 69?

agile42 | We advise, train and coach companies building software www.agile42.com | All rights reserved. Copyright © 2007 - 2010.

Empirical Process ControlEvery step performed while creating a new product is unique, only outcome can be trusted

agile42 | We advise, train and coach companies building software www.agile42.com | All rights reserved. Copyright © 2007 - 2009.

Iterative and incrementalStop assuming you already know what the client wants and discover it while building it together

agile42 | We advise, train and coach companies building software www.agile42.com | All rights reserved. Copyright © 2007 - 2009.

I need to move from A to B faster than by walking…

agile42 | We advise, train and coach companies building software www.agile42.com | All rights reserved. Copyright © 2007 - 2009.

I am not that good at staying in equilibrium, I need something more stable…

agile42 | We advise, train and coach companies building software www.agile42.com | All rights reserved. Copyright © 2007 - 2009.

I am stable now, but not fast as I would like to be, can we go faster?

agile42 | We advise, train and coach companies building software www.agile42.com | All rights reserved. Copyright © 2007 - 2009.

I figure I am pretty tired in the evening, and though I like sport, I still need to be faster

agile42 | We advise, train and coach companies building software www.agile42.com | All rights reserved. Copyright © 2007 - 2009.

Inspect the outcome and learn to validate your assumptions & hypothesis

What is this?

agile42 | We advise, train and coach companies building software www.agile42.com | All rights reserved. Copyright © 2007 - 2009.

BUT… not Because clients do not trust that their money has been used wisely...

agile42 | We advise, train and coach companies building software www.agile42.com | All rights reserved. Copyright © 2007 - 2009.

Unit Tests

Integration Tests

User Acceptance Tests

Ad-Hoc Tests

What you get as a result… ice-cream!

agile42 | We advise, train and coach companies building software www.agile42.com | All rights reserved. Copyright © 2007 - 2009.

Testing as an Approach...

agile42 | We advise, train and coach companies building software www.agile42.com | All rights reserved. Copyright © 2007 - 2009.

approach: a way of dealing with a situation or problem: we need a whole new approach to the job.

agile42 | We advise, train and coach companies building software www.agile42.com | All rights reserved. Copyright © 2007 - 2009.

Experimenting new things, innovating, requires dedication and commitment…

agile42 | We advise, train and coach companies building software www.agile42.com | All rights reserved. Copyright © 2007 - 2009.

We like to learn using short feedback loops

agile42 | We advise, train and coach companies building software www.agile42.com | All rights reserved. Copyright © 2007 - 2009.

Somet

imes

we

succ

eed

in

valid

ating

our

hypo

thes

is...

agile42 | We advise, train and coach companies building software www.agile42.com | All rights reserved. Copyright © 2007 - 2009.

Sometimes we don't...

agile42 | We advise, train and coach companies building software www.agile42.com | All rights reserved. Copyright © 2007 - 2009.

Why are we thinking about what to test and how to test it beforehand?

agile42 | We advise, train and coach companies building software www.agile42.com | All rights reserved. Copyright © 2007 - 2009.

Reduce... Social Risk

agile42 | We advise, train and coach companies building software www.agile42.com | All rights reserved. Copyright © 2007 - 2009.

Reduce... Schedule & Cost Risks

agile42 | We advise, train and coach companies building software www.agile42.com | All rights reserved. Copyright © 2007 - 2009.

Reduce... Business Risks

agile42 | We advise, train and coach companies building software www.agile42.com | All rights reserved. Copyright © 2007 - 2009.

Reduce... Technical Risk

agile42 | We advise, train and coach companies building software www.agile42.com | All rights reserved. Copyright © 2007 - 2009.

With every step we want to learn something...

agile42 | We advise, train and coach companies building software www.agile42.com | All rights reserved. Copyright © 2007 - 2009.

Testing as a Practice...

agile42 | We advise, train and coach companies building software www.agile42.com | All rights reserved. Copyright © 2007 - 2009.

practice: the actual application or use of an idea, belief, or method, as opposed to theories relating to it: the principles and practice of teaching | the recommendations proved too expensive to put into practice.

agile42 | We advise, train and coach companies building software www.agile42.com | All rights reserved. Copyright © 2007 - 2009.

Creating a Vision with StakeholdersPeter Senge, Vision Strategies

Col

labo

ratio

n

Effort

Co-Creating

Consulting

Testing

SellingTelling

agile42 | We advise, train and coach companies building software www.agile42.com | All rights reserved. Copyright © 2007 - 2009.

Agile Teams normally work with User Stories to agree what needs to be built and how…As a Returning Customer, I

want to jump with one click to the checkout page, so that I can purchase good quicker

agile42 | We advise, train and coach companies building software www.agile42.com | All rights reserved. Copyright © 2007 - 2009.

- Detail about payment are visible - Shipping address is visible - I can change quantity of the items

User Stories do have Acceptance Criteria on their back, Team wouldn't commit to them, without knowing when they would be considered finished

agile42 | We advise, train and coach companies building software www.agile42.com | All rights reserved. Copyright © 2007 - 2009.

Backlog

Definition of Ready

Definition of Done

Shippable Product

agile42 | We advise, train and coach companies building software www.agile42.com | All rights reserved. Copyright © 2007 - 2009.

Continuous ImprovementAgile Team achieve continuous improvement by deciding how to Test a new behavior or practice, even before starting introducing a change…

agile42 | We advise, train and coach companies building software www.agile42.com | All rights reserved. Copyright © 2007 - 2010.

do not overload yourPeople

(無理

: mur

i)Ove

rbur

den

agile42 | We advise, train and coach companies building software www.agile42.com | All rights reserved. Copyright © 2007 - 2010.

Unnecessary Variations (斑: mura) keep the Flow

Even

agile42 | We advise, train and coach companies building software www.agile42.com | All rights reserved. Copyright © 2007 - 2010.

remove non value addingActivities

Wasteful Activities

(無駄: muda)

agile42 | We advise, train and coach companies building software www.agile42.com | All rights reserved. Copyright © 2007 - 2009.

Agile Teams also test their behavior constantly...

agile42 | We advise, train and coach companies building software www.agile42.com | All rights reserved. Copyright © 2007 - 2009.

... and learn how to get better over time...

agile42 | We advise, train and coach companies building software www.agile42.com | All rights reserved. Copyright © 2007 - 2009.

... BUT it's not about finding who's right and who's wrong!

agile42 | We advise, train and coach companies building software www.agile42.com | All rights reserved. Copyright © 2007 - 2009.

Working Agreements 1. We want to pair when stories

are bigger than 2 points, so that we reduce risk

2. We want to work with ATDD on all stories, so that we will have a cleaner design

3. ...

Capturing behavior and motivation helps teams to measure their effectiveness

agile42 | We advise, train and coach companies building software www.agile42.com | All rights reserved. Copyright © 2007 - 2010.

Toyota Kata & Lean A3 are very powerful together…

agile42 | We advise, train and coach companies building software www.agile42.com | All rights reserved. Copyright © 2007 - 2009.

Accelerators Breaks

Goals & TryKeep

TDD on hard

story

Delay with designers

Active Learning Cycle provides guidance on what to change and what to expect from the changes…

Next: TDD on one story

Working Agreements 1. We want to pair when stories

are bigger than 2 points, so that we reduce risk

2. We want to work with ATDD on all stories, so that we will have a cleaner design

3. ...

Definition of Done ✓ Integrated in the staging

system ✓ all acceptance criteria are

fulfilled ✓ no regression ✓ PO has seen the story ✓ Performance ok

Definition of Ready ✓ User Story format ✓ Max 5pt. ✓ INVEST ✓ At least 2 Acceptance Criteria

All Stories worked

with TDD No extra effort

for infrastructure

Doing TDD on everything

1 size > estimated

90% coverage of

the code

agile42 | We advise, train and coach companies building software www.agile42.com | All rights reserved. Copyright © 2007 - 2009.

self-

organi

zed

managed

agile42 | We advise, train and coach companies building software www.agile42.com | All rights reserved. Copyright © 2007 - 2009.

Push

PullIndividual

Team

Com

pliance

Colla

borati

onCompetition

Focu

s on v

alue

agile42 | We advise, train and coach companies building software www.agile42.com | All rights reserved. Copyright © 2007 - 2009.

Cultivation Competence

Control

Peopl

eIm

personal

Actuality

Possibility

Collaboration

William Schneider - The four Core Cultures

Agile Values & Principles

agile42 | We advise, train and coach companies building software www.agile42.com | All rights reserved. Copyright © 2007 - 2009.

Experiences

Beliefs

Actions

Results

CultureMan

age

Lead

The “Results Pyramid” is copyright of Partners in Leadership LLC

shift

the

balanc

e

coaching is an ongoing long term investment

agile42 | We advise, train and coach companies building software www.agile42.com | All rights reserved. Copyright © 2007 - 2009.agile42 | We advise, train and coach companies building software www.agile42.com | All rights reserved. Copyright © 2007 - 2009.

How do we know if this is working for us?

Goal PSF NC

Agile Strategy Map ™

Represent the Goal we want to achieve

Possible Success Factor (PSF) represent a hypothesis about a “factor” that would allow to achieve the Goal

Necessary Condition (NC), is what is needed in order to fulfill the Success Factor

agile42 | We advise, train and coach companies building software www.agile42.com | All rights reserved. Copyright © 2007 - 2009.agile42 | We advise, train and coach companies building software www.agile42.com | All rights reserved. Copyright © 2007 - 2009.

How can we make sure we are not missing something?

Goal

Agile Strategy Map ™

PSF#1

PSF#1: we believe that by consolidating all projects in one Portfolio, we will be able to make better business decisions

NC#1.1

NC#1.2

NC#1.1.1

To verify the hypothesis we define what is needed in order to start a pilot aiming at verifying the validity of the PSF#1NC#1.1: we need to list at least 3 projects per product area

NC#1.1.1: we need to chose projects and define comparable dimensions such as: business value, impact, (cost?)NC#1.2: we need to define a sample Portfolio funnel, and check that Teams can deliver with the provided information

agile42 | We advise, train and coach companies building software www.agile42.com | All rights reserved. Copyright © 2007 - 2009.agile42 | We advise, train and coach companies building software www.agile42.com | All rights reserved. Copyright © 2007 - 2009.

Ok, it worked… now what’s next?

Goal CSF#1 NC#1.1

NC#1.2

Agile Strategy Map ™

CSF#1: we have to consolidate all projects in one Portfolio, so that will be able to make better business decisions

NC#1.1.1

The Pilot was successful...

The Success Factor, becomes Critical (CSF)

agile42 | We advise, train and coach companies building software www.agile42.com | All rights reserved. Copyright © 2007 - 2009.

1. Testing is an attitude, because if we embrace the Agile Manifesto and its principles, we have to accelerate learning, and this requires individual commitment to validate assumptions

agile42 | We advise, train and coach companies building software www.agile42.com | All rights reserved. Copyright © 2007 - 2009.

2. Testing is an approach, it requires to systematically initiate everything we do by understanding the constraints, the expected outcomes, and the possible learnings

agile42 | We advise, train and coach companies building software www.agile42.com | All rights reserved. Copyright © 2007 - 2009.

3. Testing is a practice, because once we develop the attitude and learned the approach, we will be able to emerge practices, which will make us more effective at learning

agile42 | We advise, train and coach companies building software www.agile42.com | All rights reserved. Copyright © 2007 - 2009.

4. Everybody makes mistake, every mistake is an opportunity to learn, and we need to be ready to learn and capitalize on that experience. If we are not, it will be just a failure!

agile42 | We advise, train and coach companies building software www.agile42.com | All rights reserved. Copyright © 2007 - 2009.

5. Testing is a Team responsibility. Stay away from boxing responsibilities into roles… you will hinder self-organization and shared commitment

agile42 | We advise, train and coach companies building software www.agile42.com | All rights reserved. Copyright © 2007 - 2009.

Thank

You!

agile42 | We advise, train and coach companies building software www.agile42.com | All rights reserved. Copyright © 2007 - 2009.

More food for thought...

http://slideshare.net/tumma72

agile42 | We advise, train and coach companies building software www.agile42.com | All rights reserved. Copyright © 2007 - 2009.

Copyrights noticeAll material produced in this presentation is protected by the Creative Common License 3.0 (by-nc-sa).

top related