regression testing down the rabbit hole
play

Regression Testing: Down the Rabbit Hole Neil Studd, Towers Watson - PowerPoint PPT Presentation

Regression Testing: Down the Rabbit Hole Neil Studd, Towers Watson About Me 10 years of testing Cambridge-based Work for companies with red logos Only the names have changed Chasing the Holy Grail We ll hear lots today


  1. Regression Testing: Down the Rabbit Hole Neil Studd, Towers Watson

  2. About Me • 10 years of testing • Cambridge-based • Work for companies with red logos

  3. Only the names have changed …

  4. Chasing the Holy Grail • We ’ ll hear lots today about how regression testing should be done – … in an ideal world – … easiest for new projects – … or when starting afresh – … when there’s wider business buy-in, e.g. continuous delivery • The “ holy grail ” of regression testing …

  5. I took the red pill • Desktop software • Infrequent releases • Client-driven features • Client-driven deadlines • (Time v features v quality: Quality often loses) • Manual regression cycle • At the end of the release

  6. Our sacred texts • Tests are treated as a product bible • Handed down through generations • Revered and followed without question • Very much “ of their time ” ; not modified to reflect new evidence

  7. Oh, the things I ’ ve seen … • Tests not testing what they claimed to test • Expected result = “ a sensible error ” • … but that was actually a bug! • Not enough detail • Too much detail

  8. All the information, all at once

  9. Why was it done this way?

  10. We need to go deeper • Five whys: – Not peer-reviewing – Short of time/resources – Fixed project deadline – Unrealistic promise to customer – Salespeople too far removed • Dev/test separation, driven by disrespect (dev) and fear (test) • “ Testing is a tester ’ s problem ”

  11. We fell for the dark side • Don ’ t allow your tools to start working against you! • TFS: Supports multiple references to one test • TFS: Supports “ shared steps ” in tests = quickly multiplies setup/teardown • Just because you can easily record a regression test, doesn ’ t mean you should

  12. What I didn ’ t do • Not burning books … • … written in good faith • … useful metadata • … cross-referencing • … gives information about previous perceived severities

  13. How I ’ m surviving • Rewriting/reducing • Piecemeal • Session-based • To answer “ Is there a problem here? ” • … Which involves looking at the product

  14. How I ’ m trying to change things • Training devs to test • Pairing/reviewing developer unit testing • Automating black & white checks • ( … but not to replace human interaction) • More code reviews • … which feed testing

  15. There ’ s still room to improve • More automation • Run more easily/often • Increased testability • Address the causes of regressions, rather than fixing the fallout • Focus on providing value and information

  16. Any questions? • More thought to come (yes Simon I ’ ll write that article for The Testing Planet) • Blog: neilstudd.com • Twitter: @neilstudd

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend