SlideShare a Scribd company logo
Testing in Agile
                                     Ari Tanninen
                                Agile Dinner Helsinki
                                 December 1st 2009




Wednesday, December 2, 2009
Agenda
                              Introductions
                                Motivation


Wednesday, December 2, 2009
Assumptions

                   • Understanding of software development
                   • Familiarity of agile
                   • Basic testing know-how


Wednesday, December 2, 2009
My Biases

                   • Java developer
                   • Object-orientation
                   • Consulting


Wednesday, December 2, 2009
Everything About
                                   Testing


Wednesday, December 2, 2009
Functional testing...
                   • Black box
                   • White box
                   • Grey box
                   • Regression
                   • Smoke
                   • User
Wednesday, December 2, 2009
Levels of testing...
                   • Unit
                   • Module
                   • Component
                   • Integration
                   • System
                   • System integration
Wednesday, December 2, 2009
More testing!
                   • Performance, scalability, stability, stress
                   • Destructive
                   • Usability
                   • Security
                   • Exploratory
                   • Monkey
Wednesday, December 2, 2009
Wednesday, December 2, 2009
Back to Basics



Wednesday, December 2, 2009
Purposes of Testing

                   • Product validation (the right product?)
                   • Support development (built right?)
                   • User / Technology
                   • System / Code

Wednesday, December 2, 2009
Wednesday, December 2, 2009




                              Source: Brian Marick, Mary Poppendieck, additions by me
                              http://www.exampler.com/old-blog/2003/08/21/#agile-testing-project-1
                              http://stopandfix.blogspot.com/2009/04/all-about-testing.html
Agile Needs from
                                    Testing


Wednesday, December 2, 2009
Waterfall


                  Planning    Analysis   Design   Coding   Testing   Deploying   Done!



                    Risk analysis
                   Test planning
                  Test case design


Wednesday, December 2, 2009
Risk analysis
                                                 Agile
      Test planning             Risk analysis
     Test case design           Test planning
                              Test case design



                  Planning    Analysis    Design   Coding     Testing   Deploying   Done!
                  Planning    Analysis    Design   Coding     Testing   Deploying   Done!
                  Planning    Analysis    Design   Coding     Testing   Deploying   Done!
                  Planning    Analysis    Design   Coding     Testing   Deploying   Done!

                    Risk analysis
                   Test planning
                  Test case design                          Definition of done: tested
Wednesday, December 2, 2009
Potentially shippable
                 functionality at the end
                    of every iteration?


Wednesday, December 2, 2009
Wednesday, December 2, 2009




                              Source: Brian Marick, Mary Poppendieck, additions by me
                              http://www.exampler.com/old-blog/2003/08/21/#agile-testing-project-1
                              http://stopandfix.blogspot.com/2009/04/all-about-testing.html
The Problem

                              Features to be tested




                                                      1   2       3   4

                                                          Iteration


Wednesday, December 2, 2009
Test Automation



Wednesday, December 2, 2009
Automated testing?




                          Automated test case execution!



                              Who designs and automates the test cases?



Wednesday, December 2, 2009
Agile Development
                               Up-front
                                           Design must
                                design
                                             evolve
                              impossible


    Iterative and                                                        Regression      Test
     incremental                                       Refactoring         testing    automation
    development


                              Features                                                  Test-first
                               added,       Changing                                  development
                              changed,      codebase
                              removed


                                                                     Tests, too!

Wednesday, December 2, 2009
The Key to Test
                                    Automation

                       Testing tools?


                                                            Software development



                          http://stopandfix.blogspot.com/2009/03/key-to-test-automation.html


Wednesday, December 2, 2009
Tests are software, too

                   • Evolution
                   • Architecture & design
                   • Iterative & incremental development
                   • Readability (➙DSL)

Wednesday, December 2, 2009
Why test-first?

                   • Efficient, least boring way to regression
                   • Minimalism (“do only what is needed”)
                   • “Done”
                   • Design
                   • Collaboration

Wednesday, December 2, 2009
Unit Test Driven Development

                              Acceptance Test Driven
                                  Development



Wednesday, December 2, 2009
Challenges to Testing

                   • Changing spec, code, and tests
                   • “Potentially shippable” after every iteration
                   • Usability & property testing
                   • Tester’s role

Wednesday, December 2, 2009
Tester’s Role Redefined

                   • Acceptance tests, user view of system
                   • Business value focus, PO liaison
                   • Exploratory testing & the difficult stuff
                   • Thinking, contributing team member
                   • Learn programming, train developers

Wednesday, December 2, 2009
Keys to Agile Testing

                   • Developer testing
                   • Evolving testing tools ➙ programming
                   • Lazy & adaptive mindset
                   • Collaboration

Wednesday, December 2, 2009
Beer.



Wednesday, December 2, 2009

More Related Content

PDF
Test Driven Sysadmin
PDF
Testing an Erlang Backend
PDF
Design for Testability: A Tutorial for Devs and Testers
PDF
Peter Zimmerer - Evolve Design For Testability To The Next Level - EuroSTAR 2012
PDF
Game Programming 05 - Development Tools
KEY
Unit testing for Cocoa developers
PDF
Bdd Introduction
PPTX
Pair Programming Styles
Test Driven Sysadmin
Testing an Erlang Backend
Design for Testability: A Tutorial for Devs and Testers
Peter Zimmerer - Evolve Design For Testability To The Next Level - EuroSTAR 2012
Game Programming 05 - Development Tools
Unit testing for Cocoa developers
Bdd Introduction
Pair Programming Styles

Similar to Testing In Agile (20)

PDF
Plugin Testing
PDF
DDD Part3 Retrospective
PPTX
Extreme Programming (XP) for Dummies
PDF
UE Agile and Lean
PDF
Escaping Automated Test Hell - One Year Later
PDF
Agile Product Development Workshop
PDF
Using The Page Object Pattern
PPT
Extreme Programming Deployed
DOC
PDF
Plone Testing Tools And Techniques
PDF
Scrum wall images by tobias mayer
PDF
Lightweight introduction to Scrum
PDF
Agile Software Development Process Practice in Thai Culture
PDF
Scaling with Postgres
PDF
Business Analysis meet Test Analysis
PDF
My Presentation
ZIP
Agile Software Development Methodologies
PPT
Franck Mignet - How Exploratory Testing Helps get Structured Testing Started
PDF
Cheap& Quick Internal user testing
PDF
Game Design Process
Plugin Testing
DDD Part3 Retrospective
Extreme Programming (XP) for Dummies
UE Agile and Lean
Escaping Automated Test Hell - One Year Later
Agile Product Development Workshop
Using The Page Object Pattern
Extreme Programming Deployed
Plone Testing Tools And Techniques
Scrum wall images by tobias mayer
Lightweight introduction to Scrum
Agile Software Development Process Practice in Thai Culture
Scaling with Postgres
Business Analysis meet Test Analysis
My Presentation
Agile Software Development Methodologies
Franck Mignet - How Exploratory Testing Helps get Structured Testing Started
Cheap& Quick Internal user testing
Game Design Process
Ad

More from Ari Tanninen (11)

PDF
Responsibility - from drama to results
PDF
Leadership begins with responsibility - Riga
PDF
Leadership begins with responsibility
PDF
Kaiken lähtökohtana on vastuu
PDF
Introduction to the responsibility process
PDF
Design up front is back! v2
PDF
Design up front is back!
PDF
Prototyyppien arviointi
PDF
Scrum is not enough v2.0
PDF
Scrum Is Not Enough
Responsibility - from drama to results
Leadership begins with responsibility - Riga
Leadership begins with responsibility
Kaiken lähtökohtana on vastuu
Introduction to the responsibility process
Design up front is back! v2
Design up front is back!
Prototyyppien arviointi
Scrum is not enough v2.0
Scrum Is Not Enough
Ad

Recently uploaded (20)

PPTX
Big Data Technologies - Introduction.pptx
PPTX
Cloud computing and distributed systems.
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PDF
Machine learning based COVID-19 study performance prediction
PDF
Approach and Philosophy of On baking technology
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PDF
cuic standard and advanced reporting.pdf
PDF
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PDF
Encapsulation theory and applications.pdf
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PDF
Spectral efficient network and resource selection model in 5G networks
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PDF
Unlocking AI with Model Context Protocol (MCP)
PDF
CIFDAQ's Market Insight: SEC Turns Pro Crypto
PPTX
A Presentation on Artificial Intelligence
PDF
Network Security Unit 5.pdf for BCA BBA.
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PDF
NewMind AI Monthly Chronicles - July 2025
Big Data Technologies - Introduction.pptx
Cloud computing and distributed systems.
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
Machine learning based COVID-19 study performance prediction
Approach and Philosophy of On baking technology
“AI and Expert System Decision Support & Business Intelligence Systems”
cuic standard and advanced reporting.pdf
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
20250228 LYD VKU AI Blended-Learning.pptx
Encapsulation theory and applications.pdf
Agricultural_Statistics_at_a_Glance_2022_0.pdf
Spectral efficient network and resource selection model in 5G networks
Per capita expenditure prediction using model stacking based on satellite ima...
Unlocking AI with Model Context Protocol (MCP)
CIFDAQ's Market Insight: SEC Turns Pro Crypto
A Presentation on Artificial Intelligence
Network Security Unit 5.pdf for BCA BBA.
Advanced methodologies resolving dimensionality complications for autism neur...
NewMind AI Monthly Chronicles - July 2025

Testing In Agile

  • 1. Testing in Agile Ari Tanninen Agile Dinner Helsinki December 1st 2009 Wednesday, December 2, 2009
  • 2. Agenda Introductions Motivation Wednesday, December 2, 2009
  • 3. Assumptions • Understanding of software development • Familiarity of agile • Basic testing know-how Wednesday, December 2, 2009
  • 4. My Biases • Java developer • Object-orientation • Consulting Wednesday, December 2, 2009
  • 5. Everything About Testing Wednesday, December 2, 2009
  • 6. Functional testing... • Black box • White box • Grey box • Regression • Smoke • User Wednesday, December 2, 2009
  • 7. Levels of testing... • Unit • Module • Component • Integration • System • System integration Wednesday, December 2, 2009
  • 8. More testing! • Performance, scalability, stability, stress • Destructive • Usability • Security • Exploratory • Monkey Wednesday, December 2, 2009
  • 10. Back to Basics Wednesday, December 2, 2009
  • 11. Purposes of Testing • Product validation (the right product?) • Support development (built right?) • User / Technology • System / Code Wednesday, December 2, 2009
  • 12. Wednesday, December 2, 2009 Source: Brian Marick, Mary Poppendieck, additions by me http://www.exampler.com/old-blog/2003/08/21/#agile-testing-project-1 http://stopandfix.blogspot.com/2009/04/all-about-testing.html
  • 13. Agile Needs from Testing Wednesday, December 2, 2009
  • 14. Waterfall Planning Analysis Design Coding Testing Deploying Done! Risk analysis Test planning Test case design Wednesday, December 2, 2009
  • 15. Risk analysis Agile Test planning Risk analysis Test case design Test planning Test case design Planning Analysis Design Coding Testing Deploying Done! Planning Analysis Design Coding Testing Deploying Done! Planning Analysis Design Coding Testing Deploying Done! Planning Analysis Design Coding Testing Deploying Done! Risk analysis Test planning Test case design Definition of done: tested Wednesday, December 2, 2009
  • 16. Potentially shippable functionality at the end of every iteration? Wednesday, December 2, 2009
  • 17. Wednesday, December 2, 2009 Source: Brian Marick, Mary Poppendieck, additions by me http://www.exampler.com/old-blog/2003/08/21/#agile-testing-project-1 http://stopandfix.blogspot.com/2009/04/all-about-testing.html
  • 18. The Problem Features to be tested 1 2 3 4 Iteration Wednesday, December 2, 2009
  • 20. Automated testing? Automated test case execution! Who designs and automates the test cases? Wednesday, December 2, 2009
  • 21. Agile Development Up-front Design must design evolve impossible Iterative and Regression Test incremental Refactoring testing automation development Features Test-first added, Changing development changed, codebase removed Tests, too! Wednesday, December 2, 2009
  • 22. The Key to Test Automation Testing tools? Software development http://stopandfix.blogspot.com/2009/03/key-to-test-automation.html Wednesday, December 2, 2009
  • 23. Tests are software, too • Evolution • Architecture & design • Iterative & incremental development • Readability (➙DSL) Wednesday, December 2, 2009
  • 24. Why test-first? • Efficient, least boring way to regression • Minimalism (“do only what is needed”) • “Done” • Design • Collaboration Wednesday, December 2, 2009
  • 25. Unit Test Driven Development Acceptance Test Driven Development Wednesday, December 2, 2009
  • 26. Challenges to Testing • Changing spec, code, and tests • “Potentially shippable” after every iteration • Usability & property testing • Tester’s role Wednesday, December 2, 2009
  • 27. Tester’s Role Redefined • Acceptance tests, user view of system • Business value focus, PO liaison • Exploratory testing & the difficult stuff • Thinking, contributing team member • Learn programming, train developers Wednesday, December 2, 2009
  • 28. Keys to Agile Testing • Developer testing • Evolving testing tools ➙ programming • Lazy & adaptive mindset • Collaboration Wednesday, December 2, 2009