SlideShare une entreprise Scribd logo
1  sur  28
FUNDAMENTAL OF TESTING
AHMED AL ZAIDY
FUNDAMENTAL OF TESTING
• Why is testing necessary?
• What is testing?
• General testing principles
• Fundamental test process
• The psychology of testing
• Code of ethics
Test Planning and Control
Test Analysis and Design
Test Implementation and
execution
Evaluating exit criteria and
reporting
Test Closure activities
WHY IS TESTING
NECESSARY?
• Human make mistakes
• Mistakes – unimportant,
expensive or dangerous
• Must check – some things can
always go wrong
• Mistakes may comes from:
• Bad assumption
• Blind spot
SOFTWARE SYSTEMS CONTEXT
• Software that did not work as expected?
• Error on a bill, delay on credit card processing, website that did not load correctly etc.
• Different software carry different level of risk
• Problems – trivial, costly and damaging (loss of money, time or business reputation, or results in injury
or death
RISK: A factor that could result in future negative
consequences; usually expressed as impact and likelihood
CAUSES OF SOFTWARE DEFECTS
• People who design or build the software can make mistakes
• Mistakes means flaws in the software => defects/bugs/faults
• Defects may caused system to fail to do what it should do (or do something
it shouldn’t) => causing failure
Error
(Mistakes)
Defects
(Bugs/Faults)
Failure
DO OUR MISTAKES MATTER?
• Think about the consequences of mistakes…
• Human being, programmer, tester => can make error
• Error => defects => defect code executed => systems failure
• Systems and project are complicated
DEFECTS & FAILURES
• Errors in specifications, design and implementation
• Errors in use of the systems
• Environmental conditions
• Intentional damage
• Potential consequences of earlier errors, intentional damage, defects and failures
WHEN DO DEFECTS ARISE?
Requirement 1
Correct requirement
Designed to meet
requirement
Build to meet design
Product works as
expected
Requirement 2
Correct requirement
Designed to meet
requirement
Mistakes
made in build
Product
has bugs in it
WHEN DO DEFECTS ARISE?
Requirement 3
Correct requirement
Mistake made in
design
Built to meet
design
Product has design
flaws
Requirement 4
Mistakes made in
requirement
Design to meet requirement
Built to meet design
Wrong product delivered
WHAT IS COST OF DEFECTS?
• The cost of finding and fixing the defects rises considerably across the life
cycle
Cost
Time
Requirements Design Build Test Live use
ROLE OF TESTING IN SOFTWARE DEVELOPMENT,
MAINTENANCE & OPERATIONS
• We have seen human errors can caused defect or fault at any stage of software development life-cycle
• Rigorous testing is necessary during the maintenance & development to identify defects => to reduce
failures in operational environment
• To increase quality of operational systems
• Executing tests helps us move towards improved quality of product and services
TESTING & QUALITY
• Testing helps us to measure quality of software in terms of:
• The number of defects found
• The number of tests run
• The system covered by the test
• Both functional and non-functional software requirements
• Testing gives us confidence in quality
• Poor test may uncover few defects
WHAT IS QUALITY?
• Project aim to deliver software that meet customer needs & correct specification
• Validation – “ is this the right specification”
• Verification – “is the system correct to specification”
• Need to understand what customer understand by quality and what their expectation are
WHAT IS ROOT CAUSE ANALYSIS?
• Detect failures => track them back to their root cause
• Several ways & involving a group brainstorming ideas and discussion
• Assignment #1:
• Find 3 ways to do Root Cause Analysis.
• Discuss how it works.
HOW MUCH TESTING IS ENOUGH?
• We have a choice:
• Test everything?
• Test nothing?
• Test some part?
• Example: One-digit field – how many test is enough?
• Real example: one screen with 15 input fields
• Pressures on project: time & budget
• Need test approach which provides the right amount of testing
• Risk assessment – helps to decide how much testing to do
WHAT IS TESTING?
• Recall the common objectives of testing
• What is testing? – checking if the software is OK?
• Lets discuss an analogy of: driving test
• The format of the driving test and conduct of examiner:
• The test is planned & prepared
• The test has known goals
• The test is therefore carried out to show that the driver satisfied the requirement for driving & demonstrate
that they are fit to drive
DEFINING SOFTWARE TESTING
• ISTQB definition of software testing
• Process – Testing is a process rather a single activity – there are series of activities
• All life cycle activities – software development life cycle (discuss this in Chapter 2)
• Requirements
• Design (to prevent defects introduced into code) – test via the test design
DEFINING SOFTWARE TESTING
• Both static and dynamic
• Dynamic testing – execute codes & demonstrate the results
• Static – reviewing documents including the source code
• Planning – to manage the testing: plan, control, report testing progress, close testing
• Preparation – selecting test conditions & design test cases
• Evaluation – check results and evaluate software under test & completion criteria
• Software products and related work product – not only test code, requirements & design specification
DEFINING SOFTWARE TESTING
• Objectives for testing
• Determine the software product satisfy specified requirements
• Demonstrate that the software products are fit for purpose
• Detect defects
• Objectives may be different in each stage
GENERAL TESTING PRINCIPLES
• Principle 1: Testing shows the presence of defects
• Principle 2: Exhaustive testing is impossible
• Principle 3: Early testing
• Principle 4: Defect clustering
• Principle 5: Pesticide paradox
• Principle 6: Testing is context dependent
• Principle 7: Absence-of-errors fallacy
FUNDAMENTAL TEST PROCESS
• Fundamental test process:
• Planning and control
• Analysis and design
• Implementation and execution
• Evaluation exit criteria and reporting
• Test closure activities
TEST PLANNING AND CONTROL
• We make sure we understand the goal and objectives of the customer, stakeholders, the project and the
risks
• Based on the understanding, we set the goal & objectives for the testing itself
• To help us, we may have:
• Test policies – rules for testing
• Test strategy – Overall high-level approach
TEST PLANNING AND CONTROL
• Test planning has the following major task:
• Determine the scope and risks; Identify the objectives of testing
• Determine the test approach (techniques, test items, coverage, identifying and
interfacing the teams involve in testing, testware)
• Implement the test policy and/or the test strategy
• Determine the required test resources (people, test environment, PCs)
• Schedule test analysis and design tasks, test implementation, execution and
evaluation
• Determine the exit criteria
TEST PLANNING AND CONTROL
• Test control is an on-going activity
• We compare the actual progress with planned progress
• Test control has the following major tasks:
• Measure & analyze the results of reviews and testing
• Monitor and document progress
• Provide information on testing
• Initiate corrective actions
• Make decisions
TEST ANALYSIS AND DESIGN
• Test analysis and design has the following major tasks:
• Review the test basis (product risk analysis, requirements, architecture, design specification and interface)
• Identify test conditions (behavior and structure)
• Design the test (Chapter 4)
• Evaluate testability of the requirements and systems
• Design the test environment set-up and identify any required infrastructure and tools
TEST IMPLEMENTATION AND EXECUTION
• Implementation:
• We take the test conditions and make them into test cases and set up the test environment
• Having the high-level design – we now build them
• We set up the environment
• Build our test data
• Execution:
• Execute the test cases
• Log the outcome of test execution
• Compare actual result with expected result
EVALUATING EXIT CRITERIA AND REPORTING
• Is an activity where test execution is assessed against the defined objectives
• Evaluating exit criteria involve following major tasks:
• Check the test logs against the exit criteria
• Assess if more test needed
• Write a test summary report
THANK YOU!
SOMEONE@EXAMPLE.COM

Contenu connexe

Tendances

Chapter 6 - Transitioning Manual Testing to an Automation Environment
Chapter 6 - Transitioning Manual Testing to an Automation EnvironmentChapter 6 - Transitioning Manual Testing to an Automation Environment
Chapter 6 - Transitioning Manual Testing to an Automation EnvironmentNeeraj Kumar Singh
 
Chapter 2 - Fundamental Agile Testing Principle, Practices & Process
Chapter 2 - Fundamental Agile Testing Principle, Practices & ProcessChapter 2 - Fundamental Agile Testing Principle, Practices & Process
Chapter 2 - Fundamental Agile Testing Principle, Practices & ProcessNeeraj Kumar Singh
 
Requirements Based Testing
Requirements Based TestingRequirements Based Testing
Requirements Based TestingSSA KPI
 
Software Reliability Testing Training Crash Course - Tonex Training
Software Reliability Testing Training Crash Course - Tonex TrainingSoftware Reliability Testing Training Crash Course - Tonex Training
Software Reliability Testing Training Crash Course - Tonex TrainingBryan Len
 
Chapter 6 - Test Tools and Automation
Chapter 6 - Test Tools and AutomationChapter 6 - Test Tools and Automation
Chapter 6 - Test Tools and AutomationNeeraj Kumar Singh
 
Testing Throughout the Software Life Cycle (2013)
Testing Throughout the Software Life Cycle (2013)Testing Throughout the Software Life Cycle (2013)
Testing Throughout the Software Life Cycle (2013)Jana Gierloff
 
Non-functional Testing (NFT) Overview
Non-functional Testing (NFT) Overview Non-functional Testing (NFT) Overview
Non-functional Testing (NFT) Overview Assaf Halperin
 
Chapter 13 software testing strategies
Chapter 13 software testing strategiesChapter 13 software testing strategies
Chapter 13 software testing strategiesSHREEHARI WADAWADAGI
 
Chapter 4 - Performance Testing Tasks
Chapter 4 - Performance Testing TasksChapter 4 - Performance Testing Tasks
Chapter 4 - Performance Testing TasksNeeraj Kumar Singh
 
2 testing throughout software lifecycle
2 testing throughout software lifecycle2 testing throughout software lifecycle
2 testing throughout software lifecycleAsmaa Matar
 
Ch15 software reliability
Ch15 software reliabilityCh15 software reliability
Ch15 software reliabilityAbraham Paul
 

Tendances (20)

Istqb chapter 5
Istqb chapter 5Istqb chapter 5
Istqb chapter 5
 
Chapter 6 - Transitioning Manual Testing to an Automation Environment
Chapter 6 - Transitioning Manual Testing to an Automation EnvironmentChapter 6 - Transitioning Manual Testing to an Automation Environment
Chapter 6 - Transitioning Manual Testing to an Automation Environment
 
Chapter 5 - Test Management
Chapter 5 - Test ManagementChapter 5 - Test Management
Chapter 5 - Test Management
 
Sdlc
SdlcSdlc
Sdlc
 
Chapter 2 - Fundamental Agile Testing Principle, Practices & Process
Chapter 2 - Fundamental Agile Testing Principle, Practices & ProcessChapter 2 - Fundamental Agile Testing Principle, Practices & Process
Chapter 2 - Fundamental Agile Testing Principle, Practices & Process
 
Requirements Based Testing
Requirements Based TestingRequirements Based Testing
Requirements Based Testing
 
Unit4 for st.pdf
Unit4 for st.pdfUnit4 for st.pdf
Unit4 for st.pdf
 
Software Reliability Testing Training Crash Course - Tonex Training
Software Reliability Testing Training Crash Course - Tonex TrainingSoftware Reliability Testing Training Crash Course - Tonex Training
Software Reliability Testing Training Crash Course - Tonex Training
 
Chapter 6 - Test Tools and Automation
Chapter 6 - Test Tools and AutomationChapter 6 - Test Tools and Automation
Chapter 6 - Test Tools and Automation
 
Chapter 7 - Verifying the TAS
Chapter 7 - Verifying the TASChapter 7 - Verifying the TAS
Chapter 7 - Verifying the TAS
 
Testing Throughout the Software Life Cycle (2013)
Testing Throughout the Software Life Cycle (2013)Testing Throughout the Software Life Cycle (2013)
Testing Throughout the Software Life Cycle (2013)
 
Non-functional Testing (NFT) Overview
Non-functional Testing (NFT) Overview Non-functional Testing (NFT) Overview
Non-functional Testing (NFT) Overview
 
Chapter 13 software testing strategies
Chapter 13 software testing strategiesChapter 13 software testing strategies
Chapter 13 software testing strategies
 
Chapter 4 - Performance Testing Tasks
Chapter 4 - Performance Testing TasksChapter 4 - Performance Testing Tasks
Chapter 4 - Performance Testing Tasks
 
Software reliability
Software reliabilitySoftware reliability
Software reliability
 
2 testing throughout software lifecycle
2 testing throughout software lifecycle2 testing throughout software lifecycle
2 testing throughout software lifecycle
 
Chapter 5 - Tools
Chapter 5 - ToolsChapter 5 - Tools
Chapter 5 - Tools
 
Quality & Reliability in Software Engineering
Quality & Reliability in Software EngineeringQuality & Reliability in Software Engineering
Quality & Reliability in Software Engineering
 
Ch15 software reliability
Ch15 software reliabilityCh15 software reliability
Ch15 software reliability
 
Chapter 4 - Defect Management
Chapter 4 - Defect ManagementChapter 4 - Defect Management
Chapter 4 - Defect Management
 

Similaire à Fundamental of testing

What_is_Software_Testing.pdf
What_is_Software_Testing.pdfWhat_is_Software_Testing.pdf
What_is_Software_Testing.pdfVuongPhm
 
Bab 1 Fundamentals Of Testing
Bab 1 Fundamentals Of TestingBab 1 Fundamentals Of Testing
Bab 1 Fundamentals Of Testinglolayoriva
 
Things to keep in mind before starting a test plan
Things to keep in mind before starting a test planThings to keep in mind before starting a test plan
Things to keep in mind before starting a test planNexSoftsys
 
ISTQB - CTFL Summary v1.0
ISTQB - CTFL Summary v1.0ISTQB - CTFL Summary v1.0
ISTQB - CTFL Summary v1.0Samer Desouky
 
Introduction to test for non testers
Introduction to test for non testersIntroduction to test for non testers
Introduction to test for non testersMattias Lönnqvist
 
Software quality assurance
Software quality assuranceSoftware quality assurance
Software quality assuranceRizky Munggaran
 
ISTQB CTAL - Test Analyst
ISTQB CTAL - Test AnalystISTQB CTAL - Test Analyst
ISTQB CTAL - Test AnalystSamer Desouky
 
Software testing-and-analysis
Software testing-and-analysisSoftware testing-and-analysis
Software testing-and-analysisWBUTTUTORIALS
 
Fundamentaltestprocess windirohmaheny11453205427 kelase
Fundamentaltestprocess windirohmaheny11453205427 kelaseFundamentaltestprocess windirohmaheny11453205427 kelase
Fundamentaltestprocess windirohmaheny11453205427 kelasewindi rohmaheny
 
Fundamentals of testing
Fundamentals of testingFundamentals of testing
Fundamentals of testingYAObbiIkhsan
 
Testing- Fundamentals of Testing-Mazenet solution
Testing- Fundamentals of Testing-Mazenet solutionTesting- Fundamentals of Testing-Mazenet solution
Testing- Fundamentals of Testing-Mazenet solutionMazenetsolution
 
Fundamentals of Software Quality Assurance & Testing
Fundamentals of Software Quality Assurance & TestingFundamentals of Software Quality Assurance & Testing
Fundamentals of Software Quality Assurance & Testingrongbaz
 

Similaire à Fundamental of testing (20)

Istqb foundation level day 1
Istqb foundation level   day 1Istqb foundation level   day 1
Istqb foundation level day 1
 
What_is_Software_Testing.pdf
What_is_Software_Testing.pdfWhat_is_Software_Testing.pdf
What_is_Software_Testing.pdf
 
Software Testing
Software Testing Software Testing
Software Testing
 
Bab 1 Fundamentals Of Testing
Bab 1 Fundamentals Of TestingBab 1 Fundamentals Of Testing
Bab 1 Fundamentals Of Testing
 
Things to keep in mind before starting a test plan
Things to keep in mind before starting a test planThings to keep in mind before starting a test plan
Things to keep in mind before starting a test plan
 
QA Basics and PM Overview
QA Basics and PM OverviewQA Basics and PM Overview
QA Basics and PM Overview
 
ISTQB - CTFL Summary v1.0
ISTQB - CTFL Summary v1.0ISTQB - CTFL Summary v1.0
ISTQB - CTFL Summary v1.0
 
UNIT 1.pptx
UNIT 1.pptxUNIT 1.pptx
UNIT 1.pptx
 
UNIT IV.ppt
UNIT IV.pptUNIT IV.ppt
UNIT IV.ppt
 
Software testing
Software testingSoftware testing
Software testing
 
Learn software testing
Learn software testingLearn software testing
Learn software testing
 
Introduction to test for non testers
Introduction to test for non testersIntroduction to test for non testers
Introduction to test for non testers
 
Software quality assurance
Software quality assuranceSoftware quality assurance
Software quality assurance
 
ISTQB CTAL - Test Analyst
ISTQB CTAL - Test AnalystISTQB CTAL - Test Analyst
ISTQB CTAL - Test Analyst
 
Software testing-and-analysis
Software testing-and-analysisSoftware testing-and-analysis
Software testing-and-analysis
 
Fundamentaltestprocess windirohmaheny11453205427 kelase
Fundamentaltestprocess windirohmaheny11453205427 kelaseFundamentaltestprocess windirohmaheny11453205427 kelase
Fundamentaltestprocess windirohmaheny11453205427 kelase
 
Methodology: IT test
Methodology: IT testMethodology: IT test
Methodology: IT test
 
Fundamentals of testing
Fundamentals of testingFundamentals of testing
Fundamentals of testing
 
Testing- Fundamentals of Testing-Mazenet solution
Testing- Fundamentals of Testing-Mazenet solutionTesting- Fundamentals of Testing-Mazenet solution
Testing- Fundamentals of Testing-Mazenet solution
 
Fundamentals of Software Quality Assurance & Testing
Fundamentals of Software Quality Assurance & TestingFundamentals of Software Quality Assurance & Testing
Fundamentals of Software Quality Assurance & Testing
 

Plus de Dr. Ahmed Al Zaidy

Chapter 14 Exploring Object-based Programming
Chapter 14 Exploring Object-based ProgrammingChapter 14 Exploring Object-based Programming
Chapter 14 Exploring Object-based ProgrammingDr. Ahmed Al Zaidy
 
Chapter 13 Programming for web forms
Chapter 13 Programming for web formsChapter 13 Programming for web forms
Chapter 13 Programming for web formsDr. Ahmed Al Zaidy
 
Chapter 12 Working with Document nodes and style sheets
Chapter 12 Working with Document nodes and style sheetsChapter 12 Working with Document nodes and style sheets
Chapter 12 Working with Document nodes and style sheetsDr. Ahmed Al Zaidy
 
Chapter 11 Working with Events and Styles
Chapter 11 Working with Events and StylesChapter 11 Working with Events and Styles
Chapter 11 Working with Events and StylesDr. Ahmed Al Zaidy
 
Chapter 10 Exploring arrays, loops, and conditional statements
Chapter 10 Exploring arrays, loops, and conditional statementsChapter 10 Exploring arrays, loops, and conditional statements
Chapter 10 Exploring arrays, loops, and conditional statementsDr. Ahmed Al Zaidy
 
Chapter 9 Getting Started with JavaScript
Chapter 9 Getting Started with JavaScriptChapter 9 Getting Started with JavaScript
Chapter 9 Getting Started with JavaScriptDr. Ahmed Al Zaidy
 
Chapter 8 Enhancing a website with multimedia
Chapter 8 Enhancing a website with multimediaChapter 8 Enhancing a website with multimedia
Chapter 8 Enhancing a website with multimediaDr. Ahmed Al Zaidy
 
Chapter 7 Designing a web form
Chapter 7 Designing a web formChapter 7 Designing a web form
Chapter 7 Designing a web formDr. Ahmed Al Zaidy
 
Chapter 6 Working with Tables and Columns
Chapter 6 Working with Tables and ColumnsChapter 6 Working with Tables and Columns
Chapter 6 Working with Tables and ColumnsDr. Ahmed Al Zaidy
 
Chapter 5 Designing for the mobile web
Chapter 5 Designing for the mobile webChapter 5 Designing for the mobile web
Chapter 5 Designing for the mobile webDr. Ahmed Al Zaidy
 
Chapter 4 Graphic Design with CSS
Chapter 4 Graphic Design with CSSChapter 4 Graphic Design with CSS
Chapter 4 Graphic Design with CSSDr. Ahmed Al Zaidy
 
Chapter 3 Designing a Page Layout
Chapter 3 Designing a Page LayoutChapter 3 Designing a Page Layout
Chapter 3 Designing a Page LayoutDr. Ahmed Al Zaidy
 
Chapter 2 Getting Started with CSS
Chapter 2 Getting Started with CSSChapter 2 Getting Started with CSS
Chapter 2 Getting Started with CSSDr. Ahmed Al Zaidy
 
Chapter 1 Getting Started with HTML5
Chapter 1 Getting Started with HTML5Chapter 1 Getting Started with HTML5
Chapter 1 Getting Started with HTML5Dr. Ahmed Al Zaidy
 
Chapter 14 Business Continuity
Chapter 14 Business ContinuityChapter 14 Business Continuity
Chapter 14 Business ContinuityDr. Ahmed Al Zaidy
 
Chapter 13 Vulnerability Assessment and Data Security
Chapter 13 Vulnerability Assessment and Data SecurityChapter 13 Vulnerability Assessment and Data Security
Chapter 13 Vulnerability Assessment and Data SecurityDr. Ahmed Al Zaidy
 
Chapter 11 Authentication and Account Management
Chapter 11 Authentication and Account ManagementChapter 11 Authentication and Account Management
Chapter 11 Authentication and Account ManagementDr. Ahmed Al Zaidy
 

Plus de Dr. Ahmed Al Zaidy (20)

Chapter 14 Exploring Object-based Programming
Chapter 14 Exploring Object-based ProgrammingChapter 14 Exploring Object-based Programming
Chapter 14 Exploring Object-based Programming
 
Chapter 13 Programming for web forms
Chapter 13 Programming for web formsChapter 13 Programming for web forms
Chapter 13 Programming for web forms
 
Chapter 12 Working with Document nodes and style sheets
Chapter 12 Working with Document nodes and style sheetsChapter 12 Working with Document nodes and style sheets
Chapter 12 Working with Document nodes and style sheets
 
Chapter 11 Working with Events and Styles
Chapter 11 Working with Events and StylesChapter 11 Working with Events and Styles
Chapter 11 Working with Events and Styles
 
Chapter 10 Exploring arrays, loops, and conditional statements
Chapter 10 Exploring arrays, loops, and conditional statementsChapter 10 Exploring arrays, loops, and conditional statements
Chapter 10 Exploring arrays, loops, and conditional statements
 
Chapter 9 Getting Started with JavaScript
Chapter 9 Getting Started with JavaScriptChapter 9 Getting Started with JavaScript
Chapter 9 Getting Started with JavaScript
 
Chapter 8 Enhancing a website with multimedia
Chapter 8 Enhancing a website with multimediaChapter 8 Enhancing a website with multimedia
Chapter 8 Enhancing a website with multimedia
 
Chapter 7 Designing a web form
Chapter 7 Designing a web formChapter 7 Designing a web form
Chapter 7 Designing a web form
 
Chapter 6 Working with Tables and Columns
Chapter 6 Working with Tables and ColumnsChapter 6 Working with Tables and Columns
Chapter 6 Working with Tables and Columns
 
Chapter 5 Designing for the mobile web
Chapter 5 Designing for the mobile webChapter 5 Designing for the mobile web
Chapter 5 Designing for the mobile web
 
Chapter 4 Graphic Design with CSS
Chapter 4 Graphic Design with CSSChapter 4 Graphic Design with CSS
Chapter 4 Graphic Design with CSS
 
Chapter 3 Designing a Page Layout
Chapter 3 Designing a Page LayoutChapter 3 Designing a Page Layout
Chapter 3 Designing a Page Layout
 
Chapter 2 Getting Started with CSS
Chapter 2 Getting Started with CSSChapter 2 Getting Started with CSS
Chapter 2 Getting Started with CSS
 
Chapter 1 Getting Started with HTML5
Chapter 1 Getting Started with HTML5Chapter 1 Getting Started with HTML5
Chapter 1 Getting Started with HTML5
 
Integer overflows
Integer overflowsInteger overflows
Integer overflows
 
Chapter 15 Risk Mitigation
Chapter 15 Risk MitigationChapter 15 Risk Mitigation
Chapter 15 Risk Mitigation
 
Chapter 14 Business Continuity
Chapter 14 Business ContinuityChapter 14 Business Continuity
Chapter 14 Business Continuity
 
Chapter 13 Vulnerability Assessment and Data Security
Chapter 13 Vulnerability Assessment and Data SecurityChapter 13 Vulnerability Assessment and Data Security
Chapter 13 Vulnerability Assessment and Data Security
 
Chapter 12 Access Management
Chapter 12 Access ManagementChapter 12 Access Management
Chapter 12 Access Management
 
Chapter 11 Authentication and Account Management
Chapter 11 Authentication and Account ManagementChapter 11 Authentication and Account Management
Chapter 11 Authentication and Account Management
 

Dernier

Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactPECB
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsTechSoup
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17Celine George
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdfQucHHunhnh
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphThiyagu K
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...christianmathematics
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
fourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingfourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingTeacherCyreneCayanan
 
psychiatric nursing HISTORY COLLECTION .docx
psychiatric  nursing HISTORY  COLLECTION  .docxpsychiatric  nursing HISTORY  COLLECTION  .docx
psychiatric nursing HISTORY COLLECTION .docxPoojaSen20
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfagholdier
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Celine George
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxVishalSingh1417
 
An Overview of Mutual Funds Bcom Project.pdf
An Overview of Mutual Funds Bcom Project.pdfAn Overview of Mutual Funds Bcom Project.pdf
An Overview of Mutual Funds Bcom Project.pdfSanaAli374401
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxVishalSingh1417
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxnegromaestrong
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxVishalSingh1417
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfJayanti Pande
 

Dernier (20)

Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptxINDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
fourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingfourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writing
 
psychiatric nursing HISTORY COLLECTION .docx
psychiatric  nursing HISTORY  COLLECTION  .docxpsychiatric  nursing HISTORY  COLLECTION  .docx
psychiatric nursing HISTORY COLLECTION .docx
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
Advance Mobile Application Development class 07
Advance Mobile Application Development class 07Advance Mobile Application Development class 07
Advance Mobile Application Development class 07
 
An Overview of Mutual Funds Bcom Project.pdf
An Overview of Mutual Funds Bcom Project.pdfAn Overview of Mutual Funds Bcom Project.pdf
An Overview of Mutual Funds Bcom Project.pdf
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptx
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptx
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptx
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdf
 

Fundamental of testing

  • 2. FUNDAMENTAL OF TESTING • Why is testing necessary? • What is testing? • General testing principles • Fundamental test process • The psychology of testing • Code of ethics Test Planning and Control Test Analysis and Design Test Implementation and execution Evaluating exit criteria and reporting Test Closure activities
  • 3. WHY IS TESTING NECESSARY? • Human make mistakes • Mistakes – unimportant, expensive or dangerous • Must check – some things can always go wrong • Mistakes may comes from: • Bad assumption • Blind spot
  • 4. SOFTWARE SYSTEMS CONTEXT • Software that did not work as expected? • Error on a bill, delay on credit card processing, website that did not load correctly etc. • Different software carry different level of risk • Problems – trivial, costly and damaging (loss of money, time or business reputation, or results in injury or death RISK: A factor that could result in future negative consequences; usually expressed as impact and likelihood
  • 5. CAUSES OF SOFTWARE DEFECTS • People who design or build the software can make mistakes • Mistakes means flaws in the software => defects/bugs/faults • Defects may caused system to fail to do what it should do (or do something it shouldn’t) => causing failure Error (Mistakes) Defects (Bugs/Faults) Failure
  • 6. DO OUR MISTAKES MATTER? • Think about the consequences of mistakes… • Human being, programmer, tester => can make error • Error => defects => defect code executed => systems failure • Systems and project are complicated
  • 7. DEFECTS & FAILURES • Errors in specifications, design and implementation • Errors in use of the systems • Environmental conditions • Intentional damage • Potential consequences of earlier errors, intentional damage, defects and failures
  • 8. WHEN DO DEFECTS ARISE? Requirement 1 Correct requirement Designed to meet requirement Build to meet design Product works as expected Requirement 2 Correct requirement Designed to meet requirement Mistakes made in build Product has bugs in it
  • 9. WHEN DO DEFECTS ARISE? Requirement 3 Correct requirement Mistake made in design Built to meet design Product has design flaws Requirement 4 Mistakes made in requirement Design to meet requirement Built to meet design Wrong product delivered
  • 10. WHAT IS COST OF DEFECTS? • The cost of finding and fixing the defects rises considerably across the life cycle Cost Time Requirements Design Build Test Live use
  • 11. ROLE OF TESTING IN SOFTWARE DEVELOPMENT, MAINTENANCE & OPERATIONS • We have seen human errors can caused defect or fault at any stage of software development life-cycle • Rigorous testing is necessary during the maintenance & development to identify defects => to reduce failures in operational environment • To increase quality of operational systems • Executing tests helps us move towards improved quality of product and services
  • 12. TESTING & QUALITY • Testing helps us to measure quality of software in terms of: • The number of defects found • The number of tests run • The system covered by the test • Both functional and non-functional software requirements • Testing gives us confidence in quality • Poor test may uncover few defects
  • 13. WHAT IS QUALITY? • Project aim to deliver software that meet customer needs & correct specification • Validation – “ is this the right specification” • Verification – “is the system correct to specification” • Need to understand what customer understand by quality and what their expectation are
  • 14. WHAT IS ROOT CAUSE ANALYSIS? • Detect failures => track them back to their root cause • Several ways & involving a group brainstorming ideas and discussion • Assignment #1: • Find 3 ways to do Root Cause Analysis. • Discuss how it works.
  • 15. HOW MUCH TESTING IS ENOUGH? • We have a choice: • Test everything? • Test nothing? • Test some part? • Example: One-digit field – how many test is enough? • Real example: one screen with 15 input fields • Pressures on project: time & budget • Need test approach which provides the right amount of testing • Risk assessment – helps to decide how much testing to do
  • 16. WHAT IS TESTING? • Recall the common objectives of testing • What is testing? – checking if the software is OK? • Lets discuss an analogy of: driving test • The format of the driving test and conduct of examiner: • The test is planned & prepared • The test has known goals • The test is therefore carried out to show that the driver satisfied the requirement for driving & demonstrate that they are fit to drive
  • 17. DEFINING SOFTWARE TESTING • ISTQB definition of software testing • Process – Testing is a process rather a single activity – there are series of activities • All life cycle activities – software development life cycle (discuss this in Chapter 2) • Requirements • Design (to prevent defects introduced into code) – test via the test design
  • 18. DEFINING SOFTWARE TESTING • Both static and dynamic • Dynamic testing – execute codes & demonstrate the results • Static – reviewing documents including the source code • Planning – to manage the testing: plan, control, report testing progress, close testing • Preparation – selecting test conditions & design test cases • Evaluation – check results and evaluate software under test & completion criteria • Software products and related work product – not only test code, requirements & design specification
  • 19. DEFINING SOFTWARE TESTING • Objectives for testing • Determine the software product satisfy specified requirements • Demonstrate that the software products are fit for purpose • Detect defects • Objectives may be different in each stage
  • 20. GENERAL TESTING PRINCIPLES • Principle 1: Testing shows the presence of defects • Principle 2: Exhaustive testing is impossible • Principle 3: Early testing • Principle 4: Defect clustering • Principle 5: Pesticide paradox • Principle 6: Testing is context dependent • Principle 7: Absence-of-errors fallacy
  • 21. FUNDAMENTAL TEST PROCESS • Fundamental test process: • Planning and control • Analysis and design • Implementation and execution • Evaluation exit criteria and reporting • Test closure activities
  • 22. TEST PLANNING AND CONTROL • We make sure we understand the goal and objectives of the customer, stakeholders, the project and the risks • Based on the understanding, we set the goal & objectives for the testing itself • To help us, we may have: • Test policies – rules for testing • Test strategy – Overall high-level approach
  • 23. TEST PLANNING AND CONTROL • Test planning has the following major task: • Determine the scope and risks; Identify the objectives of testing • Determine the test approach (techniques, test items, coverage, identifying and interfacing the teams involve in testing, testware) • Implement the test policy and/or the test strategy • Determine the required test resources (people, test environment, PCs) • Schedule test analysis and design tasks, test implementation, execution and evaluation • Determine the exit criteria
  • 24. TEST PLANNING AND CONTROL • Test control is an on-going activity • We compare the actual progress with planned progress • Test control has the following major tasks: • Measure & analyze the results of reviews and testing • Monitor and document progress • Provide information on testing • Initiate corrective actions • Make decisions
  • 25. TEST ANALYSIS AND DESIGN • Test analysis and design has the following major tasks: • Review the test basis (product risk analysis, requirements, architecture, design specification and interface) • Identify test conditions (behavior and structure) • Design the test (Chapter 4) • Evaluate testability of the requirements and systems • Design the test environment set-up and identify any required infrastructure and tools
  • 26. TEST IMPLEMENTATION AND EXECUTION • Implementation: • We take the test conditions and make them into test cases and set up the test environment • Having the high-level design – we now build them • We set up the environment • Build our test data • Execution: • Execute the test cases • Log the outcome of test execution • Compare actual result with expected result
  • 27. EVALUATING EXIT CRITERIA AND REPORTING • Is an activity where test execution is assessed against the defined objectives • Evaluating exit criteria involve following major tasks: • Check the test logs against the exit criteria • Assess if more test needed • Write a test summary report