SlideShare une entreprise Scribd logo
1  sur  16
Taras Lytvyn

http://testers.lviv.ua/




https://twitter.com/djlicker




http://ami.lnu.edu.ua/kdais/employees.html




                                             © 2012GlobalLogic Inc.   1
Mathematical models and
 artificial intelligence in
     software testing
                              Taras Lytvyn
         processes
                                             © 2012GlobalLogic Inc.   2
Contents
- What is artificial intelligence?
- Problem statement in general
- Analysis of recent researches & technologies
- Main idea of artificial intelligence approach
- Math model
- Test oracle based on AI
- Result evaluation and classification.
Comparison tool algorithm.
                                           © 2012GlobalLogic Inc.   3
What is artificial intelligence ?

     Semiotic                  Biological
thinking,                      Neural networks
judgment,
language,
emotions,
creativity, etc.                Intellectual
       mental                   behavior
       processes


                                           © 2012GlobalLogic Inc.   4
Problem statement in general
 SIMPLE TEST PROCESS
How well an evaluated app. conforms to its specs.

      3 stages:
      - test data generation,
      - testing,                      Regression
      - result evaluation               testing

           PROBLEM OF HIDDEN ERRORS

                                            © 2012GlobalLogic Inc.   5
Analysis of recent researches & techs

WHERE AI CAN BE USED ?

- metric’s analysis
- cost of testing
- reliability of testing in
  general
- optimization processes &
  data optimization


                                  © 2012GlobalLogic Inc.   6
Main idea
                  Decisions during
                 Regression Testing
 MANUAL                               AUTOMATION
                                  Assert functions
                                (Actual is equal/not
                                 equal to expected)

Intellectual automation
Decision System during
   Regression Testing
                                              © 2012GlobalLogic Inc.   7
Main idea
Decision System is based on artificial intelligent approach and is
       build on algorithm with NEURAL NETWORK usage.




                                       Neural Network training process

                                                           © 2012GlobalLogic Inc.   8
Main idea

          Tested
inputs                    it works ?
         Software


  Test        outputs
 cases

          Neural        Trained neural network
inputs
         Network         that will emulate our
                        SOFTWARE workability




                                      © 2012GlobalLogic Inc.   9
Math Modeling usage
         The test case execution process should be presented as
                          Complex Math Model

                   - Neural Network needs digits (not text)
                   - Input and output data should be normalized in specific way
                   - Math Model will give some limitations




                                Theorem & Limitations
V ji   couldn’t be empty                                          Functions
There is no intermediate step,                   TCE(t ji ) : Sl ji  Vl ji , l             k (k               m)
if a corresponding stage of verification exist   TCP(Sl ji ) : Sl   1 ji      Vl     1 ji ,...,S1 ji            V1 ji , l        1.
Intermediate stage of verification is possible   TCP(S1 ji ) : S1 ji       V1 ji .


                                                                                                       © 2012GlobalLogic Inc.   10
AI Test Oracle
        Test oracle – is a classifier that shows us
            whether test was passed or not

             Tested
            Software

                            Comparison
 Test                           Tool                 Result
Cases                        Algorithm           classifications

            Trained
             Neural
            Network
                               Test oracle classify the result
                                  of test case execution
                                                       © 2012GlobalLogic Inc.   11
Result classification & Comparison Tool
The Comparison Tool is employed as an independent method of
 comparing results from neural network and the results of the
                    tested versions of app.
                                                          App. result
                         Neural
                        Network
                         result            Correct                         Incorrect


                         Correct        1 True Positive                 2 True Negative
                        Incorrect      4 False Negative                 3 False Positive


                                       Comparison of outputs
  Output type              Same                                           Different

                        Both correct                                    ANN correct
    Binary
                        Both wrong                                      APP correct



                                                                        ANN correct
                        Both Correct
  Continuous                                                            APP correct
                        Both wrong
                                                                        Both wrong


                                                                                       © 2012GlobalLogic Inc.   12
Example
Input Data (test case) should be NORMALIZED !!!
               TC                                               Test Verification (test
                     TC Title (test    Test steps (test case
               id                                                case verification) /
                      case name)         steps) / Action
              (№)                                                  Expected result
                                      1.   Input Regular       1. Regular Hours
                                           Hours                   should be
                                      2.   Input Age               displayed
                                      3.   Input Rate of Pay   2. Age should be
                      Gross Pay
               1.2                    4.   Click Calculate         displayed
                        View
                                                               3. Rate of Pay should
                                                                   be displayed
                                                               4. Gross Pay should
                                                                   be displayed



         Structure of
         ANN is based             Training phase with 50 – 5000
        on Kolmogorov                        records
            Arnold
           approach
                                                                          © 2012GlobalLogic Inc.   13
- Introduced a mathematical model describing the
test case execution for software that is tested
- Constructed a new algorithmic model of test
oracle based on neural networks
- This Model can be used in the processes of
regression testing software
- Comparison Tool as result analyzer was provided

                                          © 2012GlobalLogic Inc.   14
<Q&A?>



         © 2012GlobalLogic Inc.   15
Taras Lytvyn
automation QC in Global Logic inc.
email : taras.lytvyn@globallogic.com
web: http://testers.lviv.ua/automation_blog
skype: tasryk




                                        © 2012GlobalLogic Inc.   16

Contenu connexe

Tendances

Functional to Visual: AI-powered UI Testing from Testim and Applitools
Functional to Visual: AI-powered UI Testing from Testim and ApplitoolsFunctional to Visual: AI-powered UI Testing from Testim and Applitools
Functional to Visual: AI-powered UI Testing from Testim and ApplitoolsApplitools
 
A3 problem solving technique by Mr. Anup Gandhi
A3 problem solving technique by Mr. Anup GandhiA3 problem solving technique by Mr. Anup Gandhi
A3 problem solving technique by Mr. Anup GandhiYogesh Vaghani
 
Quality Metrics- Dr.A. Amsavel.pptx
Quality Metrics- Dr.A. Amsavel.pptxQuality Metrics- Dr.A. Amsavel.pptx
Quality Metrics- Dr.A. Amsavel.pptxDr. Amsavel A
 
SIX SIGMA Green Belt Training
SIX SIGMA Green Belt TrainingSIX SIGMA Green Belt Training
SIX SIGMA Green Belt Trainingchaudhryshailja
 
Quality management and quality planning
Quality management and quality planningQuality management and quality planning
Quality management and quality planningAmartya Talukdar
 
Testing of artificial intelligence; AI quality engineering skils - an introdu...
Testing of artificial intelligence; AI quality engineering skils - an introdu...Testing of artificial intelligence; AI quality engineering skils - an introdu...
Testing of artificial intelligence; AI quality engineering skils - an introdu...Rik Marselis
 
Quality Assurance Activities And Processes PowerPoint Presentation Slides
Quality Assurance Activities And Processes PowerPoint Presentation Slides Quality Assurance Activities And Processes PowerPoint Presentation Slides
Quality Assurance Activities And Processes PowerPoint Presentation Slides SlideTeam
 
Key elements of lean sigma
Key elements of lean sigmaKey elements of lean sigma
Key elements of lean sigmaHi Gemba
 
The Implementation of QMS in construction industry
The Implementation of QMS in construction industryThe Implementation of QMS in construction industry
The Implementation of QMS in construction industryRaghavendra Rachamadugu
 
Testing Tools with AI
Testing Tools with AITesting Tools with AI
Testing Tools with AIVodqaBLR
 
Kaizen PDCA Cycle Process PowerPoint Presentation Slides
Kaizen PDCA Cycle Process PowerPoint Presentation Slides Kaizen PDCA Cycle Process PowerPoint Presentation Slides
Kaizen PDCA Cycle Process PowerPoint Presentation Slides SlideTeam
 
Operating Excellence is built on Corrective & Preventive Actions
Operating Excellence is built on Corrective & Preventive ActionsOperating Excellence is built on Corrective & Preventive Actions
Operating Excellence is built on Corrective & Preventive ActionsAtanu Dhar
 

Tendances (20)

Dmaic
DmaicDmaic
Dmaic
 
CAPA Decision
CAPA DecisionCAPA Decision
CAPA Decision
 
Functional to Visual: AI-powered UI Testing from Testim and Applitools
Functional to Visual: AI-powered UI Testing from Testim and ApplitoolsFunctional to Visual: AI-powered UI Testing from Testim and Applitools
Functional to Visual: AI-powered UI Testing from Testim and Applitools
 
A3 problem solving technique by Mr. Anup Gandhi
A3 problem solving technique by Mr. Anup GandhiA3 problem solving technique by Mr. Anup Gandhi
A3 problem solving technique by Mr. Anup Gandhi
 
Verification & Validation
Verification & ValidationVerification & Validation
Verification & Validation
 
Quality Metrics- Dr.A. Amsavel.pptx
Quality Metrics- Dr.A. Amsavel.pptxQuality Metrics- Dr.A. Amsavel.pptx
Quality Metrics- Dr.A. Amsavel.pptx
 
SIX SIGMA Green Belt Training
SIX SIGMA Green Belt TrainingSIX SIGMA Green Belt Training
SIX SIGMA Green Belt Training
 
Quality management and quality planning
Quality management and quality planningQuality management and quality planning
Quality management and quality planning
 
Problem solving preview
Problem solving previewProblem solving preview
Problem solving preview
 
Testing of artificial intelligence; AI quality engineering skils - an introdu...
Testing of artificial intelligence; AI quality engineering skils - an introdu...Testing of artificial intelligence; AI quality engineering skils - an introdu...
Testing of artificial intelligence; AI quality engineering skils - an introdu...
 
Quality Assurance Activities And Processes PowerPoint Presentation Slides
Quality Assurance Activities And Processes PowerPoint Presentation Slides Quality Assurance Activities And Processes PowerPoint Presentation Slides
Quality Assurance Activities And Processes PowerPoint Presentation Slides
 
Fundamentals OF UAT
Fundamentals OF UATFundamentals OF UAT
Fundamentals OF UAT
 
Key elements of lean sigma
Key elements of lean sigmaKey elements of lean sigma
Key elements of lean sigma
 
Testing & Quality Assurance
Testing & Quality AssuranceTesting & Quality Assurance
Testing & Quality Assurance
 
The Implementation of QMS in construction industry
The Implementation of QMS in construction industryThe Implementation of QMS in construction industry
The Implementation of QMS in construction industry
 
Testing Tools with AI
Testing Tools with AITesting Tools with AI
Testing Tools with AI
 
Kaizen PDCA Cycle Process PowerPoint Presentation Slides
Kaizen PDCA Cycle Process PowerPoint Presentation Slides Kaizen PDCA Cycle Process PowerPoint Presentation Slides
Kaizen PDCA Cycle Process PowerPoint Presentation Slides
 
Plan-Do-Check-Act (P-D-C-A)
Plan-Do-Check-Act (P-D-C-A)Plan-Do-Check-Act (P-D-C-A)
Plan-Do-Check-Act (P-D-C-A)
 
Operating Excellence is built on Corrective & Preventive Actions
Operating Excellence is built on Corrective & Preventive ActionsOperating Excellence is built on Corrective & Preventive Actions
Operating Excellence is built on Corrective & Preventive Actions
 
Business Analysis
Business AnalysisBusiness Analysis
Business Analysis
 

En vedette

Machine learning in software testing
Machine learning in software testingMachine learning in software testing
Machine learning in software testingThoughtworks
 
Predictive Analytics in Software Testing
Predictive Analytics in Software TestingPredictive Analytics in Software Testing
Predictive Analytics in Software TestingPavan Kumar Kodedela
 
Automated testing of software applications using machine learning edited
Automated testing of software applications using machine learning   editedAutomated testing of software applications using machine learning   edited
Automated testing of software applications using machine learning editedMilind Kelkar
 
Build FAST with parallel_calabash
Build FAST with parallel_calabashBuild FAST with parallel_calabash
Build FAST with parallel_calabashThoughtworks
 
EXTENT-2016: The Future of Software Testing
EXTENT-2016:	 The Future of Software TestingEXTENT-2016:	 The Future of Software Testing
EXTENT-2016: The Future of Software TestingIosif Itkin
 
Artificial intelligence in software engineering ppt.
Artificial intelligence in software engineering ppt.Artificial intelligence in software engineering ppt.
Artificial intelligence in software engineering ppt.Pradeep Vishwakarma
 
Automated Test Outlook 2017
Automated Test Outlook 2017Automated Test Outlook 2017
Automated Test Outlook 2017Hank Lydick
 
The Total Economic Impact of Using ThoughtWorks' Agile Development Approach
The Total Economic Impact of Using ThoughtWorks' Agile Development ApproachThe Total Economic Impact of Using ThoughtWorks' Agile Development Approach
The Total Economic Impact of Using ThoughtWorks' Agile Development ApproachThoughtworks
 
The Total Economic Impact of Using ThoughtWorks' Agile Development Approach
The Total Economic Impact of Using ThoughtWorks' Agile Development ApproachThe Total Economic Impact of Using ThoughtWorks' Agile Development Approach
The Total Economic Impact of Using ThoughtWorks' Agile Development ApproachThoughtworks
 
Total Economic Impact of ThoughtWorks Distributed Agile Approach
Total Economic Impact of ThoughtWorks Distributed Agile ApproachTotal Economic Impact of ThoughtWorks Distributed Agile Approach
Total Economic Impact of ThoughtWorks Distributed Agile ApproachThoughtworks
 
The Total Economic Impact Of Using ThoughtWorks’ “Distributed Agile” Approach
The Total Economic Impact Of Using ThoughtWorks’ “Distributed Agile” ApproachThe Total Economic Impact Of Using ThoughtWorks’ “Distributed Agile” Approach
The Total Economic Impact Of Using ThoughtWorks’ “Distributed Agile” ApproachThoughtworks
 
Testing machine learning, learning machine testing. EuroSTAR 2016 Rik Marselis
Testing machine learning, learning machine testing. EuroSTAR 2016 Rik MarselisTesting machine learning, learning machine testing. EuroSTAR 2016 Rik Marselis
Testing machine learning, learning machine testing. EuroSTAR 2016 Rik MarselisRik Marselis
 
Brateste 2103: Virtualização de Serviços para uma Nova Abordagem em testes
Brateste 2103:  Virtualização de Serviços para uma Nova Abordagem em testesBrateste 2103:  Virtualização de Serviços para uma Nova Abordagem em testes
Brateste 2103: Virtualização de Serviços para uma Nova Abordagem em testesananegrello
 
TDC2012 - Fábrica de Testes usufruindo da integração de Ferramentas ALM e Ges...
TDC2012 - Fábrica de Testes usufruindo da integração de Ferramentas ALM e Ges...TDC2012 - Fábrica de Testes usufruindo da integração de Ferramentas ALM e Ges...
TDC2012 - Fábrica de Testes usufruindo da integração de Ferramentas ALM e Ges...Diraci Junior Trindade da Silva
 
Recent Advances in Machine Learning: Bringing a New Level of Intelligence to ...
Recent Advances in Machine Learning: Bringing a New Level of Intelligence to ...Recent Advances in Machine Learning: Bringing a New Level of Intelligence to ...
Recent Advances in Machine Learning: Bringing a New Level of Intelligence to ...Brocade
 
Modeling and simulation of the induction motor feed by matrix converter
Modeling and simulation of the induction motor feed by matrix converterModeling and simulation of the induction motor feed by matrix converter
Modeling and simulation of the induction motor feed by matrix converterAnurag Choudhary
 
IOT Talking to Webserver - how to
IOT Talking to Webserver - how to IOT Talking to Webserver - how to
IOT Talking to Webserver - how to Indraneel Ganguli
 

En vedette (20)

Machine learning in software testing
Machine learning in software testingMachine learning in software testing
Machine learning in software testing
 
Predictive Analytics in Software Testing
Predictive Analytics in Software TestingPredictive Analytics in Software Testing
Predictive Analytics in Software Testing
 
Automated testing of software applications using machine learning edited
Automated testing of software applications using machine learning   editedAutomated testing of software applications using machine learning   edited
Automated testing of software applications using machine learning edited
 
Build FAST with parallel_calabash
Build FAST with parallel_calabashBuild FAST with parallel_calabash
Build FAST with parallel_calabash
 
EXTENT-2016: The Future of Software Testing
EXTENT-2016:	 The Future of Software TestingEXTENT-2016:	 The Future of Software Testing
EXTENT-2016: The Future of Software Testing
 
Artificial intelligence in software engineering ppt.
Artificial intelligence in software engineering ppt.Artificial intelligence in software engineering ppt.
Artificial intelligence in software engineering ppt.
 
Automated Test Outlook 2017
Automated Test Outlook 2017Automated Test Outlook 2017
Automated Test Outlook 2017
 
The Total Economic Impact of Using ThoughtWorks' Agile Development Approach
The Total Economic Impact of Using ThoughtWorks' Agile Development ApproachThe Total Economic Impact of Using ThoughtWorks' Agile Development Approach
The Total Economic Impact of Using ThoughtWorks' Agile Development Approach
 
The Total Economic Impact of Using ThoughtWorks' Agile Development Approach
The Total Economic Impact of Using ThoughtWorks' Agile Development ApproachThe Total Economic Impact of Using ThoughtWorks' Agile Development Approach
The Total Economic Impact of Using ThoughtWorks' Agile Development Approach
 
Total Economic Impact of ThoughtWorks Distributed Agile Approach
Total Economic Impact of ThoughtWorks Distributed Agile ApproachTotal Economic Impact of ThoughtWorks Distributed Agile Approach
Total Economic Impact of ThoughtWorks Distributed Agile Approach
 
The Total Economic Impact Of Using ThoughtWorks’ “Distributed Agile” Approach
The Total Economic Impact Of Using ThoughtWorks’ “Distributed Agile” ApproachThe Total Economic Impact Of Using ThoughtWorks’ “Distributed Agile” Approach
The Total Economic Impact Of Using ThoughtWorks’ “Distributed Agile” Approach
 
Testing machine learning, learning machine testing. EuroSTAR 2016 Rik Marselis
Testing machine learning, learning machine testing. EuroSTAR 2016 Rik MarselisTesting machine learning, learning machine testing. EuroSTAR 2016 Rik Marselis
Testing machine learning, learning machine testing. EuroSTAR 2016 Rik Marselis
 
Archivo - XIII Reunion Anual
Archivo - XIII Reunion AnualArchivo - XIII Reunion Anual
Archivo - XIII Reunion Anual
 
Brateste 2103: Virtualização de Serviços para uma Nova Abordagem em testes
Brateste 2103:  Virtualização de Serviços para uma Nova Abordagem em testesBrateste 2103:  Virtualização de Serviços para uma Nova Abordagem em testes
Brateste 2103: Virtualização de Serviços para uma Nova Abordagem em testes
 
1-3-phacMC Pres-EDAS
1-3-phacMC Pres-EDAS1-3-phacMC Pres-EDAS
1-3-phacMC Pres-EDAS
 
TDC2012 - Fábrica de Testes usufruindo da integração de Ferramentas ALM e Ges...
TDC2012 - Fábrica de Testes usufruindo da integração de Ferramentas ALM e Ges...TDC2012 - Fábrica de Testes usufruindo da integração de Ferramentas ALM e Ges...
TDC2012 - Fábrica de Testes usufruindo da integração de Ferramentas ALM e Ges...
 
Recent Advances in Machine Learning: Bringing a New Level of Intelligence to ...
Recent Advances in Machine Learning: Bringing a New Level of Intelligence to ...Recent Advances in Machine Learning: Bringing a New Level of Intelligence to ...
Recent Advances in Machine Learning: Bringing a New Level of Intelligence to ...
 
Modeling and simulation of the induction motor feed by matrix converter
Modeling and simulation of the induction motor feed by matrix converterModeling and simulation of the induction motor feed by matrix converter
Modeling and simulation of the induction motor feed by matrix converter
 
Palestra Testes Ágeis - SEMAC INF UFRGS
Palestra Testes Ágeis - SEMAC INF UFRGSPalestra Testes Ágeis - SEMAC INF UFRGS
Palestra Testes Ágeis - SEMAC INF UFRGS
 
IOT Talking to Webserver - how to
IOT Talking to Webserver - how to IOT Talking to Webserver - how to
IOT Talking to Webserver - how to
 

Similaire à AI-Powered Test Oracle Classifies Regression Testing Results

Gl istqb testing fundamentals
Gl istqb testing fundamentalsGl istqb testing fundamentals
Gl istqb testing fundamentalsPragya Rastogi
 
TEA Presentation V 0.3
TEA Presentation V 0.3TEA Presentation V 0.3
TEA Presentation V 0.3Ian McDonald
 
Pivotal Labs Open View Presentation Quality Assurance And Developer Testing
Pivotal Labs Open View Presentation Quality Assurance And Developer TestingPivotal Labs Open View Presentation Quality Assurance And Developer Testing
Pivotal Labs Open View Presentation Quality Assurance And Developer Testingguestc8adce
 
ICTSS 2010 - Iterative Software Testing Process for Scrum and Waterfall Projects
ICTSS 2010 - Iterative Software Testing Process for Scrum and Waterfall ProjectsICTSS 2010 - Iterative Software Testing Process for Scrum and Waterfall Projects
ICTSS 2010 - Iterative Software Testing Process for Scrum and Waterfall ProjectsEliane Collins
 
Adobe EyeTrackProposal
Adobe EyeTrackProposalAdobe EyeTrackProposal
Adobe EyeTrackProposalKerrys
 
A beginners guide to testing
A beginners guide to testingA beginners guide to testing
A beginners guide to testingPhilip Johnson
 
Finding latent code errors via machine learning over program ...
Finding latent code errors via machine learning over program ...Finding latent code errors via machine learning over program ...
Finding latent code errors via machine learning over program ...butest
 
Testing and Mocking Object - The Art of Mocking.
Testing and Mocking Object - The Art of Mocking.Testing and Mocking Object - The Art of Mocking.
Testing and Mocking Object - The Art of Mocking.Deepak Singhvi
 
IRJET - A Valuable and Speculative Approach to Manage the Item Testing by usi...
IRJET - A Valuable and Speculative Approach to Manage the Item Testing by usi...IRJET - A Valuable and Speculative Approach to Manage the Item Testing by usi...
IRJET - A Valuable and Speculative Approach to Manage the Item Testing by usi...IRJET Journal
 
Software Testing Introduction (Part 1)
Software Testing Introduction (Part 1)Software Testing Introduction (Part 1)
Software Testing Introduction (Part 1)Thapar Institute
 
Principles-of-SoftwareTesting.pptx
Principles-of-SoftwareTesting.pptxPrinciples-of-SoftwareTesting.pptx
Principles-of-SoftwareTesting.pptxSaba651353
 
[AnDevCon 2016] Mutation Testing for Android
[AnDevCon 2016] Mutation Testing for Android[AnDevCon 2016] Mutation Testing for Android
[AnDevCon 2016] Mutation Testing for AndroidHazem Saleh
 
Estimation techniques and software metrics
Estimation techniques and software metricsEstimation techniques and software metrics
Estimation techniques and software metricsMae Abigail Banquil
 
Software testing basic
Software testing basicSoftware testing basic
Software testing basicRohit Singh
 

Similaire à AI-Powered Test Oracle Classifies Regression Testing Results (20)

Gl istqb testing fundamentals
Gl istqb testing fundamentalsGl istqb testing fundamentals
Gl istqb testing fundamentals
 
Types of testing
Types of testingTypes of testing
Types of testing
 
TEA Presentation V 0.3
TEA Presentation V 0.3TEA Presentation V 0.3
TEA Presentation V 0.3
 
10 software testing_technique
10 software testing_technique10 software testing_technique
10 software testing_technique
 
Pivotal Labs Open View Presentation Quality Assurance And Developer Testing
Pivotal Labs Open View Presentation Quality Assurance And Developer TestingPivotal Labs Open View Presentation Quality Assurance And Developer Testing
Pivotal Labs Open View Presentation Quality Assurance And Developer Testing
 
ICTSS 2010 - Iterative Software Testing Process for Scrum and Waterfall Projects
ICTSS 2010 - Iterative Software Testing Process for Scrum and Waterfall ProjectsICTSS 2010 - Iterative Software Testing Process for Scrum and Waterfall Projects
ICTSS 2010 - Iterative Software Testing Process for Scrum and Waterfall Projects
 
Adobe EyeTrackProposal
Adobe EyeTrackProposalAdobe EyeTrackProposal
Adobe EyeTrackProposal
 
A beginners guide to testing
A beginners guide to testingA beginners guide to testing
A beginners guide to testing
 
Finding latent code errors via machine learning over program ...
Finding latent code errors via machine learning over program ...Finding latent code errors via machine learning over program ...
Finding latent code errors via machine learning over program ...
 
Ch01-whyTest.pptx
Ch01-whyTest.pptxCh01-whyTest.pptx
Ch01-whyTest.pptx
 
Software engg unit 4
Software engg unit 4 Software engg unit 4
Software engg unit 4
 
11 software testing_strategy
11 software testing_strategy11 software testing_strategy
11 software testing_strategy
 
Testing and Mocking Object - The Art of Mocking.
Testing and Mocking Object - The Art of Mocking.Testing and Mocking Object - The Art of Mocking.
Testing and Mocking Object - The Art of Mocking.
 
IRJET - A Valuable and Speculative Approach to Manage the Item Testing by usi...
IRJET - A Valuable and Speculative Approach to Manage the Item Testing by usi...IRJET - A Valuable and Speculative Approach to Manage the Item Testing by usi...
IRJET - A Valuable and Speculative Approach to Manage the Item Testing by usi...
 
Software Testing Introduction (Part 1)
Software Testing Introduction (Part 1)Software Testing Introduction (Part 1)
Software Testing Introduction (Part 1)
 
Testing concepts
Testing conceptsTesting concepts
Testing concepts
 
Principles-of-SoftwareTesting.pptx
Principles-of-SoftwareTesting.pptxPrinciples-of-SoftwareTesting.pptx
Principles-of-SoftwareTesting.pptx
 
[AnDevCon 2016] Mutation Testing for Android
[AnDevCon 2016] Mutation Testing for Android[AnDevCon 2016] Mutation Testing for Android
[AnDevCon 2016] Mutation Testing for Android
 
Estimation techniques and software metrics
Estimation techniques and software metricsEstimation techniques and software metrics
Estimation techniques and software metrics
 
Software testing basic
Software testing basicSoftware testing basic
Software testing basic
 

Dernier

Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfHyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfPrecisely
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.Curtis Poe
 
SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICESSALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICESmohitsingh558521
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebUiPathCommunity
 
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxLoriGlavin3
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionDilum Bandara
 
Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersGenerative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersRaghuram Pandurangan
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationSlibray Presentation
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenHervé Boutemy
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxLoriGlavin3
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfLoriGlavin3
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfAddepto
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteDianaGray10
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxDigital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxLoriGlavin3
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningLars Bell
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsPixlogix Infotech
 

Dernier (20)

Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfHyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.
 
SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICESSALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
 
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An Introduction
 
Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersGenerative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information Developers
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptx
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdf
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test Suite
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxDigital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine Tuning
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and Cons
 

AI-Powered Test Oracle Classifies Regression Testing Results

  • 2. Mathematical models and artificial intelligence in software testing Taras Lytvyn processes © 2012GlobalLogic Inc. 2
  • 3. Contents - What is artificial intelligence? - Problem statement in general - Analysis of recent researches & technologies - Main idea of artificial intelligence approach - Math model - Test oracle based on AI - Result evaluation and classification. Comparison tool algorithm. © 2012GlobalLogic Inc. 3
  • 4. What is artificial intelligence ? Semiotic Biological thinking, Neural networks judgment, language, emotions, creativity, etc. Intellectual mental behavior processes © 2012GlobalLogic Inc. 4
  • 5. Problem statement in general SIMPLE TEST PROCESS How well an evaluated app. conforms to its specs. 3 stages: - test data generation, - testing, Regression - result evaluation testing PROBLEM OF HIDDEN ERRORS © 2012GlobalLogic Inc. 5
  • 6. Analysis of recent researches & techs WHERE AI CAN BE USED ? - metric’s analysis - cost of testing - reliability of testing in general - optimization processes & data optimization © 2012GlobalLogic Inc. 6
  • 7. Main idea Decisions during Regression Testing MANUAL AUTOMATION Assert functions (Actual is equal/not equal to expected) Intellectual automation Decision System during Regression Testing © 2012GlobalLogic Inc. 7
  • 8. Main idea Decision System is based on artificial intelligent approach and is build on algorithm with NEURAL NETWORK usage. Neural Network training process © 2012GlobalLogic Inc. 8
  • 9. Main idea Tested inputs it works ? Software Test outputs cases Neural Trained neural network inputs Network that will emulate our SOFTWARE workability © 2012GlobalLogic Inc. 9
  • 10. Math Modeling usage The test case execution process should be presented as Complex Math Model - Neural Network needs digits (not text) - Input and output data should be normalized in specific way - Math Model will give some limitations Theorem & Limitations V ji couldn’t be empty Functions There is no intermediate step, TCE(t ji ) : Sl ji Vl ji , l k (k m) if a corresponding stage of verification exist TCP(Sl ji ) : Sl 1 ji Vl 1 ji ,...,S1 ji V1 ji , l 1. Intermediate stage of verification is possible TCP(S1 ji ) : S1 ji V1 ji . © 2012GlobalLogic Inc. 10
  • 11. AI Test Oracle Test oracle – is a classifier that shows us whether test was passed or not Tested Software Comparison Test Tool Result Cases Algorithm classifications Trained Neural Network Test oracle classify the result of test case execution © 2012GlobalLogic Inc. 11
  • 12. Result classification & Comparison Tool The Comparison Tool is employed as an independent method of comparing results from neural network and the results of the tested versions of app. App. result Neural Network result Correct Incorrect Correct 1 True Positive 2 True Negative Incorrect 4 False Negative 3 False Positive Comparison of outputs Output type Same Different Both correct ANN correct Binary Both wrong APP correct ANN correct Both Correct Continuous APP correct Both wrong Both wrong © 2012GlobalLogic Inc. 12
  • 13. Example Input Data (test case) should be NORMALIZED !!! TC Test Verification (test TC Title (test Test steps (test case id case verification) / case name) steps) / Action (№) Expected result 1. Input Regular 1. Regular Hours Hours should be 2. Input Age displayed 3. Input Rate of Pay 2. Age should be Gross Pay 1.2 4. Click Calculate displayed View 3. Rate of Pay should be displayed 4. Gross Pay should be displayed Structure of ANN is based Training phase with 50 – 5000 on Kolmogorov records Arnold approach © 2012GlobalLogic Inc. 13
  • 14. - Introduced a mathematical model describing the test case execution for software that is tested - Constructed a new algorithmic model of test oracle based on neural networks - This Model can be used in the processes of regression testing software - Comparison Tool as result analyzer was provided © 2012GlobalLogic Inc. 14
  • 15. <Q&A?> © 2012GlobalLogic Inc. 15
  • 16. Taras Lytvyn automation QC in Global Logic inc. email : taras.lytvyn@globallogic.com web: http://testers.lviv.ua/automation_blog skype: tasryk © 2012GlobalLogic Inc. 16