SlideShare uma empresa Scribd logo
1 de 28
Baixar para ler offline
Model-Based Testing to
              Help You Enhance Your
              Agile Testing Process!!
                                                                    February 6th


Frederic OEHL
Consultant
oehl@smartesting.com

                                                                                                                   1
 © SMARTESTING 2009 – This document is the property of Smartesting. It may not be reproduced in whole or in part
Agenda


                                                                                                                  QA?
                                                             Agility?




                                                                                    MBT?




                                                                                                                        2
© SMARTESTING 2009 – This document is the property of Smartesting. It may not be reproduced in whole or in part
Game 1

      Customer                                                                                R&D
• Make groups of 4                                                                  • Make groups of 6
• Write a specification                                                             • Introduce yourself to
                                                                                      your group
• Introduce yourself to                                                             • Do the job and
  your group                                                                          deliver



                                                                                                                  3
© SMARTESTING 2009 – This document is the property of Smartesting. It may not be reproduced in whole or in part
Game 2

•   Customer and R&D are side by side
•   Customer presents their business needs
•   R&D gives a cost for each
•   Customer pass first order
•   Customer pass second order



                                                                                                                  4
© SMARTESTING 2009 – This document is the property of Smartesting. It may not be reproduced in whole or in part
History

    In the 50s, NASA and IBM were doing
    iterative and incremental developments
    Search for methods adapted to software
    development (frequent business and
    technology changes)
    2001 Agile Manifesto



                                                                                                                  5
© SMARTESTING 2009 – This document is the property of Smartesting. It may not be reproduced in whole or in part
Agile Manifesto: values!

    Individuals and interactions over
    processes and tools
    Working software over comprehensive
    documentation
    Customer collaboration over contract
    negotiation
    Responding to change over following a
    plan
                                                                                                                  6
© SMARTESTING 2009 – This document is the property of Smartesting. It may not be reproduced in whole or in part
Most popular methods:
Scrum
    Early 90s by Jeff Sutherland, Ken Schwaber and
    Mike Beedle



                                                                                    2- 4
                                                                                   weeks




                                                                                                                  7
© SMARTESTING 2009 – This document is the property of Smartesting. It may not be reproduced in whole or in part
Most popular methods: XP

    Late 90s by Kent Beck, Ward Cunningham & Ron
    Jeffries




                                                                                                                  8
© SMARTESTING 2009 – This document is the property of Smartesting. It may not be reproduced in whole or in part
Smartesting: an agile
company!




                                                                                                                  9
© SMARTESTING 2009 – This document is the property of Smartesting. It may not be reproduced in whole or in part
Pre-requisites for agile
testing

    Communication
    Test Driven Development
      – Customer provides acceptance tests
      – Developers write unit tests first
    Continuous integration
      – Building tool: ant, maven, etc.
      – Build manager: Hudson, Cruisecontrol, etc.


                                                                                                                  10
© SMARTESTING 2009 – This document is the property of Smartesting. It may not be reproduced in whole or in part
Lisa Crispin & Janet
Gregory’s Quadrant

                                                                Business-Facing


                        Functional tests                                                  Exploratory testing
                        Examples                                                          Scenarios
 Supporting the team




                        Story tests                                                       Usability testing
                        SimulationsAutomated &                                            User Acceptance testing




                                                                                                                         Critique product
                        Prototypes Manual                                                 Manual
                                                                                          Alpha/Beta



                       Unit tests Automated                                                  Tools
                                                                                            Performance & load testing
                       Component tests                                                      Security testing
                                                                                            « ility » testing

                                                              Technology-Facing

                                                                                                                                            11
© SMARTESTING 2009 – This document is the property of Smartesting. It may not be reproduced in whole or in part
Smartesting

                                                                Business-Facing


                        •Functional test with                                              •Exploratory testing on Friday
                        Fitnesse & QC/QTP                                                  •Usability testing by PS
 Supporting the team




                                                                                           •Alpha/Beta




                                                                                                                            Critique product
                       •JUnit tests                                                         •Performance




                                                              Technology-Facing

                                                                                                                                               12
© SMARTESTING 2009 – This document is the property of Smartesting. It may not be reproduced in whole or in part
Mike Cohn’s Test Pyramid




                                GUI
                               tests                                                               Behaving like expected


                       Acceptance
                          tests

                   Unit/Component                                                                  Increasing trust
                         tests


                                                                                                                            13
© SMARTESTING 2009 – This document is the property of Smartesting. It may not be reproduced in whole or in part
Challenges

    During one iteration :
      – Functional changes
      – Technical changes
      – Automating tests for the iteration
      – Exploratory testing
      –…




                                                                                                                  14
© SMARTESTING 2009 – This document is the property of Smartesting. It may not be reproduced in whole or in part
Game 3

•        Iteration 1, you have 4 types of bricks:

Draw 6 columns of 8 bricks each using at
least one type of each brick

•        Iteration 2, there is a change
         update your tests

                                                                                                                  15
© SMARTESTING 2009 – This document is the property of Smartesting. It may not be reproduced in whole or in part
Model-Based Testing

    Generation of test cases with oracles from
    a behavioural model (e.g. state machine)
    of the system under test.
                       BEFORE                                                                                     NOW




                                                                                                                        16
© SMARTESTING 2009 – This document is the property of Smartesting. It may not be reproduced in whole or in part
FOREX-SPOT

• FOREX-SPOT is a web application to buy/sell currencies and to know if we
make money or not.




                                                                                                                    17
  © SMARTESTING 2009 – This document is the property of Smartesting. It may not be reproduced in whole or in part
FOREX-SPOT

    Transaction:



    Actions (Depending of the transaction
    status and the user, actions are available
    of not):



                                                                                                                  18
© SMARTESTING 2009 – This document is the property of Smartesting. It may not be reproduced in whole or in part
Transaction lifecycle




                                                                                                                  19
© SMARTESTING 2009 – This document is the property of Smartesting. It may not be reproduced in whole or in part
Requirements covered by
previous iterations
                                   Id                                                                        Description
APPLYNEW_TRANSACTION                                                              Only the front office can do “Apply” on
APPLYREPOENED_TRANSACTION                                                         an OPEN transaction
CANCELFO_USER                                                                     The back office and front office can
CANCELBO_USER                                                                     cancel a transaction
COMMITCRLY_ERROR                                                                  Only the front office can do “Commit”.
COMMITCRLY_SUCCESS                                                                     Commit fails when:
COMMITERROR_CURRENCY                                                              •    the portfolio does not own the
                                                                                        currency sold
COMMITOTHER
                                                                                   •          CRLY try to sell/buy HKD
COMMITSOGEPAR_ERROR
                                                                                   •          SOGEPAR try to buy HKD with
COMMITSOGEPAR_SUCCESS                                                                        AUX
                                    …                                                                   …

                                                                                                                             20
© SMARTESTING 2009 – This document is the property of Smartesting. It may not be reproduced in whole or in part
Modeling for Testing

 Business entities




                                                                                                                  21
© SMARTESTING 2009 – This document is the property of Smartesting. It may not be reproduced in whole or in part
Modeling for Testing

    Expected behaviour




                                                                                                                  22
© SMARTESTING 2009 – This document is the property of Smartesting. It may not be reproduced in whole or in part
Iteration “STEP-IN”




    New user introduced: BOSS
    New action: Approve
                                                                                                                  23
© SMARTESTING 2009 – This document is the property of Smartesting. It may not be reproduced in whole or in part
TODO list

     Manage new requirements:
                                   Id                                                                        Description
APPROVE                                                                            Only the boss can set the “Approve”
                                                                                   status on a “BOSS review” transaction
CANCELBOSS_USER                                                                   The boss can cancel a transaction

     Updating the model
     Updating the application
     Updating the “keywords”
     Running the tests!
                                                                                                                           24
 © SMARTESTING 2009 – This document is the property of Smartesting. It may not be reproduced in whole or in part
DEMO

                                                                                                                  25
© SMARTESTING 2009 – This document is the property of Smartesting. It may not be reproduced in whole or in part
How does MBT fit into Aglity?

    Individuals & interactions
      – Testers & developers are working together
    Working software
      – Increased test coverage, “executable” model
    Customer collaboration
      – Test models are unambiguous communication
        tools
    Responding to change
      – Test models are easier to update than large
        test suites
                                                                                                                  26
© SMARTESTING 2009 – This document is the property of Smartesting. It may not be reproduced in whole or in part
Questions?


                                                                                                                  27
© SMARTESTING 2009 – This document is the property of Smartesting. It may not be reproduced in whole or in part
Fore more…




                                                                                                                  28
© SMARTESTING 2009 – This document is the property of Smartesting. It may not be reproduced in whole or in part

Mais conteúdo relacionado

Mais procurados

Managing Software Debt - Quality Debt Focus for QASIG Seattle
Managing Software Debt - Quality Debt Focus for QASIG SeattleManaging Software Debt - Quality Debt Focus for QASIG Seattle
Managing Software Debt - Quality Debt Focus for QASIG SeattleChris Sterling
 
Chapter 1 ASE Slides ppt
Chapter 1 ASE Slides pptChapter 1 ASE Slides ppt
Chapter 1 ASE Slides pptMr SMAK
 
2011 pmo symposium Bridging the Agile-to-PMO Communication Gap
2011 pmo symposium Bridging the Agile-to-PMO Communication Gap2011 pmo symposium Bridging the Agile-to-PMO Communication Gap
2011 pmo symposium Bridging the Agile-to-PMO Communication GapBrent Barton
 
Aras PLM Software Implementation Methodology
Aras PLM Software Implementation MethodologyAras PLM Software Implementation Methodology
Aras PLM Software Implementation MethodologyAras
 
Short agilefordba
Short agilefordbaShort agilefordba
Short agilefordbaShane Hayes
 
Forchu Teck Technology Collaboration Profile
Forchu Teck Technology Collaboration ProfileForchu Teck Technology Collaboration Profile
Forchu Teck Technology Collaboration ProfileCharles Forchu
 
Managing Software Debt in Practice 2011
Managing Software Debt in Practice 2011Managing Software Debt in Practice 2011
Managing Software Debt in Practice 2011Chris Sterling
 
Business Patterns presentation @ Oredev 2012
Business Patterns presentation @ Oredev 2012Business Patterns presentation @ Oredev 2012
Business Patterns presentation @ Oredev 2012allan kelly
 
James Lyndsay - Testing in an agile environment
James Lyndsay - Testing in an agile environmentJames Lyndsay - Testing in an agile environment
James Lyndsay - Testing in an agile environmentDavid O'Dowd
 
Agiles 2009 - An Evolutive Approach From Cmmi Iso - Miguel Insaurralde
Agiles 2009 - An Evolutive Approach From Cmmi Iso - Miguel InsaurraldeAgiles 2009 - An Evolutive Approach From Cmmi Iso - Miguel Insaurralde
Agiles 2009 - An Evolutive Approach From Cmmi Iso - Miguel InsaurraldeAgiles2009
 
Recognizing Software Debt - Beyond Agile Puget Sound
Recognizing Software Debt - Beyond Agile Puget SoundRecognizing Software Debt - Beyond Agile Puget Sound
Recognizing Software Debt - Beyond Agile Puget SoundChris Sterling
 
Testing in an Agile Context 2011
Testing in an Agile Context 2011Testing in an Agile Context 2011
Testing in an Agile Context 2011Chris Sterling
 
1 qm keynote-kamala_p
1 qm keynote-kamala_p1 qm keynote-kamala_p
1 qm keynote-kamala_pIBM
 
Micro Focus and CSC - Gartner
Micro Focus and CSC - GartnerMicro Focus and CSC - Gartner
Micro Focus and CSC - GartnerMicro Focus
 
Micro Focus and RAET - Gartner
Micro Focus and RAET - GartnerMicro Focus and RAET - Gartner
Micro Focus and RAET - GartnerMicro Focus
 
The System is the Product
The System is the ProductThe System is the Product
The System is the ProductSVPMA
 
Towards a Push-Button Release
Towards a Push-Button ReleaseTowards a Push-Button Release
Towards a Push-Button ReleaseChris Sterling
 

Mais procurados (19)

Managing Software Debt - Quality Debt Focus for QASIG Seattle
Managing Software Debt - Quality Debt Focus for QASIG SeattleManaging Software Debt - Quality Debt Focus for QASIG Seattle
Managing Software Debt - Quality Debt Focus for QASIG Seattle
 
Chapter 1 ASE Slides ppt
Chapter 1 ASE Slides pptChapter 1 ASE Slides ppt
Chapter 1 ASE Slides ppt
 
2011 pmo symposium Bridging the Agile-to-PMO Communication Gap
2011 pmo symposium Bridging the Agile-to-PMO Communication Gap2011 pmo symposium Bridging the Agile-to-PMO Communication Gap
2011 pmo symposium Bridging the Agile-to-PMO Communication Gap
 
Aras PLM Software Implementation Methodology
Aras PLM Software Implementation MethodologyAras PLM Software Implementation Methodology
Aras PLM Software Implementation Methodology
 
Short agilefordba
Short agilefordbaShort agilefordba
Short agilefordba
 
Forchu Teck Technology Collaboration Profile
Forchu Teck Technology Collaboration ProfileForchu Teck Technology Collaboration Profile
Forchu Teck Technology Collaboration Profile
 
Managing Software Debt in Practice 2011
Managing Software Debt in Practice 2011Managing Software Debt in Practice 2011
Managing Software Debt in Practice 2011
 
Business Patterns presentation @ Oredev 2012
Business Patterns presentation @ Oredev 2012Business Patterns presentation @ Oredev 2012
Business Patterns presentation @ Oredev 2012
 
James Lyndsay - Testing in an agile environment
James Lyndsay - Testing in an agile environmentJames Lyndsay - Testing in an agile environment
James Lyndsay - Testing in an agile environment
 
Agiles 2009 - An Evolutive Approach From Cmmi Iso - Miguel Insaurralde
Agiles 2009 - An Evolutive Approach From Cmmi Iso - Miguel InsaurraldeAgiles 2009 - An Evolutive Approach From Cmmi Iso - Miguel Insaurralde
Agiles 2009 - An Evolutive Approach From Cmmi Iso - Miguel Insaurralde
 
Etm551 lecture05
Etm551 lecture05Etm551 lecture05
Etm551 lecture05
 
Recognizing Software Debt - Beyond Agile Puget Sound
Recognizing Software Debt - Beyond Agile Puget SoundRecognizing Software Debt - Beyond Agile Puget Sound
Recognizing Software Debt - Beyond Agile Puget Sound
 
Testing in an Agile Context 2011
Testing in an Agile Context 2011Testing in an Agile Context 2011
Testing in an Agile Context 2011
 
1 qm keynote-kamala_p
1 qm keynote-kamala_p1 qm keynote-kamala_p
1 qm keynote-kamala_p
 
Imaginea qa&automation
Imaginea qa&automationImaginea qa&automation
Imaginea qa&automation
 
Micro Focus and CSC - Gartner
Micro Focus and CSC - GartnerMicro Focus and CSC - Gartner
Micro Focus and CSC - Gartner
 
Micro Focus and RAET - Gartner
Micro Focus and RAET - GartnerMicro Focus and RAET - Gartner
Micro Focus and RAET - Gartner
 
The System is the Product
The System is the ProductThe System is the Product
The System is the Product
 
Towards a Push-Button Release
Towards a Push-Button ReleaseTowards a Push-Button Release
Towards a Push-Button Release
 

Semelhante a Model-Based Testing to Help You Enhance Your Agile Testing Process

QA is dead long live the new QA - Agile Dev and QA Conference Israel
QA is dead long live the new QA - Agile Dev and QA Conference IsraelQA is dead long live the new QA - Agile Dev and QA Conference Israel
QA is dead long live the new QA - Agile Dev and QA Conference IsraelYuval Yeret
 
Inverting The Testing Pyramid
Inverting The Testing PyramidInverting The Testing Pyramid
Inverting The Testing PyramidNaresh Jain
 
How To Make Your Testing More Groovy
How To Make Your Testing More GroovyHow To Make Your Testing More Groovy
How To Make Your Testing More GroovyCraig Smith
 
Gl istqb testing fundamentals
Gl istqb testing fundamentalsGl istqb testing fundamentals
Gl istqb testing fundamentalsPragya Rastogi
 
Amy.stapleton
Amy.stapletonAmy.stapleton
Amy.stapletonNASAPMC
 
Top 7 Myths of Agile Testing - Busted!
Top 7 Myths of Agile Testing - Busted!Top 7 Myths of Agile Testing - Busted!
Top 7 Myths of Agile Testing - Busted!Aricent
 
Sogeti Webinar Effective Test Process Improvement 220709
Sogeti Webinar Effective Test Process Improvement 220709Sogeti Webinar Effective Test Process Improvement 220709
Sogeti Webinar Effective Test Process Improvement 220709Sogeti Ireland
 
Agile Test Management - www.softtest.ie
Agile Test Management - www.softtest.ieAgile Test Management - www.softtest.ie
Agile Test Management - www.softtest.ieDavid O'Dowd
 
Groovy Testing Aug2009
Groovy Testing Aug2009Groovy Testing Aug2009
Groovy Testing Aug2009guest4a266c
 
Agile Fundamental Skill Set
Agile Fundamental Skill SetAgile Fundamental Skill Set
Agile Fundamental Skill SetTsuyoshi Ushio
 
5 sins of all hands ppt
5 sins of all hands ppt5 sins of all hands ppt
5 sins of all hands pptSpike Gu
 
Introduction To Agile
Introduction To AgileIntroduction To Agile
Introduction To AgileTony Deng
 
Cheap& Quick Internal user testing
Cheap& Quick Internal user testingCheap& Quick Internal user testing
Cheap& Quick Internal user testingPriya Prakash
 
Agile Lean Scrum ITIL V2
Agile Lean Scrum ITIL V2Agile Lean Scrum ITIL V2
Agile Lean Scrum ITIL V2Russell Pannone
 
Estimation Agile Projects
Estimation Agile ProjectsEstimation Agile Projects
Estimation Agile ProjectsRam Srivastava
 
IBM Collaborative Lifecycle Management
IBM Collaborative Lifecycle ManagementIBM Collaborative Lifecycle Management
IBM Collaborative Lifecycle ManagementAlan Kan
 
John McArdle - Professionalism in Testing - SoftTest Ireland
John McArdle - Professionalism in Testing - SoftTest IrelandJohn McArdle - Professionalism in Testing - SoftTest Ireland
John McArdle - Professionalism in Testing - SoftTest IrelandDavid O'Dowd
 
Envisioning improving productivity and qaulity through better backlogs agi...
Envisioning   improving productivity and qaulity through better backlogs  agi...Envisioning   improving productivity and qaulity through better backlogs  agi...
Envisioning improving productivity and qaulity through better backlogs agi...Tatlock
 
3 Keys to Great Customer Experience When Launching Web and Mobile Applications
3 Keys to Great Customer Experience When Launching Web and Mobile Applications3 Keys to Great Customer Experience When Launching Web and Mobile Applications
3 Keys to Great Customer Experience When Launching Web and Mobile ApplicationsCompuware APM
 

Semelhante a Model-Based Testing to Help You Enhance Your Agile Testing Process (20)

QA is dead long live the new QA - Agile Dev and QA Conference Israel
QA is dead long live the new QA - Agile Dev and QA Conference IsraelQA is dead long live the new QA - Agile Dev and QA Conference Israel
QA is dead long live the new QA - Agile Dev and QA Conference Israel
 
Inverting The Testing Pyramid
Inverting The Testing PyramidInverting The Testing Pyramid
Inverting The Testing Pyramid
 
How To Make Your Testing More Groovy
How To Make Your Testing More GroovyHow To Make Your Testing More Groovy
How To Make Your Testing More Groovy
 
Gl istqb testing fundamentals
Gl istqb testing fundamentalsGl istqb testing fundamentals
Gl istqb testing fundamentals
 
Amy.stapleton
Amy.stapletonAmy.stapleton
Amy.stapleton
 
Top 7 Myths of Agile Testing - Busted!
Top 7 Myths of Agile Testing - Busted!Top 7 Myths of Agile Testing - Busted!
Top 7 Myths of Agile Testing - Busted!
 
Sogeti Webinar Effective Test Process Improvement 220709
Sogeti Webinar Effective Test Process Improvement 220709Sogeti Webinar Effective Test Process Improvement 220709
Sogeti Webinar Effective Test Process Improvement 220709
 
Agile Test Management - www.softtest.ie
Agile Test Management - www.softtest.ieAgile Test Management - www.softtest.ie
Agile Test Management - www.softtest.ie
 
Groovy Testing Aug2009
Groovy Testing Aug2009Groovy Testing Aug2009
Groovy Testing Aug2009
 
Agile Fundamental Skill Set
Agile Fundamental Skill SetAgile Fundamental Skill Set
Agile Fundamental Skill Set
 
5 sins of all hands ppt
5 sins of all hands ppt5 sins of all hands ppt
5 sins of all hands ppt
 
Introduction To Agile
Introduction To AgileIntroduction To Agile
Introduction To Agile
 
Cheap& Quick Internal user testing
Cheap& Quick Internal user testingCheap& Quick Internal user testing
Cheap& Quick Internal user testing
 
Agiletools
AgiletoolsAgiletools
Agiletools
 
Agile Lean Scrum ITIL V2
Agile Lean Scrum ITIL V2Agile Lean Scrum ITIL V2
Agile Lean Scrum ITIL V2
 
Estimation Agile Projects
Estimation Agile ProjectsEstimation Agile Projects
Estimation Agile Projects
 
IBM Collaborative Lifecycle Management
IBM Collaborative Lifecycle ManagementIBM Collaborative Lifecycle Management
IBM Collaborative Lifecycle Management
 
John McArdle - Professionalism in Testing - SoftTest Ireland
John McArdle - Professionalism in Testing - SoftTest IrelandJohn McArdle - Professionalism in Testing - SoftTest Ireland
John McArdle - Professionalism in Testing - SoftTest Ireland
 
Envisioning improving productivity and qaulity through better backlogs agi...
Envisioning   improving productivity and qaulity through better backlogs  agi...Envisioning   improving productivity and qaulity through better backlogs  agi...
Envisioning improving productivity and qaulity through better backlogs agi...
 
3 Keys to Great Customer Experience When Launching Web and Mobile Applications
3 Keys to Great Customer Experience When Launching Web and Mobile Applications3 Keys to Great Customer Experience When Launching Web and Mobile Applications
3 Keys to Great Customer Experience When Launching Web and Mobile Applications
 

Model-Based Testing to Help You Enhance Your Agile Testing Process

  • 1. Model-Based Testing to Help You Enhance Your Agile Testing Process!! February 6th Frederic OEHL Consultant oehl@smartesting.com 1 © SMARTESTING 2009 – This document is the property of Smartesting. It may not be reproduced in whole or in part
  • 2. Agenda QA? Agility? MBT? 2 © SMARTESTING 2009 – This document is the property of Smartesting. It may not be reproduced in whole or in part
  • 3. Game 1 Customer R&D • Make groups of 4 • Make groups of 6 • Write a specification • Introduce yourself to your group • Introduce yourself to • Do the job and your group deliver 3 © SMARTESTING 2009 – This document is the property of Smartesting. It may not be reproduced in whole or in part
  • 4. Game 2 • Customer and R&D are side by side • Customer presents their business needs • R&D gives a cost for each • Customer pass first order • Customer pass second order 4 © SMARTESTING 2009 – This document is the property of Smartesting. It may not be reproduced in whole or in part
  • 5. History In the 50s, NASA and IBM were doing iterative and incremental developments Search for methods adapted to software development (frequent business and technology changes) 2001 Agile Manifesto 5 © SMARTESTING 2009 – This document is the property of Smartesting. It may not be reproduced in whole or in part
  • 6. Agile Manifesto: values! Individuals and interactions over processes and tools Working software over comprehensive documentation Customer collaboration over contract negotiation Responding to change over following a plan 6 © SMARTESTING 2009 – This document is the property of Smartesting. It may not be reproduced in whole or in part
  • 7. Most popular methods: Scrum Early 90s by Jeff Sutherland, Ken Schwaber and Mike Beedle 2- 4 weeks 7 © SMARTESTING 2009 – This document is the property of Smartesting. It may not be reproduced in whole or in part
  • 8. Most popular methods: XP Late 90s by Kent Beck, Ward Cunningham & Ron Jeffries 8 © SMARTESTING 2009 – This document is the property of Smartesting. It may not be reproduced in whole or in part
  • 9. Smartesting: an agile company! 9 © SMARTESTING 2009 – This document is the property of Smartesting. It may not be reproduced in whole or in part
  • 10. Pre-requisites for agile testing Communication Test Driven Development – Customer provides acceptance tests – Developers write unit tests first Continuous integration – Building tool: ant, maven, etc. – Build manager: Hudson, Cruisecontrol, etc. 10 © SMARTESTING 2009 – This document is the property of Smartesting. It may not be reproduced in whole or in part
  • 11. Lisa Crispin & Janet Gregory’s Quadrant Business-Facing Functional tests Exploratory testing Examples Scenarios Supporting the team Story tests Usability testing SimulationsAutomated & User Acceptance testing Critique product Prototypes Manual Manual Alpha/Beta Unit tests Automated Tools Performance & load testing Component tests Security testing « ility » testing Technology-Facing 11 © SMARTESTING 2009 – This document is the property of Smartesting. It may not be reproduced in whole or in part
  • 12. Smartesting Business-Facing •Functional test with •Exploratory testing on Friday Fitnesse & QC/QTP •Usability testing by PS Supporting the team •Alpha/Beta Critique product •JUnit tests •Performance Technology-Facing 12 © SMARTESTING 2009 – This document is the property of Smartesting. It may not be reproduced in whole or in part
  • 13. Mike Cohn’s Test Pyramid GUI tests Behaving like expected Acceptance tests Unit/Component Increasing trust tests 13 © SMARTESTING 2009 – This document is the property of Smartesting. It may not be reproduced in whole or in part
  • 14. Challenges During one iteration : – Functional changes – Technical changes – Automating tests for the iteration – Exploratory testing –… 14 © SMARTESTING 2009 – This document is the property of Smartesting. It may not be reproduced in whole or in part
  • 15. Game 3 • Iteration 1, you have 4 types of bricks: Draw 6 columns of 8 bricks each using at least one type of each brick • Iteration 2, there is a change update your tests 15 © SMARTESTING 2009 – This document is the property of Smartesting. It may not be reproduced in whole or in part
  • 16. Model-Based Testing Generation of test cases with oracles from a behavioural model (e.g. state machine) of the system under test. BEFORE NOW 16 © SMARTESTING 2009 – This document is the property of Smartesting. It may not be reproduced in whole or in part
  • 17. FOREX-SPOT • FOREX-SPOT is a web application to buy/sell currencies and to know if we make money or not. 17 © SMARTESTING 2009 – This document is the property of Smartesting. It may not be reproduced in whole or in part
  • 18. FOREX-SPOT Transaction: Actions (Depending of the transaction status and the user, actions are available of not): 18 © SMARTESTING 2009 – This document is the property of Smartesting. It may not be reproduced in whole or in part
  • 19. Transaction lifecycle 19 © SMARTESTING 2009 – This document is the property of Smartesting. It may not be reproduced in whole or in part
  • 20. Requirements covered by previous iterations Id Description APPLYNEW_TRANSACTION Only the front office can do “Apply” on APPLYREPOENED_TRANSACTION an OPEN transaction CANCELFO_USER The back office and front office can CANCELBO_USER cancel a transaction COMMITCRLY_ERROR Only the front office can do “Commit”. COMMITCRLY_SUCCESS Commit fails when: COMMITERROR_CURRENCY • the portfolio does not own the currency sold COMMITOTHER • CRLY try to sell/buy HKD COMMITSOGEPAR_ERROR • SOGEPAR try to buy HKD with COMMITSOGEPAR_SUCCESS AUX … … 20 © SMARTESTING 2009 – This document is the property of Smartesting. It may not be reproduced in whole or in part
  • 21. Modeling for Testing Business entities 21 © SMARTESTING 2009 – This document is the property of Smartesting. It may not be reproduced in whole or in part
  • 22. Modeling for Testing Expected behaviour 22 © SMARTESTING 2009 – This document is the property of Smartesting. It may not be reproduced in whole or in part
  • 23. Iteration “STEP-IN” New user introduced: BOSS New action: Approve 23 © SMARTESTING 2009 – This document is the property of Smartesting. It may not be reproduced in whole or in part
  • 24. TODO list Manage new requirements: Id Description APPROVE Only the boss can set the “Approve” status on a “BOSS review” transaction CANCELBOSS_USER The boss can cancel a transaction Updating the model Updating the application Updating the “keywords” Running the tests! 24 © SMARTESTING 2009 – This document is the property of Smartesting. It may not be reproduced in whole or in part
  • 25. DEMO 25 © SMARTESTING 2009 – This document is the property of Smartesting. It may not be reproduced in whole or in part
  • 26. How does MBT fit into Aglity? Individuals & interactions – Testers & developers are working together Working software – Increased test coverage, “executable” model Customer collaboration – Test models are unambiguous communication tools Responding to change – Test models are easier to update than large test suites 26 © SMARTESTING 2009 – This document is the property of Smartesting. It may not be reproduced in whole or in part
  • 27. Questions? 27 © SMARTESTING 2009 – This document is the property of Smartesting. It may not be reproduced in whole or in part
  • 28. Fore more… 28 © SMARTESTING 2009 – This document is the property of Smartesting. It may not be reproduced in whole or in part