Testing Craftsmanship Workshop

Fd80f9c58b06270d42356dd77a32defa?s=47 Jim Holmes
November 05, 2013

Testing Craftsmanship Workshop

Workshop I co-presented with Trish Khoo at EuroStar 2013 in Gotenburg, Sweden.

Much of this deck may seem tool-centric, but the shop was really about learning how to learn, learning how to flesh out problems, and thinking about testing as a craft. Tools are just part of that.

Fd80f9c58b06270d42356dd77a32defa?s=128

Jim Holmes

November 05, 2013
Tweet

Transcript

  1. Becming a Testing Craftsman

  2. Us! • Trish Khoo • @hogfish • Jim Holmes •

    @aJimHolmes
  3. Why Craftsmanship? • Draws from other craftsmanship movements • Emphasizes

    continual learning • Values interactions with others as critical
  4. None
  5. None
  6. Marshmallow challenge • Form groups of 4 • You should

    have: 20 sticks of spaghetti, 1 metre of string, 1 metre of tape and 1 marshmallow. • Build the tallest free-standing structure you can. The marshmallow must be on top. • You have 18 minutes!
  7. ENVIRONME NT MASTERY

  8. Knowing Your Environment • Setting things up • Virtual Machines

    • Provisioning & Configuring • Mastering your environment • What are all the moving parts?
  9. Demo Deploying Applications Working With Logs

  10. Exercise Mine a log

  11. CREATING DATA

  12. Baseline Datasets • Why use them? • What “shape” do

    you need?
  13. Making Baseline Data • Create from scratch • SQL, code,

    scripts • Tools
  14. Making Baseline Data • Use existing automation • Steal from

    an existing source • Cleanse privacy info
  15. Demo Creating Random Data

  16. Exercise Envisioning a dataset

  17. Exercise Building Datasets

  18. JIGS

  19. Jigs • A Jig: one-off tool, template, guide • Scripts

    • Hotkeys • Regular expressions
  20. Demo • Handy “jig” scripts • PowerShell • Bash •

    Ruby
  21. Demo • Handy tools • ZoomIt • Text editors •

    Launchers
  22. Group Exercise Create a jig script

  23. None
  24. Exercise How can you use these new tools for testing

    problems you’re currently working on?
  25. AUTOMATIO N

  26. Demo Examples of test approaches in different contexts

  27. None
  28. Tools for Testing • Automation • Differencing • Hard things

    • Mail
  29. One off tools • Custom comparisons • Configuration / setup

  30. Other tricks • Searching • File processing • OS process

    spelunking • Network monitoring
  31. Exercises Creating test jigs Writing tests

  32. Exercise How can you use these new tools for testing

    problems you’re currently working on?
  33. CRAFTING A TEST APPROACH

  34. None
  35. None
  36. None
  37. None
  38. None
  39. Exercise How can you use these new tools for testing

    problems you’re currently working on?
  40. Us! • Trish Khoo • @hogfish • Jim Holmes •

    @aJimHolmes
  41. Exercise Create a deployment script

  42. Links This presentation: http://goo.gl/4VtFNz Ruby jig exercise worksheet: http://goo. gl/HAr4dR