breaking illusions - jax london...basic illusions: code making a product other illusions: ideas...

33
@maaretp http://maaretp.com Breaking Illusions with Testing by Maaret Pyhäjärvi

Upload: others

Post on 31-Jan-2021

2 views

Category:

Documents


0 download

TRANSCRIPT

  • @maaretp http://maaretp.com

    Breaking Illusions with Testing

    by Maaret Pyhäjärvi

  • @maaretp http://maaretp.com

    A Few Years Ago…

  • @maaretp http://maaretp.com

  • @maaretp http://maaretp.com

    http://visible-quality.blogspot.fi/2017/03/from-appreciation-of-shallow-testing.html

    She's like "I want to exploratory test your ApprovalTests" and I'm like "Yeah, go for it", cause it's all written test first and its code I'm very proud of. And she destroyed it in like an hour and a half.

  • @maaretp http://maaretp.com

    Testers don’t break the code, they break your illusions about

    the code. - Adapted from James Bach

  • @maaretp http://maaretp.com

    Code doing what it’s supposed to.

    Product doing what it would need to.

    Product doing only what it is supposed to do.

    Basic Illusions: Code Making a Product

    Other Illusions: Ideas Leading to Code Process being able to deliver with a change in mind

    People having skills to deliver well.

    Business model driving the selection of right focus.

  • @maaretp http://maaretp.com

    How?

  • @maaretp http://maaretp.com

    (Exploratory) Tester

    Product is my external

    imagination

  • @maaretp http://maaretp.com

    Never be bored.

    Heuristics

  • @maaretp http://maaretp.com

    In the beginning, you know the least.

    Heuristics

  • @maaretp http://maaretp.com

    Poke it until it pops

    Variable recognition and persistency heuristics from Alexandra Schladebeck

    Heuristics

  • @maaretp http://maaretp.com

  • @maaretp http://maaretp.com

    Structure Function

    Data Platform

    Operations Time

  • @maaretp http://maaretp.com

    Approvers do •  Formatting •  Sorting •  File Extensions •  Scrubbing (removing common inconsistencies) •  Serialization(saving to a file) •  Mocking •  Proxying •  Rendering •  Execution (e.g. retrieve the URL) •  Aggregating test cases •  File naming •  PRINCIPLE: ”Every time you handle this type of object, you do these things to it.”

    I LEARNED ABOUT FUNCTIONS

  • @maaretp http://maaretp.com

    Reporters do •  Waiting •  Scrubbing (removing common inconsistencies) •  Execution •  Launching •  Serialization •  Decompilation •  Chain of responsibility •  Creating Approved file •  Environmental awareness

    I LEARNED ABOUT FUNCTIONS

  • @maaretp http://maaretp.com I LEARNED ABOUT THE ENVIRONMENT

  • @maaretp http://maaretp.com

  • @maaretp http://maaretp.com

    Code doing what it’s supposed to.

    Product doing what it would need to.

    Product doing only what it is supposed to do.

  • @maaretp http://maaretp.com

    Three Other Illusions The Ideas Leading into Code

  • @maaretp http://maaretp.com

    Illusion type VI: Business model driving the selection of right

    focus.

  • @maaretp http://maaretp.com Insight and illustration from Allan Kelly, @allankellynet

  • @maaretp http://maaretp.com

    Illusion type V: People having skills to

    deliver well.

  • @maaretp http://maaretp.com

  • @maaretp http://maaretp.com

    Illusion type IV: Process being able to deliver with change in

    mind.

  • @maaretp http://maaretp.com

    Cognitive Dissonance

  • @maaretp http://maaretp.com

    Continuous Delivery No Jira

    No Estimates No Product Owner

    No Projects No Scrum

  • @maaretp http://maaretp.com

    Learning Superpower and core of

    exploring

  • @maaretp http://maaretp.com

    vs.

    Linear Viewpoint

    I know everything

    you do!

    You have nothing left to teach me

    Reality

    I know more than you do!

    There is still so much more I

    can learn from you

    Learning

  • @maaretp http://maaretp.com

    Things Can Look Different from Different Perspectives

  • @maaretp http://maaretp.com

    Serendipity and Perseverance

  • @maaretp http://maaretp.com

    The more I practice, the luckier I get – Arnold Palmer

  • @maaretp http://maaretp.com

    It’s not that I’m so smart, I just stay with the problems longer. – Albert Einstein

  • @maaretp http://maaretp.com

    Maaret Pyhäjärvi Email: [email protected] Twitter: @maaretp Web: maaretp.com Blog: visible-quality.blogspot.fi

    (please connect with me through Twitter or LinkedIn)