SlideShare uma empresa Scribd logo
1 de 15
Baixar para ler offline
A Tool to Support Testing Activities

                              Gilson Doi Junior                Adilson Luiz Bonif´cio
                                                                                 a


                                               November 7th, 2011




Gilson Doi Junior, Adilson Luiz Bonif´cio ()
                                     a         A Tool to Support Testing Activities   November 7th, 2011   1 / 15
Summary

   1    Concepts

   2    Motivation

   3    Tool
          Test case generation methods
          FSM generation

   4    Similar Tools

   5    Experiment

   6    Results

   7    Future works


Gilson Doi Junior, Adilson Luiz Bonif´cio ()
                                     a         A Tool to Support Testing Activities   November 7th, 2011   2 / 15
Concepts


  Concepts


           Testing
                   Check whether an implementation behaves according to the
                   specification
                   Guarantee reliable systems
                   Find faults (avoiding financial damage or human losses)
           Model-based testing
                   Provide a rigorous testing framework
                   Black-box approach
                   Reduce ambiguities with formalisms
                   Support automated testing activities
           Finite State Machine (FSM)
                   Specify input and outputs
                   It can be used to specify systems’ behavior



Gilson Doi Junior, Adilson Luiz Bonif´cio ()
                                     a         A Tool to Support Testing Activities   November 7th, 2011   3 / 15
Motivation


  Motivation




           Few model-based testing tools support FSM models
           Lack of a pool of models to support practical experiments
           Lack of an standard to describe FSM
           Tools that only implements one test case generation method
           Compare some test case generation methods




Gilson Doi Junior, Adilson Luiz Bonif´cio ()
                                     a         A Tool to Support Testing Activities   November 7th, 2011   4 / 15
Tool


  Tool



                                                       Test suite              Oracle
                                   Specification                                           Verdict
                                                       generator              execution



                                 Implementation



                                       Pool                   FSM generator                Pool of
                                       size                                                models




                                                   Figure: Tool’s architecture




Gilson Doi Junior, Adilson Luiz Bonif´cio ()
                                     a              A Tool to Support Testing Activities             November 7th, 2011   5 / 15
Tool


  Tool(2)


           Specification and IUT
                   Describe FSM models
           Test suite generator
                   Need the Specification model
                   Apply one of test case generation methods
           Oracle execution
                   Apply the test suite to the specification and implementation model
                   Compare both behaviors and gives a verdict
           FSM generator
                   Generate FSM models to provide a pool to the testing framework




Gilson Doi Junior, Adilson Luiz Bonif´cio ()
                                     a         A Tool to Support Testing Activities   November 7th, 2011   6 / 15
Tool    Test case generation methods


  Test case generation methods



           We implemented three methods to FSM test case generation closely
           related, but distinct in the following aspects:
                   W-method
                           Uses the Characterization sets that distinguish every pair of states
                   Wp-method
                           Uses Identification sets that distinguish every single state
                   G-method
                           Uses R sets that distinguish families of equivalent states




Gilson Doi Junior, Adilson Luiz Bonif´cio ()
                                     a         A Tool to Support Testing Activities              November 7th, 2011   7 / 15
Tool    FSM generation


  FSM generation(1)




           Obtain the pool of FSM
           Define a standard grammar to describe FSM
           Similar approaches
                   Sidhu and Leung (1989) apply changes on a model to derive distinct
                   IUT
                   Sim˜o and Petrenko (2010) present a similar algorithm that obtain only
                       a
                   restrict models




Gilson Doi Junior, Adilson Luiz Bonif´cio ()
                                     a         A Tool to Support Testing Activities   November 7th, 2011   8 / 15
Tool    FSM generation


  FSM generation(2)



           Specifications
                   Generates FSM according to test case generation methods
           Implementation candidates (IUT)
                   Are unknown to the tester
                   Generates FSM with few restrictions: upper bound on the number of
                   states and input and output alphabet
                   Distinct transitions can be obtained with distinct combinations of input
                   and output symbol for each pair of states
                   Distinct FSM are derived by creating distinct transitions on the same
                   pair of states




Gilson Doi Junior, Adilson Luiz Bonif´cio ()
                                     a         A Tool to Support Testing Activities   November 7th, 2011   9 / 15
Similar Tools


  Similar tools



           Similar Tools:
                   JTorX
                   Spec Explorer
                   TGV
           None of them:
                   Deals with FSM models
                   Generates formal models
                   Implements the W-method, Wp-method or G-method




Gilson Doi Junior, Adilson Luiz Bonif´cio ()
                                     a         A Tool to Support Testing Activities   November 7th, 2011   10 / 15
Experiment


  Practical Experiments(1)




           A pool of FSM models obtained through the FSM generator
           The test suite were obtained by the Test Suite Generator
           Each FSM of the pool is tested as a IUT candidate
           The results are checked by the oracle




Gilson Doi Junior, Adilson Luiz Bonif´cio ()
                                     a         A Tool to Support Testing Activities   November 7th, 2011   11 / 15
Experiment


  Practical Experiments(2)


                                      b/0                 b/0                  a/1


                                                a/0                 a/0
                                       s0                  s2                   s3     b/1


              W-method                         Wp-method                  G-method
              ba, aba, bba,                    ba, aba, baba,             a, aaa, aba, baa, bba,
              baba,    bbba,                   bbba                       baaa, baba, bbba, bbaaa,
              bbaba, bbbba                                                bbaba, bbbaa, bbbba




Gilson Doi Junior, Adilson Luiz Bonif´cio ()
                                     a          A Tool to Support Testing Activities    November 7th, 2011   12 / 15
Results


  Results

     [1]                       [2]                     [3]                       [4]          [5]
     5                         Method          W       91                        24           0
     5                         Method          Wp      57                        17           0
     5                         Method          G       432                       72           0
     10                        Method          W       88                        22           0
     10                        Method          Wp      86                        21           0
     10                        Method          G       2112                      224          0


       1   Number of states
       2   Method
       3   Test Suite Length
       4   Number of Test Sequences
       5   Implementations in conformance
Gilson Doi Junior, Adilson Luiz Bonif´cio ()
                                     a          A Tool to Support Testing Activities   November 7th, 2011   13 / 15
Results


  Future works




           Replace QT data structures by C++ STL to improve the performance
           A graphical interface to aid the task of specifying formal models
           based on the proposed grammar
           Integrate test case generation methods for real-time systems and
           systems with data flow transformations




Gilson Doi Junior, Adilson Luiz Bonif´cio ()
                                     a         A Tool to Support Testing Activities   November 7th, 2011   14 / 15
Results


  Thanks




           Questions?




Gilson Doi Junior, Adilson Luiz Bonif´cio ()
                                     a         A Tool to Support Testing Activities   November 7th, 2011   15 / 15

Mais conteúdo relacionado

Último

How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfOverkill Security
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024The Digital Insurer
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsNanddeep Nachan
 
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...apidays
 
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu SubbuApidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbuapidays
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...DianaGray10
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoffsammart93
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherRemote DBA Services
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot ModelNavi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot ModelDeepika Singh
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodJuan lago vázquez
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Jeffrey Haguewood
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAndrey Devyatkin
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...Zilliz
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobeapidays
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 

Último (20)

How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdf
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
 
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu SubbuApidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot ModelNavi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 

Destaque

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by HubspotMarius Sescu
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTExpeed Software
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsPixeldarts
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthThinkNow
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfmarketingartwork
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024Neil Kimberley
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)contently
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsKurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summarySpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentLily Ray
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best PracticesVit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project managementMindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...RachelPearson36
 

Destaque (20)

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 

Apresentacao SBESC 2011

  • 1. A Tool to Support Testing Activities Gilson Doi Junior Adilson Luiz Bonif´cio a November 7th, 2011 Gilson Doi Junior, Adilson Luiz Bonif´cio () a A Tool to Support Testing Activities November 7th, 2011 1 / 15
  • 2. Summary 1 Concepts 2 Motivation 3 Tool Test case generation methods FSM generation 4 Similar Tools 5 Experiment 6 Results 7 Future works Gilson Doi Junior, Adilson Luiz Bonif´cio () a A Tool to Support Testing Activities November 7th, 2011 2 / 15
  • 3. Concepts Concepts Testing Check whether an implementation behaves according to the specification Guarantee reliable systems Find faults (avoiding financial damage or human losses) Model-based testing Provide a rigorous testing framework Black-box approach Reduce ambiguities with formalisms Support automated testing activities Finite State Machine (FSM) Specify input and outputs It can be used to specify systems’ behavior Gilson Doi Junior, Adilson Luiz Bonif´cio () a A Tool to Support Testing Activities November 7th, 2011 3 / 15
  • 4. Motivation Motivation Few model-based testing tools support FSM models Lack of a pool of models to support practical experiments Lack of an standard to describe FSM Tools that only implements one test case generation method Compare some test case generation methods Gilson Doi Junior, Adilson Luiz Bonif´cio () a A Tool to Support Testing Activities November 7th, 2011 4 / 15
  • 5. Tool Tool Test suite Oracle Specification Verdict generator execution Implementation Pool FSM generator Pool of size models Figure: Tool’s architecture Gilson Doi Junior, Adilson Luiz Bonif´cio () a A Tool to Support Testing Activities November 7th, 2011 5 / 15
  • 6. Tool Tool(2) Specification and IUT Describe FSM models Test suite generator Need the Specification model Apply one of test case generation methods Oracle execution Apply the test suite to the specification and implementation model Compare both behaviors and gives a verdict FSM generator Generate FSM models to provide a pool to the testing framework Gilson Doi Junior, Adilson Luiz Bonif´cio () a A Tool to Support Testing Activities November 7th, 2011 6 / 15
  • 7. Tool Test case generation methods Test case generation methods We implemented three methods to FSM test case generation closely related, but distinct in the following aspects: W-method Uses the Characterization sets that distinguish every pair of states Wp-method Uses Identification sets that distinguish every single state G-method Uses R sets that distinguish families of equivalent states Gilson Doi Junior, Adilson Luiz Bonif´cio () a A Tool to Support Testing Activities November 7th, 2011 7 / 15
  • 8. Tool FSM generation FSM generation(1) Obtain the pool of FSM Define a standard grammar to describe FSM Similar approaches Sidhu and Leung (1989) apply changes on a model to derive distinct IUT Sim˜o and Petrenko (2010) present a similar algorithm that obtain only a restrict models Gilson Doi Junior, Adilson Luiz Bonif´cio () a A Tool to Support Testing Activities November 7th, 2011 8 / 15
  • 9. Tool FSM generation FSM generation(2) Specifications Generates FSM according to test case generation methods Implementation candidates (IUT) Are unknown to the tester Generates FSM with few restrictions: upper bound on the number of states and input and output alphabet Distinct transitions can be obtained with distinct combinations of input and output symbol for each pair of states Distinct FSM are derived by creating distinct transitions on the same pair of states Gilson Doi Junior, Adilson Luiz Bonif´cio () a A Tool to Support Testing Activities November 7th, 2011 9 / 15
  • 10. Similar Tools Similar tools Similar Tools: JTorX Spec Explorer TGV None of them: Deals with FSM models Generates formal models Implements the W-method, Wp-method or G-method Gilson Doi Junior, Adilson Luiz Bonif´cio () a A Tool to Support Testing Activities November 7th, 2011 10 / 15
  • 11. Experiment Practical Experiments(1) A pool of FSM models obtained through the FSM generator The test suite were obtained by the Test Suite Generator Each FSM of the pool is tested as a IUT candidate The results are checked by the oracle Gilson Doi Junior, Adilson Luiz Bonif´cio () a A Tool to Support Testing Activities November 7th, 2011 11 / 15
  • 12. Experiment Practical Experiments(2) b/0 b/0 a/1 a/0 a/0 s0 s2 s3 b/1 W-method Wp-method G-method ba, aba, bba, ba, aba, baba, a, aaa, aba, baa, bba, baba, bbba, bbba baaa, baba, bbba, bbaaa, bbaba, bbbba bbaba, bbbaa, bbbba Gilson Doi Junior, Adilson Luiz Bonif´cio () a A Tool to Support Testing Activities November 7th, 2011 12 / 15
  • 13. Results Results [1] [2] [3] [4] [5] 5 Method W 91 24 0 5 Method Wp 57 17 0 5 Method G 432 72 0 10 Method W 88 22 0 10 Method Wp 86 21 0 10 Method G 2112 224 0 1 Number of states 2 Method 3 Test Suite Length 4 Number of Test Sequences 5 Implementations in conformance Gilson Doi Junior, Adilson Luiz Bonif´cio () a A Tool to Support Testing Activities November 7th, 2011 13 / 15
  • 14. Results Future works Replace QT data structures by C++ STL to improve the performance A graphical interface to aid the task of specifying formal models based on the proposed grammar Integrate test case generation methods for real-time systems and systems with data flow transformations Gilson Doi Junior, Adilson Luiz Bonif´cio () a A Tool to Support Testing Activities November 7th, 2011 14 / 15
  • 15. Results Thanks Questions? Gilson Doi Junior, Adilson Luiz Bonif´cio () a A Tool to Support Testing Activities November 7th, 2011 15 / 15