Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Agile Testing - LAST Conference 2015

1,029 views

Published on

Stop trying to test in quality, shift quality to the left & start building it in.

Published in: Technology
  • Be the first to comment

  • Be the first to like this

Agile Testing - LAST Conference 2015

  1. 1. Theresa Neate & Bharat Sangekar - LAST Conference 2015 Agile Testing - Shifting quality to the left
  2. 2. Theresa Neate & Bharat Sangekar - LAST Conference 2015 What you will get out of this talk 1. Theresa will a. provide some context about the mindset of agile testing b. give an overview of the rituals of agile testing c. workshop some pragmatic approaches to agile testing 2. Bharat will a. give an overview of the adaptive role of an agile tester b. discuss depth of testing in shifting quality left c. provide an example of a shift left scenario d. discuss ways quality can shift left 3. Summary and questions 2
  3. 3. Theresa Neate & Bharat Sangekar - LAST Conference 2015 Introducing Bharat https://au.linkedin.com/in/bsangekar Barrat, maybe Brett = Not bad Brad = Cool Just not, BORAT 3
  4. 4. Theresa Neate & Bharat Sangekar - LAST Conference 2015 Introducing Theresa 4 @teresitatheresa https://au.linkedin.com/in/tessn
  5. 5. Theresa Neate & Bharat Sangekar - LAST Conference 2015 “Agile” vs agile 5 More reading @ James Shore’s blog: http://bit.ly/1UIIJ7Y
  6. 6. Theresa Neate & Bharat Sangekar - LAST Conference 2015 Some differences between agile and traditional testing http://pixshark.com 6
  7. 7. Theresa Neate & Bharat Sangekar - LAST Conference 2015 Shifting quality to the left - the mindset credit: http://www.growingagile.co.za/ 7
  8. 8. Theresa Neate & Bharat Sangekar - LAST Conference 2015 Workshop - tester touch points 8 image credit: Anand Bagmar, ThoughtWorks
  9. 9. Theresa Neate & Bharat Sangekar - LAST Conference 2015 Famous 5 words... 9 ● Five words every tester is afraid to face after a release? ○ How did this slip testing? (https://www.youtube.com/watch?v=j-zczJXSxnw) ● Now imagine a developer’s response to this, famous 5 words: ○ It works on my machine. ● The question is not: ○ How did this slip testing? ● The question is: ○ How did the team not address the technical debt?
  10. 10. Theresa Neate & Bharat Sangekar - LAST Conference 2015 Shifting Quality Left 10 ● Testing that enables Agility. ○ Building quality in code. ○ Tester to be an integrated part of a self organised team. ○ Tests to uncover ambiguous requirements. ○ Tests to uncover technical debt. ● What stays? ○ Context driven concepts and heuristics-based techniques. ● What changes? ○ Focus on the learning & the doing, not the planning of the doing. ● Who tests? ○ You Do. ● But WHY, you ask? ○ I am glad you asked.
  11. 11. Theresa Neate & Bharat Sangekar - LAST Conference 2015 Different Roles, Different Strokes 11
  12. 12. Theresa Neate & Bharat Sangekar - LAST Conference 2015 Depth of Field ~Fabio Pereira 12 http://tinyurl.com/c6yk4bg Depth of field (DoF) - is the distance between the nearest and the farthest objects in a scene that appear acceptably sharp in an image.
  13. 13. Theresa Neate & Bharat Sangekar - LAST Conference 2015 Shallow Depth of Testing ~Fabio Pereira 13 Depth of Testing (DoT) - is the distance between the nearest and farthest components that get visited during the execution of a test. Shallow Automated tests = Cheaper + Faster. http://fabiopereira.me/blog/2012/03/18/introducing-depth-of-test-dot/
  14. 14. Theresa Neate & Bharat Sangekar - LAST Conference 2015 Case study - Deep Impact Typical Data - driven application. Legacy product. Linq2SQL framework. Rich Windows UI. Manual testing, Auto tests at UI layer to check against the database. Auto tests took 2 days to run. Reset the database before test. 14 UI ● No auto tests at UI. ● Build service layer to describe events. ● Tests not to run against database. ● Auto tests at business layer by abstracting everything north of Linq. ● Test against hibernate. ● Build optimizing compiler for Linq. ● Focus was on testing business operations at the service/business layer. ● Can we do Business Driven Development (BDD) at the service layer? ● Subject Matter Expert (BA) and Technical Tester define and write tests at service layer to drive the development aimed at defect prevented. ● Waste? What Waste. No tech debt. ● Tests took minutes to run not hours or days. ● Very heavy collaboration. ● No ambiguity.
  15. 15. Theresa Neate & Bharat Sangekar - LAST Conference 2015 What’s the best automation tool to shift quality left? Cucumber, Specflow, Selenium, Sahi, Watir, Fitnesse, JBehave, Concordion, Geb, Groovy, Spock, Fit, FitNesse, Spock, ScalaTest, Spec 2, RSpec, Protractor… ...and then some. 15 The right tool is one that gets the best support from your team.
  16. 16. Theresa Neate & Bharat Sangekar - LAST Conference 2015 Type of Shift Left testing The past Traditional = Unit + Integration Also, the past Incremental = Development Testing + Operational Testing Where we are: Agile/DevOps = Test Driven Dev, Behaviour Driven Dev The future: Model Based = Testing Executable requirements, Architecture & Design models. 16
  17. 17. Theresa Neate & Bharat Sangekar - LAST Conference 2015 To Summarise Testing that enables Agility. Move away from: It works on my machine. How did this slip testing? Embrace: How did the team not address the technical debt? Tests to uncover ambiguous requirements. Tests to uncover Technical Debt. What else: QA’s do Quality analysis, not assurance. Who tests? You do. Empower the tester to help Shift Quality Left. 17
  18. 18. Theresa Neate & Bharat Sangekar - LAST Conference 2015 Recommended reading/study: Use your rediscovered curiosity, and learn! “ThoughtWorks Anthology” v1 (2008) “Agile Testing” (Janet Gregory & Lisa Crispin) “Evil Tester” blog and courses (Alan Richardson) “Explore it!” (Elizabeth Hendrickson) Online technical courses on Udemy, Code School, CodeAcademy, etc. All the above authors’ blogs, Twitter accounts, webinars, etc. Keep attending conferences and meetups to LEARN, not just network, and ask questions 18
  19. 19. Theresa Neate & Bharat Sangekar - LAST Conference 2015 In closing 19
  20. 20. Theresa Neate & Bharat Sangekar - LAST Conference 2015 20 Questions?

×