agile bodensee - agile testing: bug prevention vs. bug detection

29
AGILE TESTING CELEBRATE BUG PREVENTION INSTEAD OF BUG DETECTION MICHAEL PALOTAS AGILE BODENSEE, KONSTANZ 2. October 2014

Upload: michael-palotas

Post on 05-Dec-2014

148 views

Category:

Software


1 download

DESCRIPTION

 

TRANSCRIPT

Page 1: Agile bodensee - Agile Testing: Bug prevention vs. bug detection

AGILE TESTING CELEBRATE BUG PREVENTION INSTEAD OF BUG DETECTION

MICHAEL PALOTAS

AGILE BODENSEE, KONSTANZ

2. October 2014

Page 2: Agile bodensee - Agile Testing: Bug prevention vs. bug detection

WHO AM I?

Michael Palotas Founder GRIDFUSION SOFTWARE SOLUTIONS Email: [email protected] @michael_palotas Head of Productivity & Test Engineering eBay International

MICHAEL PALOTAS - AGILE BODENSEE

Page 3: Agile bodensee - Agile Testing: Bug prevention vs. bug detection

EBAY FROM THE TOP

MICHAEL PALOTAS - AGILE BODENSEE

Page 4: Agile bodensee - Agile Testing: Bug prevention vs. bug detection

GRIDFUSION FROM THE TOP

MICHAEL PALOTAS - AGILE BODENSEE

Page 5: Agile bodensee - Agile Testing: Bug prevention vs. bug detection

EBAY FACTS Founded in 1995

Based in San Jose, California

35000 employees worldwide

>100 million active buyers and sellers worldwide

3000 USD transaction volume every second

MICHAEL PALOTAS - AGILE BODENSEE

Page 6: Agile bodensee - Agile Testing: Bug prevention vs. bug detection

EBAY FACTS

2 billion page views every day

75 billion database calls every day

>200 million downloads of eBay Inc’s mobile apps

MICHAEL PALOTAS - AGILE BODENSEE

Page 7: Agile bodensee - Agile Testing: Bug prevention vs. bug detection

TESTERS RAISE YOUR

HANDS MICHAEL PALOTAS - AGILE BODENSEE

Page 8: Agile bodensee - Agile Testing: Bug prevention vs. bug detection

DEVELOPERS RAISE YOUR

HANDS MICHAEL PALOTAS - AGILE BODENSEE

Page 9: Agile bodensee - Agile Testing: Bug prevention vs. bug detection

AGILE PEOPLE RAISE YOUR

HANDS MICHAEL PALOTAS - AGILE BODENSEE

Page 10: Agile bodensee - Agile Testing: Bug prevention vs. bug detection

WHAT I AM GOING TO TELL YOU HAS

NOTHING TO DO WITH AGILE

MICHAEL PALOTAS - AGILE BODENSEE

Page 11: Agile bodensee - Agile Testing: Bug prevention vs. bug detection

SOME SELF REFLECTION

MICHAEL PALOTAS - AGILE BODENSEE

Page 12: Agile bodensee - Agile Testing: Bug prevention vs. bug detection

TEST CYCLES

Development Test

Traditional model - 6 months

Development Test

Agile - 2 weeks

Development Test Development Test

MICHAEL PALOTAS - AGILE BODENSEE

Page 13: Agile bodensee - Agile Testing: Bug prevention vs. bug detection

THE IDEAL MIX?

MICHAEL PALOTAS - AGILE BODENSEE

Page 14: Agile bodensee - Agile Testing: Bug prevention vs. bug detection

WHO IS RESPONSIBLE FOR

QUALITY?

MICHAEL PALOTAS - AGILE BODENSEE

Page 15: Agile bodensee - Agile Testing: Bug prevention vs. bug detection

THE BI(U)G HUNT

MICHAEL PALOTAS - AGILE BODENSEE

Page 16: Agile bodensee - Agile Testing: Bug prevention vs. bug detection

BUG PREVENTION?

MICHAEL PALOTAS - AGILE BODENSEE

Page 17: Agile bodensee - Agile Testing: Bug prevention vs. bug detection

TESTING OF THE FUTURE?

Non-Stop Testing

Parallel to Development

All test levels are done within the sprint

Testing is the job of the entire team

Testers are engineers with specific “superpowers”

MICHAEL PALOTAS - AGILE BODENSEE

Page 18: Agile bodensee - Agile Testing: Bug prevention vs. bug detection

CORE PRINCIPLES

A team is only complete with an embedded tester

Focus on prevention, not detection

Early involvement

Lightweight approach

MICHAEL PALOTAS - AGILE BODENSEE

Page 19: Agile bodensee - Agile Testing: Bug prevention vs. bug detection

HORIZONTAL / VERTICAL SUPPORT

TEAM 1 TEAM 2 TEAM 3

VERTICAL VERTICAL VERTICAL

HORIZONTAL SUPPORT

MICHAEL PALOTAS - AGILE BODENSEE

Page 20: Agile bodensee - Agile Testing: Bug prevention vs. bug detection

VERTICAL SUPPORT

Manual testing: Very very very very important

Rapid testing / exploratory approach

Focus on fast feedback

Focus on primary work artifacts

Domain knowledge

MICHAEL PALOTAS - AGILE BODENSEE

Page 21: Agile bodensee - Agile Testing: Bug prevention vs. bug detection

HORIZONTAL SUPPORT

Architecture

Infrastructure

Tools

TDD

Automation

Continuous Integration

DevOps

MICHAEL PALOTAS - AGILE BODENSEE

Page 22: Agile bodensee - Agile Testing: Bug prevention vs. bug detection

HOW TEAMS EVOLVE

PO

UX

DEV

DEV

DEV

DEV

DEV

PO

UX

DEV

DEV

DEV

DEV

DEV

SET

PO

UX

DEV

DEV

DEV

DEV

DEV

SET

MICHAEL PALOTAS - AGILE BODENSEE

Page 23: Agile bodensee - Agile Testing: Bug prevention vs. bug detection

EBAY AGILE TESTING MANIFESTO

We believe that... By that we mean... 1 our main work product is

information relevant to people who matter

We give feedback about the product as early as possible in a lean way, asking questions and providing information during pair programming to prevent bugs.We report truthfully, concisely, allowing stakeholders to make informed decisions.We rapidly uncover and report significant risks to the project.

2 we as testers explore the differences between perception, desire and reality

We understand that things can be different. Sometimes those differences are important. We uncover what those differences are and where they may lead to problems. We discover new information by the skilled application of exploratory testing.

3 testing is a collaborative endeavor Testing is not delegated to testers only, but should also be done by everyone else in the team. The expertise of both testers and developers enables a broader testing coverage. We closely collaborate with developers and work side-by-side every day.

4 learning about the domain is crucial to doing a good job

No one has all the answers up front. Project requirements evolve over time. Rather than follow a rote plan, we learn as we test and we use what we learn to guide what we test next. We aim to understand eBay systems and share our knowledge with our peers.

5 ignorance about the domain is not a reason not to test

We don't wait for a complete set of documentation and instructions before we start testing, but we apply good testing practices at any given time.

6 the space between automation and manual testing is a continuum

Humans excel at qualitative analysis - we notice things. Machines do quantitative analysis very well - rapidly making boolean choices. Our approach combines the two, ensuring that machines are employed for what they do best (automation, repetition and tooling), while the rest is left to humans.

7 developing tools for the benefit of all teams supports overall productivity

We can be more effective if shared tools are in place to optimize repetitive tasks and avoid solving the same problem multiple times. Those tools can either be sourced from outside or built in-house.

8 metrics are a way to start a conversation and not to end it

Sometimes metrics are selected simply because they are easily available and not because their construct validity has been established. Misapplied metrics can cause a lot of harm. We use metrics to help us achieve results, hence we value inquiry metrics over evaluation metrics. http://www.developsense.com/blog/2009/01/meaningful-metrics/

9 we are not the gatekeepers of quality

We provide information to allow others to make informed decisions, including "ship" / "no ship" decisions. We highlight risks. It is up to our stakeholders to decide what to do based on that information.

10 our approach is applicable eBay wide

We believe that an agile, embedded approach fosters close working relationships between testers and other roles. It helps deliver more value more quickly and reduces unnecessary overhead.

Page 24: Agile bodensee - Agile Testing: Bug prevention vs. bug detection

HOW TO BE THIS MAGIC PERSON?

MICHAEL PALOTAS - AGILE BODENSEE

Page 25: Agile bodensee - Agile Testing: Bug prevention vs. bug detection

MAKE IT WORK

Be part of the team

Involve yourself right from the start

Act as a bridge

Pair

Educate

MICHAEL PALOTAS - AGILE BODENSEE

Page 26: Agile bodensee - Agile Testing: Bug prevention vs. bug detection

ATLASSIAN

Source: Andrew Prentice, Atlassian, Sydney May 2014 MICHAEL PALOTAS - AGILE BODENSEE

Page 27: Agile bodensee - Agile Testing: Bug prevention vs. bug detection

THE BIG GOAL

MICHAEL PALOTAS - AGILE BODENSEE

Page 28: Agile bodensee - Agile Testing: Bug prevention vs. bug detection

THANK YOU!

MICHAEL PALOTAS - AGILE BODENSEE

Page 29: Agile bodensee - Agile Testing: Bug prevention vs. bug detection

REFERENCES

http://weekendreflection.blogspot.ch/

http://perfectplate.com/

http://www.jamshid-ibrahim.net/

http://simplehomemade.net/

http://npr.org

http://creatia2013.wordpress.com/

www.kaushik.net

Sackmesser.ch

http://betterafter50.com

http://estonianfreepress.com/

MICHAEL PALOTAS - AGILE BODENSEE