emerging requirements and agile testing in...

29
Copyright 2010 Sogeti. Jimmy Janlén Scrum Jimmy Janlén [email protected] Scrum, Agile and Lean Software Development http://jimmyjanlen.wordpress.com Seminar SESAM, Stockholm, 2010-11-11 Emerging requirements and Agile testing in

Upload: others

Post on 06-Jul-2020

4 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Emerging requirements and Agile testing in Scrumsesam.smart-lab.se/seminarier/hostsem10/Sogeti.pdfShort Iterations Incremental Delivery Working & Valuable Software 3w Close and continuous

Copyright 2010 Sogeti. Jimmy Janlén

Scrum

Jimmy Janlén

[email protected]

Scrum, Agile and Lean Software Developmenthttp://jimmyjanlen.wordpress.com

SeminarSESAM, Stockholm, 2010-11-11

Emerging requirements and Agile testing in

Page 2: Emerging requirements and Agile testing in Scrumsesam.smart-lab.se/seminarier/hostsem10/Sogeti.pdfShort Iterations Incremental Delivery Working & Valuable Software 3w Close and continuous

Copyright 2010 Sogeti. Jimmy Janlén

What does it mean to be

Agile?

Page 3: Emerging requirements and Agile testing in Scrumsesam.smart-lab.se/seminarier/hostsem10/Sogeti.pdfShort Iterations Incremental Delivery Working & Valuable Software 3w Close and continuous

Copyright 2010 Sogeti. Jimmy Janlén

Agile is…

Continuous LearningSelf-adapting process

I’m free to choose!

I’m free to choose!

Welcoming changeManaging change

Deliver BusinessValue Early andFrequently

Short IterationsIncremental Delivery

Working & Valuable Software

3w

Close and continuousCustomer collaboration

Small tight teamsSmall tight teams

Page 4: Emerging requirements and Agile testing in Scrumsesam.smart-lab.se/seminarier/hostsem10/Sogeti.pdfShort Iterations Incremental Delivery Working & Valuable Software 3w Close and continuous

Copyright 2010 Sogeti. Jimmy Janlén

Scrum: Iterative Incremental

Illustration from “Kanban and Scrum – Making the most of both” © Henrik Kniberg 2010

Page 5: Emerging requirements and Agile testing in Scrumsesam.smart-lab.se/seminarier/hostsem10/Sogeti.pdfShort Iterations Incremental Delivery Working & Valuable Software 3w Close and continuous

Copyright 2010 Sogeti. Jimmy Janlén

The emergingRequirement

Page 6: Emerging requirements and Agile testing in Scrumsesam.smart-lab.se/seminarier/hostsem10/Sogeti.pdfShort Iterations Incremental Delivery Working & Valuable Software 3w Close and continuous

Copyright 2010 Sogeti. Jimmy Janlén

Requirements

Far fromagreement

Close tocertainty

Far fromcertainty

Close toagreement

Anarchy

Technology

If in the anarchy space the requirements (or technology) needs to be better understood.Scrum won’t solve it…

If in the anarchy space the requirements (or technology) needs to be better understood.Scrum won’t solve it…

Even if your product is complex …

Even if your product is complex …

…try to keep each iteration simple

…try to keep each iteration simple

You want to be in the “Simple” space when starting a Sprint!

You want to be in the “Simple” space when starting a Sprint!

The Complexity Space or“Dealing with Chaos”

ComplexComplicated

Simple

Page 7: Emerging requirements and Agile testing in Scrumsesam.smart-lab.se/seminarier/hostsem10/Sogeti.pdfShort Iterations Incremental Delivery Working & Valuable Software 3w Close and continuous

Copyright 2010 Sogeti. Jimmy Janlén

From idea to feature

Login functionality for personalization(of subscription, content and payment history)

Login functionality for personalization(of subscription, content and payment history)

� Fuzzy description

� Vague “guesstimate”

� Covers manysmaller functions

A a registered user, I want to log in, so that I can access subscriber content.

A a registered user, I want to log in, so that I can access subscriber content.

Upcoming Sprint

Page 8: Emerging requirements and Agile testing in Scrumsesam.smart-lab.se/seminarier/hostsem10/Sogeti.pdfShort Iterations Incremental Delivery Working & Valuable Software 3w Close and continuous

Copyright 2010 Sogeti. Jimmy Janlén

From idea to feature

� Detailed description of a well definedand well delimited small feature

� Accurate estimation

Login functionality for personalization(of subscription, content and payment history)

Login functionality for personalization(of subscription, content and payment history)

� Fuzzy description

� Vague “guesstimate”

� Covers manysmaller functions

A a registered user, I want to log in, so that I can access subscriber content.

A a registered user, I want to log in, so that I can access subscriber content.

Page 9: Emerging requirements and Agile testing in Scrumsesam.smart-lab.se/seminarier/hostsem10/Sogeti.pdfShort Iterations Incremental Delivery Working & Valuable Software 3w Close and continuous

Copyright 2010 Sogeti. Jimmy Janlén

Ingredients for realizationof a requirement

Definition of DONE

DONE means…� Designed

� Coded

� Versioned

� Tested

� Documented

� Deployable

� Approved

Working Agreement

WorkingAgreement

Signatures:Hans HanssonAnna KarlssonXxxx YyyyAaaa Aaaaa

Describes…� Process

� Roles

� Meetings

� Test and QualityStrategy

� Defect Management

� Principles and Values

� Deployment and delivery routines

Product Backlog

Continuous Collaboration and Communication

� Prototyping

� Backlog Grooming

� Sprint Planning

� User Story Workshops (includes acceptance criteria)

� Design Meetings

� Sprint Demos� Pair Programming� Etc…

Planning, design and requirement collaboration sessions:

Page 10: Emerging requirements and Agile testing in Scrumsesam.smart-lab.se/seminarier/hostsem10/Sogeti.pdfShort Iterations Incremental Delivery Working & Valuable Software 3w Close and continuous

Copyright 2010 Sogeti. Jimmy Janlén

Agile Testing

Page 11: Emerging requirements and Agile testing in Scrumsesam.smart-lab.se/seminarier/hostsem10/Sogeti.pdfShort Iterations Incremental Delivery Working & Valuable Software 3w Close and continuous

Copyright 2010 Sogeti. Jimmy Janlén

What is Agile testing?

“The job of tests, and the people that develop and run tests,

is to prevent defects, not to find them”- Mary Poppendieck

Page 12: Emerging requirements and Agile testing in Scrumsesam.smart-lab.se/seminarier/hostsem10/Sogeti.pdfShort Iterations Incremental Delivery Working & Valuable Software 3w Close and continuous

Copyright 2010 Sogeti. Jimmy Janlén

Agile Test approach

An agile test approach…� Adheres to the principles of Agile & Lean

� Embraces changes late in development

� Handles testing and developmentat the same time

� Works towards potential release every N’th week (that is tested and done)

� Incorporates and utilizes a cross-functional team

� Introduces demands on test environmentand support processes

� Works with a test base that evolveswith knowledge

Page 13: Emerging requirements and Agile testing in Scrumsesam.smart-lab.se/seminarier/hostsem10/Sogeti.pdfShort Iterations Incremental Delivery Working & Valuable Software 3w Close and continuous

Copyright 2010 Sogeti. Jimmy Janlén

Agile test quadrants

Functional TestsStory Tests, A-TDD

PrototypesSimulations

Examples & Guides

Exploratory TestingScenarios

Usability TestingUser Acceptance Testing

Alpha/Beta

TDD & Unit TestsComponent TestIntegration Tests

Performance, Load, Security testing“ility” -testing

Supporting the team Critiq

ue product

Technology facing

Business facing

Automated Automated& Tools

ManualAutomated & Manual

Page 14: Emerging requirements and Agile testing in Scrumsesam.smart-lab.se/seminarier/hostsem10/Sogeti.pdfShort Iterations Incremental Delivery Working & Valuable Software 3w Close and continuous

Copyright 2010 Sogeti. Jimmy Janlén

An agile test approach (Example)

For every feature (within every sprint):• Product Owner (and if possible the customer)

involved in design and prototyping

• Developed using TDD and ATDD

• Pair Programming (and/or Code Review)

• Usability Testing

• Integration Testing (Continuous Integrationand Automated integration tests)

For every sprint:• Exploratory Testing

• User Acceptance Testing

• Performance testing

• Complete Regression Testing

• Customer Acceptance Testing

Sprint6

Sprint7

Sprint8

Sprint8

Page 15: Emerging requirements and Agile testing in Scrumsesam.smart-lab.se/seminarier/hostsem10/Sogeti.pdfShort Iterations Incremental Delivery Working & Valuable Software 3w Close and continuous

Copyright 2010 Sogeti. Jimmy Janlén

An agile test approach (Example)

For every feature (within every sprint):• Product Owner (and if possible the customer)

involved in design and prototyping

• Developed using TDD and ATDD

• Pair Programming (and/or Code Review)

• Usability Testing

• Integration Testing (Continuous Integrationand Automated integration tests)

For every sprint:• Exploratory Testing

• User Acceptance Testing

For every release:• Performance testing

• Complete Regression Testing

• Customer Acceptance Testing

Stabilization& Deploy

Sprint6

Sprint7

Sprint8

Page 16: Emerging requirements and Agile testing in Scrumsesam.smart-lab.se/seminarier/hostsem10/Sogeti.pdfShort Iterations Incremental Delivery Working & Valuable Software 3w Close and continuous

Copyright 2010 Sogeti. Jimmy Janlén

UI

Server

DB

Vertical Development

Iterative = Don’t expect to get it right the first time

Incremental = Build in vertical “slides” (features) rather than “horizontal” (layers)

Page 17: Emerging requirements and Agile testing in Scrumsesam.smart-lab.se/seminarier/hostsem10/Sogeti.pdfShort Iterations Incremental Delivery Working & Valuable Software 3w Close and continuous

Copyright 2010 Sogeti. Jimmy Janlén

UI

Server

DB

Story

StoryStory

Story

Maybe not needed…

Vertical Development

Prioritizable & Testable

Finishable withinone Sprint

Iterative = Don’t expect to get it right the first time

Incremental = Build in vertical “slides” (features) rather than “horizontal” (layers)

Page 18: Emerging requirements and Agile testing in Scrumsesam.smart-lab.se/seminarier/hostsem10/Sogeti.pdfShort Iterations Incremental Delivery Working & Valuable Software 3w Close and continuous

Copyright 2010 Sogeti. Jimmy Janlén

The Team &the Individual

Page 19: Emerging requirements and Agile testing in Scrumsesam.smart-lab.se/seminarier/hostsem10/Sogeti.pdfShort Iterations Incremental Delivery Working & Valuable Software 3w Close and continuous

Copyright 2010 Sogeti. Jimmy Janlén

Agile development introduces demands on peoples personality!

Personality and relations

� Requires Pro-active mentality

� Nothing is served on a silver plate

� Requires more collaboration and communication skills

� Hidden conflicts surface, new conflicts arise

� Everyone have to unlearn and relearn

Staff turn-over… “I just work here…”

“I just work here…” “We have always

done it like this”

“We have always done it like this”

Page 20: Emerging requirements and Agile testing in Scrumsesam.smart-lab.se/seminarier/hostsem10/Sogeti.pdfShort Iterations Incremental Delivery Working & Valuable Software 3w Close and continuous

Copyright 2010 Sogeti. Jimmy Janlén

Cross-Functional, Self-Organizing, Empowered Teams

Pre-study(Sprint 0)

Sprint1

Sprint2

Sprint3

Sprint4

ScrumMaster

ProductOwner

Programmers

Testers

UIDesign

Management/Organization

End user

Domain Experts

Analysis Design Implementation Test Deploy

Page 21: Emerging requirements and Agile testing in Scrumsesam.smart-lab.se/seminarier/hostsem10/Sogeti.pdfShort Iterations Incremental Delivery Working & Valuable Software 3w Close and continuous

Copyright 2010 Sogeti. Jimmy Janlén

����

Page 22: Emerging requirements and Agile testing in Scrumsesam.smart-lab.se/seminarier/hostsem10/Sogeti.pdfShort Iterations Incremental Delivery Working & Valuable Software 3w Close and continuous

Copyright 2010 Sogeti. Jimmy Janlén

About…

Page 23: Emerging requirements and Agile testing in Scrumsesam.smart-lab.se/seminarier/hostsem10/Sogeti.pdfShort Iterations Incremental Delivery Working & Valuable Software 3w Close and continuous

Copyright 2010 Sogeti. Jimmy Janlén

http://jimmyjanlen.wordpress.com

Page 24: Emerging requirements and Agile testing in Scrumsesam.smart-lab.se/seminarier/hostsem10/Sogeti.pdfShort Iterations Incremental Delivery Working & Valuable Software 3w Close and continuous

Copyright 2010 Sogeti. Jimmy Janlén

Literature

Page 25: Emerging requirements and Agile testing in Scrumsesam.smart-lab.se/seminarier/hostsem10/Sogeti.pdfShort Iterations Incremental Delivery Working & Valuable Software 3w Close and continuous

Copyright 2010 Sogeti. Jimmy Janlén

Literature (more)

Page 26: Emerging requirements and Agile testing in Scrumsesam.smart-lab.se/seminarier/hostsem10/Sogeti.pdfShort Iterations Incremental Delivery Working & Valuable Software 3w Close and continuous

Copyright 2010 Sogeti. Jimmy Janlén

Sogetis Agila tjänster

Agila metoder och Scrum – coachning och införandeAgila metoder och Scrum är kraftfulla sätt att med fokus på affärsnytta höja kvalitet och snabbare svara på marknadens krav och verksamhetens behov. Sogeti har den expertis, erfarenhet och de verktyg som behövs för att effektivt införa och använda agila metoder och Scrum. Läs mer om vårt tjänsteblad: www.sogeti.se/agile

Agil testning – bygg kvalitativa system från första börjanFler företag upptäcker att agila metoder och Scrum är kraftfulla sätt att med fokus på affärs- och verksamhetsnytta höja kvalitet och svara snabbare på marknadens krav och verksamhetens behov. Men det agila tankesättet ställer nya krav på testprocessen som till exempel att kunna hantera förändringar sent i utvecklingsfasen och leverera fungerande mjukvara i korta iterationer. Läs mer om vårt tjänstblad om agil testning: www.sogeti.se/agiltestning

Seminarier inom Agile, Lean och ScrumGe dig, dina kollegor och era kunder ett försprång och lär er mer om de nya moderna verktygen för mjukvaruutveckling där kostnad, tid och kvalitet står i fokus! Sogeti Sverige har erfarenhet av agila metoder och Scrum sedan år 1999. Vi har praktisk erfarenhet av Scrum i både små och stora mjukvaruutvecklingsprojekt med upp till tusen deltagare i fem länder. Läs mer om vårt utbud av agila seminarier: www.sogeti.se/agilaseminarier

Kurs – Sogeti Scrum Course (Fundamentals)Sogetis Scrum-kurs riktar sig till medlemmar av ett agilt team (testare och utvecklare), Scrum Masters och Produktägare. Utbildningen pågår under två heldagar eller under fyra kvällspass. Deltagarna är indelade i grupper som får utföra både individuella övningar och gruppövningar. Kursen täcker in allt som Scrum Alliances ”Certified Scrum Master”-kurs tar upp plus mycket mera. Praktiskt orienterad och mycket interaktiv.Läs mer om kursen: http://www.sogeti.se/scrumcourse

Kurs - Ledarutbildning i Scrum och Agil utvecklingSogetis ledarutbildning i Scrum och Agil utveckling riktar sig till dig som jobbar mot ett agilt it-projekt som levererar och utvecklar enligt Scrum. Som beställare, mottagare, kravställare eller styrgrupps-medlem får du genom denna kurs kunskapen och verktygen att maximera ditt projekts möjlighet till framgång. Här får du bekanta dig med och förståScrum som leveransmodell samt hur du på ett effektivt sätt kommunicerar med Scrum-projektet och maximera levererat värde.

Läs mer om kursen: http://www.sogeti.se/sv/Vara-tjanster/Hogaktuella-tjanster/Agila-metoder-och-Scrum/Seminarier-inom-Agile-Lean-och-Scrum/Ledarutbildning-i-Scrum-och-Agil-utveckling/

Page 27: Emerging requirements and Agile testing in Scrumsesam.smart-lab.se/seminarier/hostsem10/Sogeti.pdfShort Iterations Incremental Delivery Working & Valuable Software 3w Close and continuous

Copyright 2010 Sogeti. Jimmy Janlén

About…

Jimmy Janlén

Jimmy Janlén is an IT-consultant and a team manager at Sogeti Sweden. He has many years of experience in Agile and Lean Software Development as a Scrum Coach and Scrum Master. Jimmy is responsible for Sogeti’s Agile competence network in Sweden. He often holds seminars and courses on Scrum and Agile methods.

Email: [email protected]

About Sogeti Sverige AB

Sogeti Sverige AB is a consultancy specializing in local professional IT services. Geographically located close to the local technical decision-makers of large companies, we are present at 21 Swedish locations with a total of about 1,000 employees. Globally we are 20,000 employees in fourteen countries. We offer our clients a full range of technological IT knowledge and expertise. Sogeti Sverige AB is a part of the Sogeti Group, owned by Cap Gemini S.A., listed on the Paris Stock Exchange.

For more information, please visit www.sogeti.se.

Local touch – Global reach

Page 28: Emerging requirements and Agile testing in Scrumsesam.smart-lab.se/seminarier/hostsem10/Sogeti.pdfShort Iterations Incremental Delivery Working & Valuable Software 3w Close and continuous

Tack!

Page 29: Emerging requirements and Agile testing in Scrumsesam.smart-lab.se/seminarier/hostsem10/Sogeti.pdfShort Iterations Incremental Delivery Working & Valuable Software 3w Close and continuous

Copyright 2010 Sogeti. Jimmy Janlén

Jimmy Janlén

[email protected]

Scrum, Agile and Lean Software Developmenthttp://jimmyjanlen.wordpress.com