SlideShare a Scribd company logo
FUNDAMENTALS OF TESTING
       Hoang V. Nguyen
       startnewday85@gmail.com
       startnewday85.blogspot.com
       Dept. of Computer Science – FIT - HUA




Tester Training Course
Tester Training Course   2011
Tester Training Course   2011
Tester Training Course   2011
Tester Training Course   2011
Tester Training Course   2011
Monitoring and control
   Planning




                                  Implementation
              Analysis

                         Design




                                                                           Closure
                                                    Execution
                                                       Evaluating
                                                       exit criteria
                                                   Reporting test result




Tester Training Course                                                               2011
Tester Training Course   2011
Company Level




                                Project Level




                                         Test stage Level




Tester Training Course                                 2011
 Run a test, it fails, fault reported
    New version of software with fault “fixed”
    Re-run the same test (i.e. re-test)
        • must be exactly repeatable
        • same environment, versions (except for the software
          which has been intentionally changed!)
        • same inputs and preconditions
    If test now passes, fault has been fixed
     correctly - or has it?

Tester Training Course                                          2011
Tester Training Course   2011
 To eliminate unexpected-side effects, but
     can still exist
    Are performed:
        • after software changed, including faults fixed
        • when environment changes, even if application
          functionality not change
        • for emergency fixes(possibly a subset)
    Regression test suites
        • evolve over time
        • are run often
        • may become rather large

Tester Training Course                                     2011
Question
                         The five parts of the fundamental test process have a
                         broad chronological order. Which of the options gives
                         three different parts in the correct order?


                         Impl. & exe., planning & control, analysis & design

                         Analysis & design, eval. exit criteria & reporting, test
                         closure activities;

                         Eval. exit criteria & reporting, impl. And exe.,
                         analysis and design.

                         Eval. exit criteria & reporting, test closure activities,
                         analysis and design.




Tester Training Course                                                               2011
Question
  Which option is part of the ’implementation and
  execution’ area of the fundamental test process?



Developing the tests;


Comparing actual and expected results;


Writing a test summary;


Analysing lessons learnt for future releases.




 Tester Training Course                              2011
Question
                         As part of which test process do you determine the
                         exit criteria?



                         Test planning;


                         Test closure;


                         Evaluating exit criteria and reporting;


                         Test control.




Tester Training Course                                                        2011
Question
  Which of the following is a Major task of test
  implementation and execution?



Measuring and anslyzing results;


Reporting discrepancies as incidents;


Identifying test conditions or test requirements;


Assessing if more tests are needed.




 Tester Training Course                             2011
Question
                         Which activity in the fundamental test process
                         creates test suites for efficent test execution?



                         Implementatin and execution;


                         Planning and control;


                         Analysis and design;


                         Test closure.




Tester Training Course                                                      2011
Question
  What is the purpose of exit criteria?




To define when a test level is complete;


To determine when a test has completed;

To identify when a software system should be
retired;

To determine whether a test has passed.
Question
                         Which activities form part of test planning
                            i.   Developing test cases
                            ii. Defining the overall approach to testing
                            iii. Assigning resources
                            iv. Building the test environment
                            v. Writing test conditions

                         i, ii & iv are true; iii & v are false


                         ii & iii are true; iv & v are false


                         iv & v are true; ii & iii are false


                         i, ii & iii are true; iv & v are false




Tester Training Course                                                     2011
Question
  When a defect is detected and fixed then the
  software should be retested to confirm that the
  original defect has been successfully removed.
  This called?



Regression testing;


Maintenance testing;


Confirmation testing;


None of the above.




 Tester Training Course                             2011
Question
                          Which of the following are chracteristic of regression
                          testing
                                    i.     Regression testing is run Oly one
                                    ii.    Regression testing is used after fixes have been
                                           made
                                    iii.   Regression testing is often automated
                                    iv.    Regression testing need not be maintained

                         ii & iv


                         ii & iii


                         i, iii & iv


                         iii




Tester Training Course                                                                        2011
Question
  Which of the following is true?


Confirmation testing is testing fixes to a set of
defects and regression testing is testing to establish
whether any defects have been introduced as a
result of changes;
Confirmation testing is testing to establish whether
any defects have been introduced as a result of
changes and regression testing s testing fixes to a
set of defects;

Confirmation testing and regression testing are
both testing to establish whether any defects have
been introduced as a result of changes;

Confirmation testing and regression testing are
both testing fixes to a set of defects.


 Tester Training Course                                  2011
Question
                         The different between re-testing and regression
                         testing is



                         Re-testing is running a test again; regression testing
                         looks for unexpected side effects

                         Re-testing looks for unexpected side effects;
                         regression testing is repeating those tests

                         Re-testing is done after faults are fixed; regression
                         testing is done earlier

                         Re-testing uses different environments; regression
                         testing uses the same environment

                         Re-testing is done by developer; regression testing
                         is done by independent testers
Tester Training Course                                                            2011
Tester Training Course   2011
Tester Training Course   2011
Tester Training Course   2011
Tester Training Course   2011
Tester Training Course   2011
Tester Training Course   2011
Tester Training Course   2011
Demonstrate conformance to requirements


         Find faults


         Prove that the software is correct


         Build confidence


        Assess the software quality




Tester Training Course                             2011
 Goal: show that the system works
     correctly
      Show that the system:
          • does what it should
          • doesn’t do what it shouldn’t
      Success: the system work correctly



Tester Training Course                      2011
 Goal: show that the system fails
      Show that the system:
          • does what it shouldn’t
          • doesn’t do what it should
      Success: the system fails




Tester Training Course                    2011
Tester Training Course   2011
Tester Training Course   2011
Test your own work
      Is inefficient(30%-50% faults)
      Because:
          • same assumptions and thought processes
          • see what you meant or want to see, not what is there
          • actively want not find faults




Tester Training Course                                             2011
Independence
      Levels of dependence
          • None: tests designed by the person who wrote the
          software
          • Tests designed by a different person
          • Tests designed by someone from a different
          department or team (e.g. test team)
          • Tests designed by someone from a different
          organisation (e.g. Agency)




Tester Training Course                                         2011
• The fundamental test process
                         • Psychology of testing




Tester Training Course                                    2011

More Related Content

What's hot

Basic software-testing-concepts
Basic software-testing-conceptsBasic software-testing-concepts
Basic software-testing-conceptsmedsherb
 
Fundamentals of testing
Fundamentals of testingFundamentals of testing
Fundamentals of testing
BugRaptors
 
Seminar on Software Testing
Seminar on Software TestingSeminar on Software Testing
Seminar on Software Testing
Beat Fluri
 
Software testing ppt
Software testing pptSoftware testing ppt
Software testing ppt
Poonkodi Jayakumar
 
Software testing ppt
Software testing pptSoftware testing ppt
Software testing ppt
Heritage Institute Of Tech,India
 
Software testing-in-gurgaon
Software testing-in-gurgaonSoftware testing-in-gurgaon
Software testing-in-gurgaon
AP EDUSOFT
 
Software testing & Quality Assurance
Software testing & Quality Assurance Software testing & Quality Assurance
Software testing & Quality Assurance
Webtech Learning
 
Software Testing Life Cycle
Software Testing Life CycleSoftware Testing Life Cycle
Software Testing Life Cycle
gueste730d5
 
Software Engineering- Types of Testing
Software Engineering- Types of TestingSoftware Engineering- Types of Testing
Software Engineering- Types of Testing
Trinity Dwarka
 
Software testing and quality assurance
Software testing and quality assuranceSoftware testing and quality assurance
Software testing and quality assurance
TOPS Technologies
 
software testing for beginners
software testing for beginnerssoftware testing for beginners
software testing for beginnersBharathi Ashok
 
Test Process
Test ProcessTest Process
Test Process
tokarthik
 
Software Testing
Software TestingSoftware Testing
Software Testing
Ecaterina Moraru (Valica)
 
Software Testing Principles
Software Testing PrinciplesSoftware Testing Principles
Software Testing Principles
Kanoah
 
Software testing course - Manual
Software testing course - ManualSoftware testing course - Manual
Software testing course - Manual
Pankaj Dubey
 
Software Testing
Software TestingSoftware Testing
Software Testing
Mousmi Pawar
 
TESTING LIFE CYCLE PPT
TESTING LIFE CYCLE PPTTESTING LIFE CYCLE PPT
TESTING LIFE CYCLE PPTsuhasreddy1
 

What's hot (20)

Basic software-testing-concepts
Basic software-testing-conceptsBasic software-testing-concepts
Basic software-testing-concepts
 
Fundamentals of testing
Fundamentals of testingFundamentals of testing
Fundamentals of testing
 
Seminar on Software Testing
Seminar on Software TestingSeminar on Software Testing
Seminar on Software Testing
 
Software testing ppt
Software testing pptSoftware testing ppt
Software testing ppt
 
Software testing ppt
Software testing pptSoftware testing ppt
Software testing ppt
 
Software testing-in-gurgaon
Software testing-in-gurgaonSoftware testing-in-gurgaon
Software testing-in-gurgaon
 
Software testing & Quality Assurance
Software testing & Quality Assurance Software testing & Quality Assurance
Software testing & Quality Assurance
 
Software Testing
Software TestingSoftware Testing
Software Testing
 
Software Testing Life Cycle
Software Testing Life CycleSoftware Testing Life Cycle
Software Testing Life Cycle
 
Software Engineering- Types of Testing
Software Engineering- Types of TestingSoftware Engineering- Types of Testing
Software Engineering- Types of Testing
 
Software testing and quality assurance
Software testing and quality assuranceSoftware testing and quality assurance
Software testing and quality assurance
 
software testing for beginners
software testing for beginnerssoftware testing for beginners
software testing for beginners
 
Manual testing ppt
Manual testing pptManual testing ppt
Manual testing ppt
 
Test Process
Test ProcessTest Process
Test Process
 
Software Testing
Software TestingSoftware Testing
Software Testing
 
Software Testing Principles
Software Testing PrinciplesSoftware Testing Principles
Software Testing Principles
 
St
StSt
St
 
Software testing course - Manual
Software testing course - ManualSoftware testing course - Manual
Software testing course - Manual
 
Software Testing
Software TestingSoftware Testing
Software Testing
 
TESTING LIFE CYCLE PPT
TESTING LIFE CYCLE PPTTESTING LIFE CYCLE PPT
TESTING LIFE CYCLE PPT
 

Similar to Fundamentals of Testing 2

Test Process Maturity Measurement and Related Measurements
Test Process Maturity Measurement and Related MeasurementsTest Process Maturity Measurement and Related Measurements
Test Process Maturity Measurement and Related Measurements
STAG Software Private Limited
 
Test management
Test managementTest management
Test managementOana Feidi
 
Test Management introduction
Test Management introductionTest Management introduction
Test Management introductionOana Feidi
 
Static Testing
Static TestingStatic Testing
Static Testing
Hoang Nguyen
 
Testing & Quality Assurance
Testing & Quality AssuranceTesting & Quality Assurance
Testing & Quality Assurance
Anand Subramaniam
 
Testing Software
Testing SoftwareTesting Software
Testing Software
Sibel Kuzgun AKIN
 
Software Testing
Software TestingSoftware Testing
Qa interview questions and answers for placements
Qa interview questions and answers for placementsQa interview questions and answers for placements
Qa interview questions and answers for placements
Garuda Trainings
 
Agile testing
Agile testingAgile testing
Agile testing
Yogita patil
 
DISE - Software Testing and Quality Management
DISE - Software Testing and Quality ManagementDISE - Software Testing and Quality Management
DISE - Software Testing and Quality Management
Rasan Samarasinghe
 
Do The Right Thing - Empowering Your Test Teams
Do The Right Thing - Empowering Your Test TeamsDo The Right Thing - Empowering Your Test Teams
Do The Right Thing - Empowering Your Test Teams
SmartBear
 
Unit Testing
Unit TestingUnit Testing
Unit Testing
Gian Maria Ricci
 
Software testing and process
Software testing and processSoftware testing and process
Software testing and process
gouravkalbalia
 
A survey of software testing
A survey of software testingA survey of software testing
A survey of software testingTao He
 
Ôn tập kiến thức ISTQB
Ôn tập kiến thức ISTQBÔn tập kiến thức ISTQB
Ôn tập kiến thức ISTQB
Jenny Nguyen
 
Question ISTQB foundation 3
Question ISTQB foundation 3Question ISTQB foundation 3
Question ISTQB foundation 3Jenny Nguyen
 
Software Testing Life Cycle (STLC) | Software Testing Tutorial | Edureka
Software Testing Life Cycle (STLC) | Software Testing Tutorial | EdurekaSoftware Testing Life Cycle (STLC) | Software Testing Tutorial | Edureka
Software Testing Life Cycle (STLC) | Software Testing Tutorial | Edureka
Edureka!
 
CurrieTesting.ppt
CurrieTesting.pptCurrieTesting.ppt
CurrieTesting.ppt
AkshayK706991
 

Similar to Fundamentals of Testing 2 (20)

test
testtest
test
 
test
testtest
test
 
Test Process Maturity Measurement and Related Measurements
Test Process Maturity Measurement and Related MeasurementsTest Process Maturity Measurement and Related Measurements
Test Process Maturity Measurement and Related Measurements
 
Test management
Test managementTest management
Test management
 
Test Management introduction
Test Management introductionTest Management introduction
Test Management introduction
 
Static Testing
Static TestingStatic Testing
Static Testing
 
Testing & Quality Assurance
Testing & Quality AssuranceTesting & Quality Assurance
Testing & Quality Assurance
 
Testing Software
Testing SoftwareTesting Software
Testing Software
 
Software Testing
Software TestingSoftware Testing
Software Testing
 
Qa interview questions and answers for placements
Qa interview questions and answers for placementsQa interview questions and answers for placements
Qa interview questions and answers for placements
 
Agile testing
Agile testingAgile testing
Agile testing
 
DISE - Software Testing and Quality Management
DISE - Software Testing and Quality ManagementDISE - Software Testing and Quality Management
DISE - Software Testing and Quality Management
 
Do The Right Thing - Empowering Your Test Teams
Do The Right Thing - Empowering Your Test TeamsDo The Right Thing - Empowering Your Test Teams
Do The Right Thing - Empowering Your Test Teams
 
Unit Testing
Unit TestingUnit Testing
Unit Testing
 
Software testing and process
Software testing and processSoftware testing and process
Software testing and process
 
A survey of software testing
A survey of software testingA survey of software testing
A survey of software testing
 
Ôn tập kiến thức ISTQB
Ôn tập kiến thức ISTQBÔn tập kiến thức ISTQB
Ôn tập kiến thức ISTQB
 
Question ISTQB foundation 3
Question ISTQB foundation 3Question ISTQB foundation 3
Question ISTQB foundation 3
 
Software Testing Life Cycle (STLC) | Software Testing Tutorial | Edureka
Software Testing Life Cycle (STLC) | Software Testing Tutorial | EdurekaSoftware Testing Life Cycle (STLC) | Software Testing Tutorial | Edureka
Software Testing Life Cycle (STLC) | Software Testing Tutorial | Edureka
 
CurrieTesting.ppt
CurrieTesting.pptCurrieTesting.ppt
CurrieTesting.ppt
 

More from Hoang Nguyen

GANs and Applications
GANs and ApplicationsGANs and Applications
GANs and Applications
Hoang Nguyen
 
Scrum - An introduction
Scrum - An introductionScrum - An introduction
Scrum - An introduction
Hoang Nguyen
 
ORM in Django
ORM in DjangoORM in Django
ORM in Django
Hoang Nguyen
 
Introduction to Cross-platform App Development
Introduction to Cross-platform App DevelopmentIntroduction to Cross-platform App Development
Introduction to Cross-platform App Development
Hoang Nguyen
 
Conistency of random forests
Conistency of random forestsConistency of random forests
Conistency of random forests
Hoang Nguyen
 
Trust - Digital Signature
Trust - Digital SignatureTrust - Digital Signature
Trust - Digital Signature
Hoang Nguyen
 
Key Exchange
Key ExchangeKey Exchange
Key Exchange
Hoang Nguyen
 
SOME SECURITY CHALLENGES IN CLOUD COMPUTING
SOME SECURITY CHALLENGES  IN CLOUD COMPUTINGSOME SECURITY CHALLENGES  IN CLOUD COMPUTING
SOME SECURITY CHALLENGES IN CLOUD COMPUTINGHoang Nguyen
 
Stream ciphers
Stream ciphersStream ciphers
Stream ciphers
Hoang Nguyen
 
Confidentiality
ConfidentialityConfidentiality
Confidentiality
Hoang Nguyen
 
Information, Data and Decision Making
Information, Data and Decision MakingInformation, Data and Decision Making
Information, Data and Decision Making
Hoang Nguyen
 
Multiple processor systems
Multiple processor systemsMultiple processor systems
Multiple processor systemsHoang Nguyen
 
Multiprocessor Systems
Multiprocessor SystemsMultiprocessor Systems
Multiprocessor SystemsHoang Nguyen
 
Introduction to AOS course
Introduction to AOS courseIntroduction to AOS course
Introduction to AOS course
Hoang Nguyen
 
Background Knowledge
Background KnowledgeBackground Knowledge
Background Knowledge
Hoang Nguyen
 
Introduction to Information Security Course
Introduction to Information Security CourseIntroduction to Information Security Course
Introduction to Information Security Course
Hoang Nguyen
 
Introduction to CNS Course
Introduction to CNS CourseIntroduction to CNS Course
Introduction to CNS Course
Hoang Nguyen
 
Dynamic Testing
Dynamic TestingDynamic Testing
Dynamic Testing
Hoang Nguyen
 
Nosql intro
Nosql introNosql intro
Nosql intro
Hoang Nguyen
 

More from Hoang Nguyen (20)

GANs and Applications
GANs and ApplicationsGANs and Applications
GANs and Applications
 
Scrum - An introduction
Scrum - An introductionScrum - An introduction
Scrum - An introduction
 
ORM in Django
ORM in DjangoORM in Django
ORM in Django
 
Introduction to Cross-platform App Development
Introduction to Cross-platform App DevelopmentIntroduction to Cross-platform App Development
Introduction to Cross-platform App Development
 
Conistency of random forests
Conistency of random forestsConistency of random forests
Conistency of random forests
 
Trust - Digital Signature
Trust - Digital SignatureTrust - Digital Signature
Trust - Digital Signature
 
Key Exchange
Key ExchangeKey Exchange
Key Exchange
 
SOME SECURITY CHALLENGES IN CLOUD COMPUTING
SOME SECURITY CHALLENGES  IN CLOUD COMPUTINGSOME SECURITY CHALLENGES  IN CLOUD COMPUTING
SOME SECURITY CHALLENGES IN CLOUD COMPUTING
 
Stream ciphers
Stream ciphersStream ciphers
Stream ciphers
 
Classical ciphers
Classical ciphersClassical ciphers
Classical ciphers
 
Confidentiality
ConfidentialityConfidentiality
Confidentiality
 
Information, Data and Decision Making
Information, Data and Decision MakingInformation, Data and Decision Making
Information, Data and Decision Making
 
Multiple processor systems
Multiple processor systemsMultiple processor systems
Multiple processor systems
 
Multiprocessor Systems
Multiprocessor SystemsMultiprocessor Systems
Multiprocessor Systems
 
Introduction to AOS course
Introduction to AOS courseIntroduction to AOS course
Introduction to AOS course
 
Background Knowledge
Background KnowledgeBackground Knowledge
Background Knowledge
 
Introduction to Information Security Course
Introduction to Information Security CourseIntroduction to Information Security Course
Introduction to Information Security Course
 
Introduction to CNS Course
Introduction to CNS CourseIntroduction to CNS Course
Introduction to CNS Course
 
Dynamic Testing
Dynamic TestingDynamic Testing
Dynamic Testing
 
Nosql intro
Nosql introNosql intro
Nosql intro
 

Recently uploaded

The Future of Platform Engineering
The Future of Platform EngineeringThe Future of Platform Engineering
The Future of Platform Engineering
Jemma Hussein Allen
 
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdfFIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance
 
Assure Contact Center Experiences for Your Customers With ThousandEyes
Assure Contact Center Experiences for Your Customers With ThousandEyesAssure Contact Center Experiences for Your Customers With ThousandEyes
Assure Contact Center Experiences for Your Customers With ThousandEyes
ThousandEyes
 
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Thierry Lestable
 
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdfSmart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
91mobiles
 
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdfFIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance
 
PCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase TeamPCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase Team
ControlCase
 
DevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA ConnectDevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA Connect
Kari Kakkonen
 
Elizabeth Buie - Older adults: Are we really designing for our future selves?
Elizabeth Buie - Older adults: Are we really designing for our future selves?Elizabeth Buie - Older adults: Are we really designing for our future selves?
Elizabeth Buie - Older adults: Are we really designing for our future selves?
Nexer Digital
 
Quantum Computing: Current Landscape and the Future Role of APIs
Quantum Computing: Current Landscape and the Future Role of APIsQuantum Computing: Current Landscape and the Future Role of APIs
Quantum Computing: Current Landscape and the Future Role of APIs
Vlad Stirbu
 
UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3
DianaGray10
 
Leading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdfLeading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdf
OnBoard
 
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Product School
 
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Albert Hoitingh
 
Monitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR EventsMonitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR Events
Ana-Maria Mihalceanu
 
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Ramesh Iyer
 
Assuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyesAssuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyes
ThousandEyes
 
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 previewState of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
Prayukth K V
 
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
UiPathCommunity
 
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdfFIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance
 

Recently uploaded (20)

The Future of Platform Engineering
The Future of Platform EngineeringThe Future of Platform Engineering
The Future of Platform Engineering
 
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdfFIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
 
Assure Contact Center Experiences for Your Customers With ThousandEyes
Assure Contact Center Experiences for Your Customers With ThousandEyesAssure Contact Center Experiences for Your Customers With ThousandEyes
Assure Contact Center Experiences for Your Customers With ThousandEyes
 
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
 
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdfSmart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
 
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdfFIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
 
PCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase TeamPCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase Team
 
DevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA ConnectDevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA Connect
 
Elizabeth Buie - Older adults: Are we really designing for our future selves?
Elizabeth Buie - Older adults: Are we really designing for our future selves?Elizabeth Buie - Older adults: Are we really designing for our future selves?
Elizabeth Buie - Older adults: Are we really designing for our future selves?
 
Quantum Computing: Current Landscape and the Future Role of APIs
Quantum Computing: Current Landscape and the Future Role of APIsQuantum Computing: Current Landscape and the Future Role of APIs
Quantum Computing: Current Landscape and the Future Role of APIs
 
UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3
 
Leading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdfLeading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdf
 
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
 
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
 
Monitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR EventsMonitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR Events
 
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
 
Assuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyesAssuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyes
 
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 previewState of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
 
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
 
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdfFIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdf
 

Fundamentals of Testing 2

  • 1. FUNDAMENTALS OF TESTING Hoang V. Nguyen startnewday85@gmail.com startnewday85.blogspot.com Dept. of Computer Science – FIT - HUA Tester Training Course
  • 7. Monitoring and control Planning Implementation Analysis Design Closure Execution Evaluating exit criteria Reporting test result Tester Training Course 2011
  • 9. Company Level Project Level Test stage Level Tester Training Course 2011
  • 10.  Run a test, it fails, fault reported  New version of software with fault “fixed”  Re-run the same test (i.e. re-test) • must be exactly repeatable • same environment, versions (except for the software which has been intentionally changed!) • same inputs and preconditions  If test now passes, fault has been fixed correctly - or has it? Tester Training Course 2011
  • 11.
  • 13.  To eliminate unexpected-side effects, but can still exist  Are performed: • after software changed, including faults fixed • when environment changes, even if application functionality not change • for emergency fixes(possibly a subset)  Regression test suites • evolve over time • are run often • may become rather large Tester Training Course 2011
  • 14. Question The five parts of the fundamental test process have a broad chronological order. Which of the options gives three different parts in the correct order? Impl. & exe., planning & control, analysis & design Analysis & design, eval. exit criteria & reporting, test closure activities; Eval. exit criteria & reporting, impl. And exe., analysis and design. Eval. exit criteria & reporting, test closure activities, analysis and design. Tester Training Course 2011
  • 15. Question Which option is part of the ’implementation and execution’ area of the fundamental test process? Developing the tests; Comparing actual and expected results; Writing a test summary; Analysing lessons learnt for future releases. Tester Training Course 2011
  • 16. Question As part of which test process do you determine the exit criteria? Test planning; Test closure; Evaluating exit criteria and reporting; Test control. Tester Training Course 2011
  • 17. Question Which of the following is a Major task of test implementation and execution? Measuring and anslyzing results; Reporting discrepancies as incidents; Identifying test conditions or test requirements; Assessing if more tests are needed. Tester Training Course 2011
  • 18. Question Which activity in the fundamental test process creates test suites for efficent test execution? Implementatin and execution; Planning and control; Analysis and design; Test closure. Tester Training Course 2011
  • 19. Question What is the purpose of exit criteria? To define when a test level is complete; To determine when a test has completed; To identify when a software system should be retired; To determine whether a test has passed.
  • 20. Question Which activities form part of test planning i. Developing test cases ii. Defining the overall approach to testing iii. Assigning resources iv. Building the test environment v. Writing test conditions i, ii & iv are true; iii & v are false ii & iii are true; iv & v are false iv & v are true; ii & iii are false i, ii & iii are true; iv & v are false Tester Training Course 2011
  • 21. Question When a defect is detected and fixed then the software should be retested to confirm that the original defect has been successfully removed. This called? Regression testing; Maintenance testing; Confirmation testing; None of the above. Tester Training Course 2011
  • 22. Question Which of the following are chracteristic of regression testing i. Regression testing is run Oly one ii. Regression testing is used after fixes have been made iii. Regression testing is often automated iv. Regression testing need not be maintained ii & iv ii & iii i, iii & iv iii Tester Training Course 2011
  • 23. Question Which of the following is true? Confirmation testing is testing fixes to a set of defects and regression testing is testing to establish whether any defects have been introduced as a result of changes; Confirmation testing is testing to establish whether any defects have been introduced as a result of changes and regression testing s testing fixes to a set of defects; Confirmation testing and regression testing are both testing to establish whether any defects have been introduced as a result of changes; Confirmation testing and regression testing are both testing fixes to a set of defects. Tester Training Course 2011
  • 24. Question The different between re-testing and regression testing is Re-testing is running a test again; regression testing looks for unexpected side effects Re-testing looks for unexpected side effects; regression testing is repeating those tests Re-testing is done after faults are fixed; regression testing is done earlier Re-testing uses different environments; regression testing uses the same environment Re-testing is done by developer; regression testing is done by independent testers Tester Training Course 2011
  • 32. Demonstrate conformance to requirements Find faults Prove that the software is correct Build confidence Assess the software quality Tester Training Course 2011
  • 33.  Goal: show that the system works correctly  Show that the system: • does what it should • doesn’t do what it shouldn’t  Success: the system work correctly Tester Training Course 2011
  • 34.  Goal: show that the system fails  Show that the system: • does what it shouldn’t • doesn’t do what it should  Success: the system fails Tester Training Course 2011
  • 37. Test your own work  Is inefficient(30%-50% faults)  Because: • same assumptions and thought processes • see what you meant or want to see, not what is there • actively want not find faults Tester Training Course 2011
  • 38. Independence  Levels of dependence • None: tests designed by the person who wrote the software • Tests designed by a different person • Tests designed by someone from a different department or team (e.g. test team) • Tests designed by someone from a different organisation (e.g. Agency) Tester Training Course 2011
  • 39. • The fundamental test process • Psychology of testing Tester Training Course 2011