SlideShare a Scribd company logo
1 of 22
ISTQB Foundation Level Training
Session 1
By
Manish Verma
B.E., CSQA, ISTQB-CTFL, ISTQB-CTAL
www.softwaretestingmentor.com
What is ISTQB
ISTQB® (International Software Testing Qualifications Board) was
founded in November 2002 and is a not-for-profit association legally
registered in Belgium.
ISTQB® (International Software Testing Qualifications Board) has
defined the "ISTQB® Certified Tester" scheme that has become the
world-wide leader in the certification of competences in software
testing.
ISTQB® is an organization based on volunteer work by hundreds of
international testing experts.
For more details visit:
http://www.istqb.org/about-istqb.html
www.softwaretestingmentor.com
ISTQB Certification Levels
Foundation Level (CTFL)
• Foundation Level qualification is aimed at professionals
who need to demonstrate practical knowledge of the
fundamental concepts of software testing. Includes
people in roles like test designers, test analysts, test
engineers, test consultants, test managers, user
acceptance testers and IT Professionals.
• The Foundation Level qualification is also appropriate
for anyone who needs a basic understanding of
software testing such as project managers, quality
managers, software development managers, business
analysts, IT directors and management consultants.
www.softwaretestingmentor.com
ISTQB Certification Levels cont.
Advanced Level (CTAL)
o Test Manager
o Test Analyst
o Technical Test Analyst
• The Advanced Level qualification is aimed at people who have achieved an
advanced point in their careers in software testing. This includes people in
roles such as testers, test analysts, test engineers, test consultants, test
managers, etc.
• Advanced Level qualification is also appropriate for anyone who wants a
deeper understanding of software testing, such as project managers,
quality managers, software development managers, business analysts, IT
directors and management consultants.
• To receive Advanced Level certification, candidates must hold the
Foundation Certificate and satisfy the Exam Board which examines them
that they have sufficient practical experience to be considered Advanced
Level qualified.
www.softwaretestingmentor.com
ISTQB Certification Levels cont.
Expert Level (CTEL)
Improving the Test Process
Test Management
Test Automation (in progress)
Security Testing (in progress)
Each Expert Level module has clear business outcomes. These
provide information to businesses concerning the expectations
of an expert in a particular subject. The business outcomes map
to the individual Learning Objectives in a particular module.
www.softwaretestingmentor.com
Foundation level exam pattern
The Foundation Level exam is characterized by:
• 40 multiple-choice questions
• a scoring of 1 point for each correct answer
• a pass mark of 65% (26 or more points)
• a duration of 60 minutes (or 75 minutes for
candidates taking exams that are not in their
native or local language).
www.softwaretestingmentor.com
What are K-levels?
The Foundation and Advanced exams cover four different K-
levels (K1 to K4):
• K1 (Remember) = The candidate should remember or
recognize a term or a concept.
• K2 (Understand) = The candidate should select an
explanation for a statement related to the question topic.
• K3 (Apply) = The candidate should select the correct
application of a concept or technique and apply it to a
given context.
• K4 (Analyze) = The candidate can separate information
related to a procedure or technique into its constituent
parts for better understanding and can distinguish between
facts and inferences.
www.softwaretestingmentor.com
Why is testing necessary(k2)
• As we all are human beings and human beings make mistakes
during development.
• Some of the errors do not impact much on our day to day life and
can be ignored, however some errors are so severe that they can
break the whole system or software. In such kind of situations you
need to take care that such errors are caught well in advance before
deploying the system/software in production environment.
Examples:
• Net banking websites or ATMs should be thoroughly tested to
maintain bank credibility.
• Air traffic control system is very critical system which needs to be
thoroughly tested before live deployment as human lives are
dependent on it.
www.softwaretestingmentor.com
Causes of software defects(k2)
• If someone makes an error or mistake in using
the software, this may lead directly to a
problem - the software is used incorrectly and
so does not behave as we expected.
• People design and build the software and they
can make mistakes during the design and
build.
• These mistakes mean that there are flaws in
the software itself. These are called defects or
sometimes bugs or faults.
www.softwaretestingmentor.com
Role of testing in software development,
maintenance and operation (k2)
• Human errors can cause a defect or fault to be introduced at any
stage within the SDLC and, depending upon the consequences of
the mistake, the results can be trivial or catastrophic.
• Rigorous testing is necessary during development and maintenance
to identify defects, in order to reduce failures in the operational
environment and increase the quality of the operational system.
• Executing tests helps us move towards improved quality of product
and service
• Processes are also checked, for example by audit. A variety of
methods may be used to check work, some of which are done by
the author of the work and some by others to get an independent
view.
www.softwaretestingmentor.com
Testing and quality (k2)
• Testing helps us to measure the quality of
software in terms of the number of defects
found, the tests run, and the system covered
by the tests.
• We can do this for both the functional
attributes of the software (for example,
printing a report correctly) and for the non-
functional software requirements and
characteristics (for example, printing a report
quickly enough).
www.softwaretestingmentor.com
What is testing(k2)
• Software Testing is a process that consists of
all test life cycle activities like static and
dynamic testing, planning, preparation and
evaluation of software products to determine
that the software products satisfy customers
requirements and are fit for customers use.
• Software Testing is done to find software
defects or failures in advance.
www.softwaretestingmentor.com
Seven testing principles(k2)
• Principle 1: Testing shows presence of defects
Testing can show that defects are present, but cannot prove that there are
no defects. Testing reduces the probability of undiscovered defects
remaining in the software but, even if no defects are found, it is not a
proof of correctness.
• Principle 2: Exhaustive testing is impossible
Testing everything (all combinations of inputs and preconditions) is not
feasible except for trivial cases. Instead of exhaustive testing, we use risks
and priorities to focus testing efforts.
• Principle 3: Early testing
Testing activities should start as early as possible in the software or system
development life cycle and should be focused on defined objectives.
www.softwaretestingmentor.com
Seven testing principles cont.
• Principle 4: Defect clustering
A small number of modules contain most of the defects
discovered during pre- release testing or show the most
operational failures.
• Principle 5: Pesticide paradox
If the same tests are repeated over and over again,
eventually the same set of test cases will no longer find any
new bugs. To overcome this 'pesticide paradox', the test
cases need to be regularly reviewed and revised, and new
and different tests need to be written to exercise different
parts of the software or system to potentially find more
defects.
www.softwaretestingmentor.com
Seven testing principles cont.
• Principle 6: Testing is context dependent
Testing is done differently in different contexts.
For example, safety-critical software is tested
differently from an e-commerce site.
• Principle 7: Absence-of-errors fallacy
Finding and fixing defects does not help if the
system built is unusable and does not fulfill the
users' needs and expectations.
www.softwaretestingmentor.com
Fundamental test process (k1)
• Planning and control
• Analysis and design
• Implementation and execution
• Evaluating exit criteria and reporting
• Test closure activities
www.softwaretestingmentor.com
Planning and control
During test planning, we make sure we understand the goals and objectives of the
customers, stakeholders, and the project, and the risks which testing is intended to
address.
Test planning has the following major tasks
• Determine the scope and risks and identify the objectives of testing
• Determine the test approach
• Determine the required test resources
• Schedule test analysis and design tasks, test implementation, execution and
evaluation
• Determine the exit criteria
Test control has the following major tasks:
• Measure and analyze the results of reviews and testing
• Monitor and document progress, test coverage and exit criteria
www.softwaretestingmentor.com
Test analysis and design
Test analysis and design has the following major tasks
• Review the test basis (such as the product risk analysis,
requirements, architecture, design specifications, and interfaces),
examining the specifications for the software we are testing.
• Identify test conditions based on analysis of test items, their
specifications, and what we know about their behavior and
structure.
• Design the tests
• Evaluate testability of the requirements and system.
If the requirements just say 'the software needs to respond quickly
enough' that is not testable, because 'quick enough' may mean
different things to different people. A more testable requirement
would be 'the soft ware needs to respond in 5 seconds with 20
people logged on'.
• Design the test environment set-up and identify any required
infrastructure and tools.
www.softwaretestingmentor.com
Test implementation and execution
During test implementation and execution, we take the test conditions and make
them into test cases and set up the test environment.
Test implementation and execution have the following major tasks
Implementation:
• Develop and prioritize our test cases, using test design techniques like BVA,EP
• Create test suites from the test cases for efficient test execution.
• Implement and verify the environment.
Execution:
• Execute the test suites and individual test cases
• Log the outcome of test execution
• Compare actual results
• Where there are differences between actual and expected results, report
discrepancies as incidents.
www.softwaretestingmentor.com
Evaluating exit criteria and reporting
Evaluating exit criteria is the activity where test execution
is assessed against the defined objectives. This should be
done for each test level, as for each we need to know
whether we have done enough testing.
Evaluating exit criteria has the following major tasks
• Check test logs against the exit criteria specified in test
planning
• Assess if more tests are needed or if the exit criteria
specified should be changed
• Write a test summary report for stakeholders
www.softwaretestingmentor.com
Test closure activities
During test closure activities, we collect data from completed test
activities to consolidate experience, including checking and filing
testware, and analyzing facts and numbers.
Test closure activities include the following major tasks:
• Check which planned deliverables we actually delivered and ensure
all incident reports have been resolved through defect repair or
deferral.
• Finalize and archive testware, such as scripts, the test environment,
and any other test infrastructure, for later reuse.
• Hand over testware to the maintenance organization who will
support the software and make any bug fixes or maintenance
changes, for use in con firmation testing and regression testing.
• Evaluate how the testing went and analyze lessons learned for
future releases and projects.
www.softwaretestingmentor.com
Thank you!!!
www.softwaretestingmentor.com

More Related Content

Recently uploaded

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
QucHHunhnh
 
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
PECB
 
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
negromaestrong
 

Recently uploaded (20)

Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
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
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across Sectors
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
PROCESS RECORDING FORMAT.docx
PROCESS      RECORDING        FORMAT.docxPROCESS      RECORDING        FORMAT.docx
PROCESS RECORDING FORMAT.docx
 
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
 
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
 
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
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
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
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
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-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
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
psychiatric nursing HISTORY COLLECTION .docx
psychiatric  nursing HISTORY  COLLECTION  .docxpsychiatric  nursing HISTORY  COLLECTION  .docx
psychiatric nursing HISTORY COLLECTION .docx
 

Featured

How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
ThinkNow
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
Kurio // The Social Media Age(ncy)
 

Featured (20)

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

ISTQB Online Training Session-1

  • 1. ISTQB Foundation Level Training Session 1 By Manish Verma B.E., CSQA, ISTQB-CTFL, ISTQB-CTAL www.softwaretestingmentor.com
  • 2. What is ISTQB ISTQB® (International Software Testing Qualifications Board) was founded in November 2002 and is a not-for-profit association legally registered in Belgium. ISTQB® (International Software Testing Qualifications Board) has defined the "ISTQB® Certified Tester" scheme that has become the world-wide leader in the certification of competences in software testing. ISTQB® is an organization based on volunteer work by hundreds of international testing experts. For more details visit: http://www.istqb.org/about-istqb.html www.softwaretestingmentor.com
  • 3. ISTQB Certification Levels Foundation Level (CTFL) • Foundation Level qualification is aimed at professionals who need to demonstrate practical knowledge of the fundamental concepts of software testing. Includes people in roles like test designers, test analysts, test engineers, test consultants, test managers, user acceptance testers and IT Professionals. • The Foundation Level qualification is also appropriate for anyone who needs a basic understanding of software testing such as project managers, quality managers, software development managers, business analysts, IT directors and management consultants. www.softwaretestingmentor.com
  • 4. ISTQB Certification Levels cont. Advanced Level (CTAL) o Test Manager o Test Analyst o Technical Test Analyst • The Advanced Level qualification is aimed at people who have achieved an advanced point in their careers in software testing. This includes people in roles such as testers, test analysts, test engineers, test consultants, test managers, etc. • Advanced Level qualification is also appropriate for anyone who wants a deeper understanding of software testing, such as project managers, quality managers, software development managers, business analysts, IT directors and management consultants. • To receive Advanced Level certification, candidates must hold the Foundation Certificate and satisfy the Exam Board which examines them that they have sufficient practical experience to be considered Advanced Level qualified. www.softwaretestingmentor.com
  • 5. ISTQB Certification Levels cont. Expert Level (CTEL) Improving the Test Process Test Management Test Automation (in progress) Security Testing (in progress) Each Expert Level module has clear business outcomes. These provide information to businesses concerning the expectations of an expert in a particular subject. The business outcomes map to the individual Learning Objectives in a particular module. www.softwaretestingmentor.com
  • 6. Foundation level exam pattern The Foundation Level exam is characterized by: • 40 multiple-choice questions • a scoring of 1 point for each correct answer • a pass mark of 65% (26 or more points) • a duration of 60 minutes (or 75 minutes for candidates taking exams that are not in their native or local language). www.softwaretestingmentor.com
  • 7. What are K-levels? The Foundation and Advanced exams cover four different K- levels (K1 to K4): • K1 (Remember) = The candidate should remember or recognize a term or a concept. • K2 (Understand) = The candidate should select an explanation for a statement related to the question topic. • K3 (Apply) = The candidate should select the correct application of a concept or technique and apply it to a given context. • K4 (Analyze) = The candidate can separate information related to a procedure or technique into its constituent parts for better understanding and can distinguish between facts and inferences. www.softwaretestingmentor.com
  • 8. Why is testing necessary(k2) • As we all are human beings and human beings make mistakes during development. • Some of the errors do not impact much on our day to day life and can be ignored, however some errors are so severe that they can break the whole system or software. In such kind of situations you need to take care that such errors are caught well in advance before deploying the system/software in production environment. Examples: • Net banking websites or ATMs should be thoroughly tested to maintain bank credibility. • Air traffic control system is very critical system which needs to be thoroughly tested before live deployment as human lives are dependent on it. www.softwaretestingmentor.com
  • 9. Causes of software defects(k2) • If someone makes an error or mistake in using the software, this may lead directly to a problem - the software is used incorrectly and so does not behave as we expected. • People design and build the software and they can make mistakes during the design and build. • These mistakes mean that there are flaws in the software itself. These are called defects or sometimes bugs or faults. www.softwaretestingmentor.com
  • 10. Role of testing in software development, maintenance and operation (k2) • Human errors can cause a defect or fault to be introduced at any stage within the SDLC and, depending upon the consequences of the mistake, the results can be trivial or catastrophic. • Rigorous testing is necessary during development and maintenance to identify defects, in order to reduce failures in the operational environment and increase the quality of the operational system. • Executing tests helps us move towards improved quality of product and service • Processes are also checked, for example by audit. A variety of methods may be used to check work, some of which are done by the author of the work and some by others to get an independent view. www.softwaretestingmentor.com
  • 11. Testing and quality (k2) • Testing helps us to measure the quality of software in terms of the number of defects found, the tests run, and the system covered by the tests. • We can do this for both the functional attributes of the software (for example, printing a report correctly) and for the non- functional software requirements and characteristics (for example, printing a report quickly enough). www.softwaretestingmentor.com
  • 12. What is testing(k2) • Software Testing is a process that consists of all test life cycle activities like static and dynamic testing, planning, preparation and evaluation of software products to determine that the software products satisfy customers requirements and are fit for customers use. • Software Testing is done to find software defects or failures in advance. www.softwaretestingmentor.com
  • 13. Seven testing principles(k2) • Principle 1: Testing shows presence of defects Testing can show that defects are present, but cannot prove that there are no defects. Testing reduces the probability of undiscovered defects remaining in the software but, even if no defects are found, it is not a proof of correctness. • Principle 2: Exhaustive testing is impossible Testing everything (all combinations of inputs and preconditions) is not feasible except for trivial cases. Instead of exhaustive testing, we use risks and priorities to focus testing efforts. • Principle 3: Early testing Testing activities should start as early as possible in the software or system development life cycle and should be focused on defined objectives. www.softwaretestingmentor.com
  • 14. Seven testing principles cont. • Principle 4: Defect clustering A small number of modules contain most of the defects discovered during pre- release testing or show the most operational failures. • Principle 5: Pesticide paradox If the same tests are repeated over and over again, eventually the same set of test cases will no longer find any new bugs. To overcome this 'pesticide paradox', the test cases need to be regularly reviewed and revised, and new and different tests need to be written to exercise different parts of the software or system to potentially find more defects. www.softwaretestingmentor.com
  • 15. Seven testing principles cont. • Principle 6: Testing is context dependent Testing is done differently in different contexts. For example, safety-critical software is tested differently from an e-commerce site. • Principle 7: Absence-of-errors fallacy Finding and fixing defects does not help if the system built is unusable and does not fulfill the users' needs and expectations. www.softwaretestingmentor.com
  • 16. Fundamental test process (k1) • Planning and control • Analysis and design • Implementation and execution • Evaluating exit criteria and reporting • Test closure activities www.softwaretestingmentor.com
  • 17. Planning and control During test planning, we make sure we understand the goals and objectives of the customers, stakeholders, and the project, and the risks which testing is intended to address. Test planning has the following major tasks • Determine the scope and risks and identify the objectives of testing • Determine the test approach • Determine the required test resources • Schedule test analysis and design tasks, test implementation, execution and evaluation • Determine the exit criteria Test control has the following major tasks: • Measure and analyze the results of reviews and testing • Monitor and document progress, test coverage and exit criteria www.softwaretestingmentor.com
  • 18. Test analysis and design Test analysis and design has the following major tasks • Review the test basis (such as the product risk analysis, requirements, architecture, design specifications, and interfaces), examining the specifications for the software we are testing. • Identify test conditions based on analysis of test items, their specifications, and what we know about their behavior and structure. • Design the tests • Evaluate testability of the requirements and system. If the requirements just say 'the software needs to respond quickly enough' that is not testable, because 'quick enough' may mean different things to different people. A more testable requirement would be 'the soft ware needs to respond in 5 seconds with 20 people logged on'. • Design the test environment set-up and identify any required infrastructure and tools. www.softwaretestingmentor.com
  • 19. Test implementation and execution During test implementation and execution, we take the test conditions and make them into test cases and set up the test environment. Test implementation and execution have the following major tasks Implementation: • Develop and prioritize our test cases, using test design techniques like BVA,EP • Create test suites from the test cases for efficient test execution. • Implement and verify the environment. Execution: • Execute the test suites and individual test cases • Log the outcome of test execution • Compare actual results • Where there are differences between actual and expected results, report discrepancies as incidents. www.softwaretestingmentor.com
  • 20. Evaluating exit criteria and reporting Evaluating exit criteria is the activity where test execution is assessed against the defined objectives. This should be done for each test level, as for each we need to know whether we have done enough testing. Evaluating exit criteria has the following major tasks • Check test logs against the exit criteria specified in test planning • Assess if more tests are needed or if the exit criteria specified should be changed • Write a test summary report for stakeholders www.softwaretestingmentor.com
  • 21. Test closure activities During test closure activities, we collect data from completed test activities to consolidate experience, including checking and filing testware, and analyzing facts and numbers. Test closure activities include the following major tasks: • Check which planned deliverables we actually delivered and ensure all incident reports have been resolved through defect repair or deferral. • Finalize and archive testware, such as scripts, the test environment, and any other test infrastructure, for later reuse. • Hand over testware to the maintenance organization who will support the software and make any bug fixes or maintenance changes, for use in con firmation testing and regression testing. • Evaluate how the testing went and analyze lessons learned for future releases and projects. www.softwaretestingmentor.com