we did it!!? there is place for qas in agile!!?

68
We did it!!? There is place for QAs in Agile!? Michał Kujałowicz [email protected]

Upload: mkujalowicz

Post on 12-Jul-2015

1.028 views

Category:

Technology


0 download

TRANSCRIPT

Page 1: We did it!!? There is place for QAs in Agile!!?

We did it!!?There is place for QAs in Agile!?

Michał Kujałowicz [email protected]

Page 2: We did it!!? There is place for QAs in Agile!!?

• Partner

• Involved in development of core Atlassian products

• Commercial, Open-Source add-ons, customizations

• Developers, Product Managers, Designers, QAs, Agile Team Leads

• Me: JIRA QA Team Lead

Page 3: We did it!!? There is place for QAs in Agile!!?

QA vs Tester

NOT T

ODAY,

THAN

KS!

Page 4: We did it!!? There is place for QAs in Agile!!?

My story

2006

!

• My first real Agile Project

• About it later

• Heard about Agile in 2006 on ISTQB straining

• First project - 2006

• No one knew what to do

• Testers in Agile? No experiences available

• Short story

20122013

!

!

• Quality Assistance

Page 5: We did it!!? There is place for QAs in Agile!!?

The fear20

09

Popularity

Developer Testing Interdisciplinary Technical Skills

Page 6: We did it!!? There is place for QAs in Agile!!?

How Agile is your team?

“There are now many teams that label themselves as ‘agile’, but some agile teams are more agile than others”!! ! ! ! ! ! ! ! ! ! ! Stuart Reid “Are all pigs equal?” Testing Experience 2009

Page 7: We did it!!? There is place for QAs in Agile!!?

How Agile is your team?

• Team empowered to improve their process

• Fast feedback and adaptation

• Production ready increment as result of iteration

• Everyone is responsible for the team’s output

My take:

Page 8: We did it!!? There is place for QAs in Agile!!?

My first “real” Agile project• Test Manager

• Around 10 developers at the beginning, 3 testers

• From time perspective - not good

• No shared quality responsibility, bad fitting, technical debt

• No experience, no enough thinking, no guidance

Page 9: We did it!!? There is place for QAs in Agile!!?

TOAST FOR QUALITY

Page 10: We did it!!? There is place for QAs in Agile!!?

TOAST for Quality

• A model helping organise QA process inside Agile project

• Refers to whole quality process - not only QAs

T - Types and Techniques

O - Organisation!

A - Added value

S - Skills !

T - Tracking

Page 11: We did it!!? There is place for QAs in Agile!!?

Types and Techniques - O - A - S - T

• Which test types do you need to execute within your Agile process?

• Which software characteristics you need to cover (performance, usability)?

• What techniques will you use for those tests?

Page 12: We did it!!? There is place for QAs in Agile!!?

• Types:

• Functional tests, Performance, Load, Stress, Usability, …

Types and Techniques - O - A - S - T

• Techniques:

• Scripted testing, Automated tests, Exploratory testing

• White-box, Grey-box, Black-box

Page 13: We did it!!? There is place for QAs in Agile!!?

Feature

StoryStory

Feature

Task

Release

Task…

TO PRO

DU

CTIO

Nbut also Timing

Page 14: We did it!!? There is place for QAs in Agile!!?

Feature

StoryStory

Feature

Task

Release

Task…

STORY TESTING

FEATURE !REGRESSION

PRODUCT !REGRESSION

FEATURE TESTING

PRODUCT !REGRESSION

RELEASE TESTING

PRODUCT !REGRESSION

but also Timing

Page 15: We did it!!? There is place for QAs in Agile!!?

• How do you plan to organise testing activities?

• Quality is the responsibility of the complete team!

• What is the team setup (How many QAs? How many Developers)?

• What is the QA role in testing activities?

T - Organisation - A - S - T

Page 16: We did it!!? There is place for QAs in Agile!!?

T - O - Added Value - S - T

• Where do we add value beyond testing?

• Automation, Business Analysis, Acceptance Criteria, Customer Support, Customer Contact, Test Data, Test Environments?

Page 17: We did it!!? There is place for QAs in Agile!!?

T - O - A - Skills - T

• What skills do we need in the team?

• What do we need to do to fulfil needs?

• Where can QAs specialise?

• Are QAs technical enough?

Page 18: We did it!!? There is place for QAs in Agile!!?

T - O - A - S - Tracking• How do we estimate QA activities and verify those?

• How do we measure the process?

• How do we measure product quality?

• How do we get inputs for retrospective?

• …

Page 19: We did it!!? There is place for QAs in Agile!!?

PRACTICES

Page 20: We did it!!? There is place for QAs in Agile!!?

Types• Which software characteristics are crucial for you?

• Functionality, Usability, Scalability, …ility

• Depends on your context

Types, Techniques, Timing

KEEP!CALM!

ITS NOT IN!SCOPE

Page 21: We did it!!? There is place for QAs in Agile!!?

Agile Testing QuadrantsTypes, Techniques,

Timing

“Agile Testing: A Practical Guide for Testers and Agile Teams” Lisa Crispin and Janet Gregory

Page 22: We did it!!? There is place for QAs in Agile!!?

Techniques• Scripted, Exploratory, Ad-hoc, Automated

• White-box, Grey-box, Black-box

!

• Agile moves onto Exploratory, White-Box and Automated

Types, Techniques, Timing

Page 23: We did it!!? There is place for QAs in Agile!!?

ExploratoryTypes, Techniques,

Timing

“Telling your exploratory story” Jon Bach, Agile 2010

Page 24: We did it!!? There is place for QAs in Agile!!?

SBTM• Session Based Test Management

• Charters

• Sessions

• Notes

• Debriefing (PROOF)

Types, Techniques, Timing

Page 25: We did it!!? There is place for QAs in Agile!!?

SBTMTypes, Techniques,

Timing

Organisation

“Adding value in an agile context” !by Henrik Andersson

Page 26: We did it!!? There is place for QAs in Agile!!?

SBTM• Not only exp. testing technique but a whole

organisational approach!

• Every Testing activity is a Session (~90-minutes)

• Estimate number of possible sessions for every iteration (3-4 sessions a day)

• Fight on the Sprint planning to prioritise

• Take metrics e.g. Sessions burndown chart

Types, Techniques, Timing

Organisation

Page 27: We did it!!? There is place for QAs in Agile!!?

A word about exploratoryTypes, Techniques,

Timing

• We do not know how to describe the exploratory thinking

• Considered as ‘playing around’ without any test documentation

• Fight that!

• Think about it before encouraging your organisation

Page 28: We did it!!? There is place for QAs in Agile!!?

AutomationTypes, Techniques,

Timing

Continuous IntegrationUnit Tests

Services

UI

Page 29: We did it!!? There is place for QAs in Agile!!?

Feature

StoryStory

Feature

Task

Release

Task…

STORY TESTING

FEATURE !REGRESSION

PRODUCT !REGRESSION

FEATURE TESTING

PRODUCT !REGRESSION

RELEASE TESTING

PRODUCT !REGRESSION

Types, Techniques, Timing

Timing

Page 30: We did it!!? There is place for QAs in Agile!!?

• Think what you have and what you do not have!

• The testing scope activities represent risks - not all risks must be covered with testing

• … but they must be addressed!

Types, Techniques, Timing

Timing

Page 31: We did it!!? There is place for QAs in Agile!!?

Release every 2 weeksFEATURES STORIES

Release 2-3 times a yearFEATURES STORIES

TestingTypes, Techniques,

Timing

STORY TESTING FEATURE !REGRESSION

PRODUCT !REGRESSION

FEATURE TESTING PRODUCT !REGRESSION

RELEASE TESTING PRODUCT !REGRESSION

Story

Feature

Release

Autom. (CI) Autom. (CI)

Autom. (CI)

Autom. (CI)

Manual exploratory tests!+ Automated tests

(Optional) Blitz Test

NO

Page 32: We did it!!? There is place for QAs in Agile!!?

Teams• QA is part of the team (3-4 developers)

• Main responsibility - testing (moving towards exp. testing)

!

• Other responsibilities = Added value

• Everyone has ‘Developer’ role

Organisation

Page 33: We did it!!? There is place for QAs in Agile!!?

• Tool usage: sub-task of every story, separate testing tasks

• Part of the definition of done

• SBTM

TasksOrganisation

Page 34: We did it!!? There is place for QAs in Agile!!?

!

Quality is everyones responsibility!

• No satisfying answer

• Sharing partly testing with developers (checking vs. testing)

• Unit tests, TDD, Automated tests

• My answer: Quality Assistance

Organisation

Page 35: We did it!!? There is place for QAs in Agile!!?

Quality Assistance• 1 QA per 10 developers

• Testing in hands of developers (both manual and automatic)

• Teaches, mentors what and how to test, helps identifying most risk areas for testing

• QA does not test - has time for process improvement, experimenting, bugs analysis, test tools

Organisation

Page 36: We did it!!? There is place for QAs in Agile!!?

Quality Assistance • Quality is indeed everyones responsibility

• Automated tests from scratch

• Tech camp presentation:

• http://www.slideshare.net/mkujalowicz/1x10-the-role-of-qa-engineer-in-jira

• http://vimeo.com/86691004

Organisation

Page 37: We did it!!? There is place for QAs in Agile!!?

Keys to succeed• The team must feel QA is mandatory element of the team

and its every activity

• Get the unique strengths and use them

• support Product Owner to transfer customer needs onto backlog and acceptance criteria / automated tests

• technical debt

• test tooling and test coverage

• …

Added Value

Page 38: We did it!!? There is place for QAs in Agile!!?

Added Value

• Visibility of QAs work!

• “Yesterday testing, today testing”

• Daily stand-ups

• Interesting idea:

• ‘Report on your product’s health’ by Henrik Andersson

(http://tvfortesters.com/video/adding-value-in-an-agile-context-by-henrik-andersson/)

Page 39: We did it!!? There is place for QAs in Agile!!?

Added Value

• TDD

• ATDD

• BDD

• Specification by example

• Not my cartoon :P - maybe yours?

http://www.fanpop.com/clubs/dexters-laboratory/images/13130720/title/deedee-photo

Page 40: We did it!!? There is place for QAs in Agile!!?

• Teaching / mentoring

• Test tooling, test coverage

• Process improvement, bug analysis

• Customer view

• We are “linkers” and “sharers”

Added Value

Page 41: We did it!!? There is place for QAs in Agile!!?

Skills

Page 42: We did it!!? There is place for QAs in Agile!!?

Technical skillsSkills

• Basics:

• IDE, SCM situation, Reviews

• White-box, Grey-box skills

• Technologies

• Further:

• Depends on your project

Page 43: We did it!!? There is place for QAs in Agile!!?

Skills

• Comes out of your added values analysis

• Test techniques, Data gathering, Test Tools

• Sorry - no recipe here

!

• Go beyond what is on paper

Technical skills

Page 44: We did it!!? There is place for QAs in Agile!!?

Tracking

What should we track?• QA Tasks tracking

• Internal and External product quality

• Dev speed, QA speed

• Product health

• Product usage

Page 45: We did it!!? There is place for QAs in Agile!!?

Tracking

Do we do that?• Not much people sharing it

• Create QA activities backlog and monitor its burn-down - SBTM and Test Sessions

• Bugs and quality - we should have it covered - do we? In most projects - not trivial

Page 46: We did it!!? There is place for QAs in Agile!!?

Tracking

• Story rejection rate

• OD Incidents, Stable regressions

• Rework time

• SaaS delivery index = JBS * 0.5 + PBS * 0.5 + C2M * 20 + C2DEV * 10 + D8W * -10 + NI * 100

Page 47: We did it!!? There is place for QAs in Agile!!?

BUT…

Page 48: We did it!!? There is place for QAs in Agile!!?

… our projects are different• Products in production for several years - not build

from scratch

• Almost full manual regression when switching to Agile

• No automation possible/no automation in place

• Test documentation requirements

• Dislocated teams

Page 49: We did it!!? There is place for QAs in Agile!!?

No automation

Does not Scale

Page 50: We did it!!? There is place for QAs in Agile!!?

No automation

“Agile Testing” Tito Linz, Testwarez 2014

Page 51: We did it!!? There is place for QAs in Agile!!?

No automation

But we require test documentation!

“Telling your exploratory story” Jon Bach, Agile 2010

Page 52: We did it!!? There is place for QAs in Agile!!?

Test documentation necessary

• What is actually needed? What does one wants to achieve?

• Does anyone read it at all?

• Good exploratory testing charters

• Find your own way!

Page 53: We did it!!? There is place for QAs in Agile!!?

No automation

• You won’t win without experimenting and taking risks!

• Application specialist - interesting idea

• Going further: White-box QA

Page 54: We did it!!? There is place for QAs in Agile!!?

White-box QA

• Pick the most technical person

• Let her/him analyse the dependencies, how it works

• Manual regression tests recommendations

• Teach others how to do it

Page 55: We did it!!? There is place for QAs in Agile!!?

No automation != no work on automation

Page 56: We did it!!? There is place for QAs in Agile!!?

• Web Applications automation - easy

• Desktop - mature

• Mobile - growing but hard

• Embedded - self-made

!

• Start with quick wins - e.g. Visual Regression

Page 57: We did it!!? There is place for QAs in Agile!!?

Multiple locations

• Is it still Agile?

• No unicorns here

• Use the available tools, look for tools

• Martin Fowler: “Using an Agile Software Process with Offshore Development”

Page 58: We did it!!? There is place for QAs in Agile!!?

WHAT DO WE MISS

Page 59: We did it!!? There is place for QAs in Agile!!?

What does it mean to be Agile QA

Process Product&

Page 60: We did it!!? There is place for QAs in Agile!!?

Unexplainable expectation

• QA must limit the speed, QA must hold development plans, QA must make sure we do not take risks

Page 61: We did it!!? There is place for QAs in Agile!!?

Product risks

• What does it mean to leave this area untested?

• What does it mean to leave this bug in release?

• Gather data regarding customer usage

Page 62: We did it!!? There is place for QAs in Agile!!?

Process risks

• Experiment around your process

• Take a risk to have time on process improvement

• Failure is also a success

• Make sure you know what success means

Page 63: We did it!!? There is place for QAs in Agile!!?

Our story• QA Testing

• Testing notes

• DoTing

• QA Demo

• Dev as a QA

Page 64: We did it!!? There is place for QAs in Agile!!?

The train is leaving• Development specificity

changes

• QA specificity changes:

• Analytics, Experiments, A/B Testing, Continuous Deployment

• Explore new paths!

Page 65: We did it!!? There is place for QAs in Agile!!?

Summary• Think if you merit a TOAST? Not everything is

required but it must be a conscious decision

• QA work visibility

• Think through your Regression test situation

• Quality responsibility of the complete team - Quality Assistance

• Take risks and experiment

Page 66: We did it!!? There is place for QAs in Agile!!?

The fear20

09

Popularity

Developer Testing

Satisfaction!

Interdisciplinary Technical Skills

Page 67: We did it!!? There is place for QAs in Agile!!?

Thank you!

Page 68: We did it!!? There is place for QAs in Agile!!?

Images - credits• Żuraw in Gdańsk - by JM_GD - CC BY 2.0

• 3D Growth Projections - by Chris Potter - CC BY 2.0

• Architetto -- Donna casinista - by francesco_rollandin - CC BY 2.0

• Toast - by Stiefen Schlingen - CC BY 2.0

• Toasting Champagne - Waldo Jaquith - CC BY-SA 2.0

• Thinking - by Wade M - CC BY-SA 2.0

• Stadion Narodowy w Warszawie - by Artur Malinowski - CC BY 2.0

• Thumbup - Pratheepps - CC0 1.0

• Documentation - by Marta Pucciarelli - CC-BY-SA-3.0

• Difficult - Sea Turtle - CC BY-NC-ND 2.0

• Chemia Laboratorium Experyment - pixabay.com - CC0 1.0

• Comic Daredevil Bello Nock - Chris Phutully - CC BY 2.0

• Surprise major - by Achim Hering - CC-BY-SA-3.0

• Train Left - SElefant - CC-BY-SA-3.0