SlideShare une entreprise Scribd logo
1  sur  58
ISTQB Foundation Level
Day 1

Shuchi Singla, PMI-ACP, ITIL(F) and ISEB
Agenda - Day 1
• Introduction to ISTQB
• Principles of testing
• Testing throughout the life-cycle
• Static techniques
• Tool support for testing
Introduction - ISTQB
What is ISTQB?
•

•

The International Software Testing Qualifications Board (ISTQB) is a software
testing qualification certification organization that was founded in Edinburgh in
November 2002, and is a non-profit association legally registered in Belgium

ISTQB® Certified Tester is a standardized qualification for software testers and
based on a syllabus, and there is a hierarchy of qualifications and guidelines for
accreditation and examination
http://www.istqb.org/about-istqb.html
ISTQB Levels
& Modules
Foundation Level Exam Structure
Exam

Number of questions per K levels
K1

Foundation

•
•
•

K2

20

K3

12

K4

Total

8

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).

40
What are K- Levels?
•
•
•
•

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
Principles of Testing
What is Software Testing?
• It can also be stated as the process of validating and verifying that a
software program or application or product:

•
•
•

Meets the business and technical requirements that guided it’s design and
development
Works as expected
Can be implemented with the same characteristic.
Why is testing necessary?
•

•
•

Mistakes. Some of those mistakes are unimportant, but some of them are
expensive or dangerous. We need to check everything and anything we produce
because things can always go wrong –humans make mistakes all the time.

Bad assumptions and blind spots. So we might make the same mistakes when we
check our own work as we made when we did it. So we may not notice the flaws in
what we have done.
Ideally, someone else should check our work because another person is more likely
to spot the flaws.
What is a “bug”?
• Error: a human action that produces an incorrect result
• Fault: a manifestation of an error in software
•
•

also known as a defect or bug
if executed, a fault may cause a failure

• Failure: deviation of the software from its expected delivery or service
•

(found defect)

Failure is an event; fault is a state of
the software, caused by an error
Exhaustive testing?
•

•

What is exhaustive testing?

•
•
•

when all the testers are exhausted
when all the planned tests have been executed
exercising all combinations of inputs and preconditions

How much time will exhaustive testing take?

•
•
•

infinite time
not much time

impractical amount of time
How much testing is enough?
•
•
•
•
•
•

it’s never enough
when you have done what you planned

when your customer/user is happy
when you have proved that the system works correctly
when you are confident that the system works correctly
it depends on the risks for your system
How much testing?
• It depends on RISK
•
•
•
•
•
•

risk of missing important faults

risk of incurring failure costs
risk of releasing untested or under-tested software
risk of losing credibility and market share
risk of missing a market window
risk of over-testing, ineffective testing
So little time, so much to test ..
• test time will always be limited
• use RISK to determine:
•
•
•
•

what to test first

what to test most
how thoroughly to test each item

}

i.e. where to
place emphasis

what not to test (this time)

• use RISK to
•

allocate the time available for testing by prioritising testing ...
Seven Testing Principles
•

Testing shows presence of defects

•

•

Exhaustive testing is impossible

•

•

Testing reduces the probability of undiscovered defects remaining in the software but, no
defects , is not a proof of correctness.

Testing everything (all combinations of inputs and preconditions) is not feasible. Instead,
risk analysis and priorities should be used to focus testing efforts

Early testing

•

To find defects early, testing activities shall be started as early as possible in the software or
system development life cycle, and shall be focused on defined objectives
Seven Testing Principles
•

Defect clustering

•

•

Pesticide Paradox

•

•

If the same tests are repeated over and over again, they will no longer find any new defects.
To overcome this test cases need to be reviewed and revised, to exercise different parts of
the software

Absence-of-errors fallacy

•

•

Testing effort shall be focused proportionally to the expected and later observed defect
density of modules

Finding and fixing defects does not help if the system built is unusable and does not fulfill
the users needs and expectations

Testing is context dependent

•

Testing is done in different contexts. For example, safety-critical software is tested
differently from an e-commerce site.
Fundamental Test Process
Test Planning - different levels
Test
Policy
Company level
Test
Strategy

High Level
High Level
Test Plan
Test Plan

Detailed
Detailed
Test Plan
Detailed
Test Plan
Detailed
Test Plan
Test Plan

Project level (IEEE 829)
(one for each project)

Test stage level (IEEE 829)
(one for each stage within a project,
e.g. Component, System, etc.)
The test process
Planning (detailed level)

specification

execution

recording

check
completion
Test planning
• How the test strategy and project test plan apply to the software under test
• Document any exceptions to the test strategy
•

e.g. only one test case design technique needed for this functional area because it is
less critical

• Other software needed for the tests and environment details
• Set test completion criteria
Test specification
Planning (detailed level)

specification

execution

Identify conditions
Design test cases
Build tests

recording

check
completion
Test specification
•

Test specification can be broken down into three distinct tasks:
1. identify:

determine ‘what’ is to be tested (identify
test conditions) and prioritise

2. design:

determine ‘how’ the ‘what’ is to be tested
(i.e. design test cases)

3. build:

implement the tests (data, scripts, etc.)
A good test case
•

Effective

•

Exemplary

•

evolvable

•

Finds faults
Represents others
Easy to maintain

economic

Cheap to use
Test execution
Planning (detailed level)

specification

execution

recording

check
completion
Execution
• Execute prescribed test cases
•
•

most important ones first

would not execute all test cases if

•
•
•

•

testing only fault fixes
too many faults found by early test cases
time pressure

can be performed manually or automated
Test recording
Planning (detailed level)

specification

execution

recording

check
completion
Test recording 1
•
•

The test record contains:

•

identities and versions (unambiguously) of

•
•

software under test
test specifications

Follow the plan

•
•
•
•

mark off progress on test script
document actual outcomes from the test
capture any other ideas you have for new test cases
note that these records are used to establish that all test activities have been carried out as specified
Test recording 2
•

•
•

Compare actual outcome with expected outcome. Log discrepancies accordingly:

•
•
•
•

software fault
test fault (e.g. expected results wrong)
environment or version fault
test run incorrectly

Log coverage levels achieved (for measures specified as test completion criteria)
After the fault has been fixed, repeat the required test activities
(execute, design, plan)
Check test completion
Planning (detailed level)

specification

execution

recording

check
completion
Check test completion
• Test completion criteria were specified in the test plan
• If not met, need to repeat test activities, e.g. test specification to design
more tests
Coverage too low

specification

execution

recording

check
completion

Coverage
OK
Test completion criteria
•

Completion or exit criteria apply to all levels of testing - to determine when to stop

•

coverage, using a measurement technique, e.g.

•
•
•

•
•

branch coverage for unit testing

user requirements
most frequently used transactions

faults found (e.g. versus expected)
cost or time
Why test?
•
•
•
•
•
•
•

build confidence
prove that the software is correct
demonstrate conformance to requirements
find faults
reduce costs
show system meets user needs

assess the software quality
Confidence
Confidence
Faults found
Fault found

Time
No faults found = confidence?
Assessing software quality
You think
you are here
Many
Faults

High

Few
Faults

Low

High
Software Quality
Many
Faults

Test
Quality

You may
be here

Low

Few
Faults
Testing throughout the life-cycle
What is software verification?

• Ensures product is designed to deliver all functionality to the customer
• Includes reviews and meetings, walkthroughs, inspection
• Answers the question: Am I building the product right?
What is software validation?
• Determines if the system complies with the requirements and performs
functions for which it is intended and meets the organization’s goals and
user needs

• Done at the end of the development process and takes place after
verifications are completed

• Answers the question: Am I building the right product?
What is Capability Maturity Model?
•
•
•
•

Bench-mark for measuring the maturity of an organization’s software process
Assesses an organization against a scale of five process maturity levels based on certain Key Process Areas
(KPA)
Describes the maturity of the company based upon the project the company is dealing with and the clients
There are five maturity levels designated by the numbers 1 through 5 as shown below:

1.
2.
3.
4.
5.

Initial
Managed
Defined
Quantitatively Managed
Optimizing
CMM (Continued)
Software Development Lifecycle
Software Development Models
• Software life cycle models describe phases of the software cycle and
the order in which those phases are executed

• Few Software development models are as follows:
•
•
•

Waterfall model
V model
Agile model
Waterfall Model
•

•
•

Most common and classic of life cycle
models, also referred to as a linear-sequential
life cycle model

Each phase must be completed in its entirety
before the next phase can
begin
Review takes place at end of each phase to
determine if the project is on the right path and
whether to continue or discard the project
V- Model
• Means Verification and Validation model
• V-Shaped life cycle is a sequential path of
execution of processes

• Testing of the product is planned in
parallel with a corresponding phase of
development
Agile Model
•
•

•

Builds are provided in iterations
Every iteration involves cross functional
teams working simultaneously on various
areas like planning, requirements analysis,
design, coding, unit testing, and acceptance
testing
End of the iteration a working product is
displayed to the customer and important
stakeholders
Testing Levels
Testing Levels
•
•

Identify missing areas and prevent overlap and repetition between the development life
cycle phases
Various levels of testing are:

•
•
•
•
•
•
•

Unit testing
Component testing
Integration testing
System testing
Acceptance testing

Alpha testing
Beta testing
Types of Testing
•
•

Blackbox Testing
Testing technique that ignores the internal mechanism of the system and focuses on the
output generated against any input and execution of the system. It is also called
functional testing.
Whitebox Testing
White box testing is a testing technique that takes into account the internal mechanism of
a system. It is also called structural testing and glass box testing.
Black box testing is often used for validation and white box testing is often used for
verification.
Types of Testing
•

Unit Testing
Testing of an individual unit or group of related units. It falls under the class of white box testing

•

Integration Testing

Testing in which a group of components are combined to produce output. Also, the interaction
between software and hardware is tested. It may fall under both white box testing and black box testing

•

Functional Testing

Testing to ensure that the specified functionality required in the system requirements works. It falls
under the class of black box testing

•

System Testing

Testing to ensure that by putting the software in different environments (e.g., Operating Systems)
it still works. System testing is done with full system implementation and environment. It falls under the
class of black box testing
Types of Testing
•

Acceptance Testing
Testing is often done by the customer to ensure that the delivered product meets the requirements
and works as the customer expected. It falls under the class of black box testing.

•

Regression Testing
Testing after modification of a system, component, or a group of related units to ensure that the
modification is working correctly and is not imposing other modules to produce unexpected results.
It falls under the class of black box testing.

•

Beta Testing
Testing which is done by end users, a team outside development, or publicly releasing full preversion of the product which is known as beta version. It falls under the class of black box testing
Static Techniques
Test Design Technique
• Test Design is creating a set of inputs for given software that will provide a
set of expected outputs

• Ensures that the system is working good enough and it can be released with
as few problems for the average user

• Two main categories of Test Design Techniques are:
•
•

Static Techniques
Dynamic Techniques
Testing Technique
Static Testing Techniques
•

Informal Review is

•
•
•

•

applied many times during the early stages of the life cycle of the document
goal is to improve the quality of the document
informal reviews is are not documented

Technical Review

•
•
•
•

less formal review
performed as a peer review without management participation
Led by moderator
inform participants about the technical content of the document
Static Testing Techniques
•

Walkthrough is

•

•
•
•

not a formal process/review

led by the author
aim is to gain feedback about the technical quality or content of the document; and/or to
familiarize the audience with the content

Inspection

•
•
•
•
•

most formal review
trained individuals look for defects using a well defined process
led by moderator
defects found are documented in a logging list or issue log
formal follow-up is carried out by the moderator applying exit criteria
Tool Support for Testing
Types of software testing tools

• Tools are grouped by the testing activities or areas that are supported by a
set of tools

• Example a ‘test management’ tool may provide support for managing
testing (progress monitoring), configuration management of testware,
incident management, and requirements management and traceability
Questions??

Contenu connexe

Tendances

ISTQB CTAL - Test Analyst
ISTQB CTAL - Test AnalystISTQB CTAL - Test Analyst
ISTQB CTAL - Test AnalystSamer Desouky
 
Quality Assurance and Software Testing
Quality Assurance and Software TestingQuality Assurance and Software Testing
Quality Assurance and Software Testingpingkapil
 
Manual testing concepts course 1
Manual testing concepts course 1Manual testing concepts course 1
Manual testing concepts course 1Raghu Kiran
 
Chapter 4 - Test Design Techniques
Chapter 4 - Test Design TechniquesChapter 4 - Test Design Techniques
Chapter 4 - Test Design TechniquesNeeraj Kumar Singh
 
Introduction to Test Automation
Introduction to Test AutomationIntroduction to Test Automation
Introduction to Test AutomationPekka Klärck
 
Manual Testing
Manual TestingManual Testing
Manual TestingG.C Reddy
 
New trends in testing automation
New trends in testing automationNew trends in testing automation
New trends in testing automationEran Kinsbrunner
 
TESTING LIFE CYCLE PPT
TESTING LIFE CYCLE PPTTESTING LIFE CYCLE PPT
TESTING LIFE CYCLE PPTsuhasreddy1
 
Fundamentals of Software Testing
Fundamentals of Software TestingFundamentals of Software Testing
Fundamentals of Software TestingSagar Joshi
 
What is Test Plan? Edureka
What is Test Plan? EdurekaWhat is Test Plan? Edureka
What is Test Plan? EdurekaEdureka!
 
Chapter 1 - Fundamentals of Testing
Chapter 1 - Fundamentals of TestingChapter 1 - Fundamentals of Testing
Chapter 1 - Fundamentals of TestingNeeraj Kumar Singh
 
Chapter 2 - Testing Throughout the Development LifeCycle
Chapter 2 - Testing Throughout the Development LifeCycleChapter 2 - Testing Throughout the Development LifeCycle
Chapter 2 - Testing Throughout the Development LifeCycleNeeraj Kumar Singh
 
Test Automation
Test AutomationTest Automation
Test Automationrockoder
 
Fundamentals of Testing
Fundamentals of TestingFundamentals of Testing
Fundamentals of TestingCode95
 
Software testing.ppt
Software testing.pptSoftware testing.ppt
Software testing.pptKomal Garg
 

Tendances (20)

Introduction & Manual Testing
Introduction & Manual TestingIntroduction & Manual Testing
Introduction & Manual Testing
 
ISTQB CTAL - Test Analyst
ISTQB CTAL - Test AnalystISTQB CTAL - Test Analyst
ISTQB CTAL - Test Analyst
 
Testing & Quality Assurance
Testing & Quality AssuranceTesting & Quality Assurance
Testing & Quality Assurance
 
Quality Assurance and Software Testing
Quality Assurance and Software TestingQuality Assurance and Software Testing
Quality Assurance and Software Testing
 
Manual testing concepts course 1
Manual testing concepts course 1Manual testing concepts course 1
Manual testing concepts course 1
 
Chapter 4 - Test Design Techniques
Chapter 4 - Test Design TechniquesChapter 4 - Test Design Techniques
Chapter 4 - Test Design Techniques
 
Introduction to Test Automation
Introduction to Test AutomationIntroduction to Test Automation
Introduction to Test Automation
 
Manual Testing
Manual TestingManual Testing
Manual Testing
 
Chapter 5 - Test Management
Chapter 5 - Test ManagementChapter 5 - Test Management
Chapter 5 - Test Management
 
New trends in testing automation
New trends in testing automationNew trends in testing automation
New trends in testing automation
 
Manual testing ppt
Manual testing pptManual testing ppt
Manual testing ppt
 
QA process Presentation
QA process PresentationQA process Presentation
QA process Presentation
 
TESTING LIFE CYCLE PPT
TESTING LIFE CYCLE PPTTESTING LIFE CYCLE PPT
TESTING LIFE CYCLE PPT
 
Fundamentals of Software Testing
Fundamentals of Software TestingFundamentals of Software Testing
Fundamentals of Software Testing
 
What is Test Plan? Edureka
What is Test Plan? EdurekaWhat is Test Plan? Edureka
What is Test Plan? Edureka
 
Chapter 1 - Fundamentals of Testing
Chapter 1 - Fundamentals of TestingChapter 1 - Fundamentals of Testing
Chapter 1 - Fundamentals of Testing
 
Chapter 2 - Testing Throughout the Development LifeCycle
Chapter 2 - Testing Throughout the Development LifeCycleChapter 2 - Testing Throughout the Development LifeCycle
Chapter 2 - Testing Throughout the Development LifeCycle
 
Test Automation
Test AutomationTest Automation
Test Automation
 
Fundamentals of Testing
Fundamentals of TestingFundamentals of Testing
Fundamentals of Testing
 
Software testing.ppt
Software testing.pptSoftware testing.ppt
Software testing.ppt
 

Similaire à Istqb foundation level day 1

Software Testing- Principles of testing- Mazenet Solution
Software Testing- Principles of testing- Mazenet SolutionSoftware Testing- Principles of testing- Mazenet Solution
Software Testing- Principles of testing- Mazenet SolutionMazenetsolution
 
Testing- Fundamentals of Testing-Mazenet solution
Testing- Fundamentals of Testing-Mazenet solutionTesting- Fundamentals of Testing-Mazenet solution
Testing- Fundamentals of Testing-Mazenet solutionMazenetsolution
 
ISTQB - CTFL Summary v1.0
ISTQB - CTFL Summary v1.0ISTQB - CTFL Summary v1.0
ISTQB - CTFL Summary v1.0Samer Desouky
 
Software testing-and-analysis
Software testing-and-analysisSoftware testing-and-analysis
Software testing-and-analysisWBUTTUTORIALS
 
Bab 1 Fundamentals Of Testing
Bab 1 Fundamentals Of TestingBab 1 Fundamentals Of Testing
Bab 1 Fundamentals Of Testinglolayoriva
 
Software Quality Assurance
Software Quality AssuranceSoftware Quality Assurance
Software Quality AssuranceSaqib Raza
 
Software Testing Presentation in Cegonsoft Pvt Ltd...
Software Testing Presentation in Cegonsoft Pvt Ltd...Software Testing Presentation in Cegonsoft Pvt Ltd...
Software Testing Presentation in Cegonsoft Pvt Ltd...ChithraCegon
 
Fundamentals of Software Quality Assurance & Testing
Fundamentals of Software Quality Assurance & TestingFundamentals of Software Quality Assurance & Testing
Fundamentals of Software Quality Assurance & Testingrongbaz
 
1779905011SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS.pptx
1779905011SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS.pptx1779905011SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS.pptx
1779905011SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS.pptxabhivastrad007
 
Software Engineering (Testing Overview)
Software Engineering (Testing Overview)Software Engineering (Testing Overview)
Software Engineering (Testing Overview)ShudipPal
 
What_is_Software_Testing.pdf
What_is_Software_Testing.pdfWhat_is_Software_Testing.pdf
What_is_Software_Testing.pdfVuongPhm
 
St all about test case-p3
St all about test case-p3St all about test case-p3
St all about test case-p3Prachi Sasankar
 
ST-All about Test Case-p3
ST-All about Test Case-p3ST-All about Test Case-p3
ST-All about Test Case-p3Prachi Sasankar
 
SWT2_tim.pptx
SWT2_tim.pptxSWT2_tim.pptx
SWT2_tim.pptxBnhT27
 
SOFTWARE TESTING W1_watermark.pdf
SOFTWARE TESTING W1_watermark.pdfSOFTWARE TESTING W1_watermark.pdf
SOFTWARE TESTING W1_watermark.pdfShubhamSingh606946
 

Similaire à Istqb foundation level day 1 (20)

Software Testing- Principles of testing- Mazenet Solution
Software Testing- Principles of testing- Mazenet SolutionSoftware Testing- Principles of testing- Mazenet Solution
Software Testing- Principles of testing- Mazenet Solution
 
Testing- Fundamentals of Testing-Mazenet solution
Testing- Fundamentals of Testing-Mazenet solutionTesting- Fundamentals of Testing-Mazenet solution
Testing- Fundamentals of Testing-Mazenet solution
 
Fundamental of testing
Fundamental of testingFundamental of testing
Fundamental of testing
 
ISTQB - CTFL Summary v1.0
ISTQB - CTFL Summary v1.0ISTQB - CTFL Summary v1.0
ISTQB - CTFL Summary v1.0
 
Software testing-and-analysis
Software testing-and-analysisSoftware testing-and-analysis
Software testing-and-analysis
 
L software testing
L   software testingL   software testing
L software testing
 
Bab 1 Fundamentals Of Testing
Bab 1 Fundamentals Of TestingBab 1 Fundamentals Of Testing
Bab 1 Fundamentals Of Testing
 
Software Quality Assurance
Software Quality AssuranceSoftware Quality Assurance
Software Quality Assurance
 
Software Testing Presentation in Cegonsoft Pvt Ltd...
Software Testing Presentation in Cegonsoft Pvt Ltd...Software Testing Presentation in Cegonsoft Pvt Ltd...
Software Testing Presentation in Cegonsoft Pvt Ltd...
 
Fundamentals of Software Quality Assurance & Testing
Fundamentals of Software Quality Assurance & TestingFundamentals of Software Quality Assurance & Testing
Fundamentals of Software Quality Assurance & Testing
 
1779905011SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS.pptx
1779905011SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS.pptx1779905011SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS.pptx
1779905011SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS.pptx
 
UNIT 1.pptx
UNIT 1.pptxUNIT 1.pptx
UNIT 1.pptx
 
Software Engineering (Testing Overview)
Software Engineering (Testing Overview)Software Engineering (Testing Overview)
Software Engineering (Testing Overview)
 
What_is_Software_Testing.pdf
What_is_Software_Testing.pdfWhat_is_Software_Testing.pdf
What_is_Software_Testing.pdf
 
St all about test case-p3
St all about test case-p3St all about test case-p3
St all about test case-p3
 
ST-All about Test Case-p3
ST-All about Test Case-p3ST-All about Test Case-p3
ST-All about Test Case-p3
 
Software testing
Software testingSoftware testing
Software testing
 
SWT2_tim.pptx
SWT2_tim.pptxSWT2_tim.pptx
SWT2_tim.pptx
 
Methodology: IT test
Methodology: IT testMethodology: IT test
Methodology: IT test
 
SOFTWARE TESTING W1_watermark.pdf
SOFTWARE TESTING W1_watermark.pdfSOFTWARE TESTING W1_watermark.pdf
SOFTWARE TESTING W1_watermark.pdf
 

Plus de Shuchi Singla AKT,SPC4,PMI-ACP,ITIL(F),CP-AAT (10)

BFS Commodities Management Solution
BFS Commodities Management SolutionBFS Commodities Management Solution
BFS Commodities Management Solution
 
Agile - How it let's you sleep better
Agile - How it let's you sleep better Agile - How it let's you sleep better
Agile - How it let's you sleep better
 
Training program BaffleSol academy of learning
Training program BaffleSol academy of learningTraining program BaffleSol academy of learning
Training program BaffleSol academy of learning
 
Agile for Non-IT
Agile for Non-ITAgile for Non-IT
Agile for Non-IT
 
PMI-Agile for Distributed Teams
PMI-Agile for Distributed TeamsPMI-Agile for Distributed Teams
PMI-Agile for Distributed Teams
 
Tracking through kanban
Tracking through kanbanTracking through kanban
Tracking through kanban
 
Scrum best practices
Scrum best practicesScrum best practices
Scrum best practices
 
Need for scaling agile
Need for scaling agileNeed for scaling agile
Need for scaling agile
 
Agile for Infrastructure Projects
Agile for Infrastructure ProjectsAgile for Infrastructure Projects
Agile for Infrastructure Projects
 
Agile Testing
Agile Testing Agile Testing
Agile Testing
 

Dernier

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
 
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 ConsultingTechSoup
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDThiyagu K
 
Disha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfDisha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfchloefrazer622
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationnomboosow
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsTechSoup
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformChameera Dedduwage
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfchloefrazer622
 
JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...
JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...
JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...anjaliyadav012327
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxSayali Powar
 
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...Sapna Thakur
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptxVS Mahajan Coaching Centre
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesFatimaKhan178732
 
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 SectorsAssociation for Project Management
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdfQucHHunhnh
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionSafetyChain Software
 
Russian Call Girls in Andheri Airport Mumbai WhatsApp 9167673311 💞 Full Nigh...
Russian Call Girls in Andheri Airport Mumbai WhatsApp  9167673311 💞 Full Nigh...Russian Call Girls in Andheri Airport Mumbai WhatsApp  9167673311 💞 Full Nigh...
Russian Call Girls in Andheri Airport Mumbai WhatsApp 9167673311 💞 Full Nigh...Pooja Nehwal
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Krashi Coaching
 

Dernier (20)

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
 
Advance Mobile Application Development class 07
Advance Mobile Application Development class 07Advance Mobile Application Development class 07
Advance Mobile Application Development class 07
 
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
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SD
 
Disha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfDisha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdf
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communication
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
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"
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdf
 
JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...
JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...
JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
 
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and Actinides
 
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
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory Inspection
 
Russian Call Girls in Andheri Airport Mumbai WhatsApp 9167673311 💞 Full Nigh...
Russian Call Girls in Andheri Airport Mumbai WhatsApp  9167673311 💞 Full Nigh...Russian Call Girls in Andheri Airport Mumbai WhatsApp  9167673311 💞 Full Nigh...
Russian Call Girls in Andheri Airport Mumbai WhatsApp 9167673311 💞 Full Nigh...
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
 

Istqb foundation level day 1

  • 1. ISTQB Foundation Level Day 1 Shuchi Singla, PMI-ACP, ITIL(F) and ISEB
  • 2. Agenda - Day 1 • Introduction to ISTQB • Principles of testing • Testing throughout the life-cycle • Static techniques • Tool support for testing
  • 4. What is ISTQB? • • The International Software Testing Qualifications Board (ISTQB) is a software testing qualification certification organization that was founded in Edinburgh in November 2002, and is a non-profit association legally registered in Belgium ISTQB® Certified Tester is a standardized qualification for software testers and based on a syllabus, and there is a hierarchy of qualifications and guidelines for accreditation and examination http://www.istqb.org/about-istqb.html
  • 6. Foundation Level Exam Structure Exam Number of questions per K levels K1 Foundation • • • K2 20 K3 12 K4 Total 8 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). 40
  • 7. What are K- Levels? • • • • 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
  • 9. What is Software Testing? • It can also be stated as the process of validating and verifying that a software program or application or product: • • • Meets the business and technical requirements that guided it’s design and development Works as expected Can be implemented with the same characteristic.
  • 10. Why is testing necessary? • • • Mistakes. Some of those mistakes are unimportant, but some of them are expensive or dangerous. We need to check everything and anything we produce because things can always go wrong –humans make mistakes all the time. Bad assumptions and blind spots. So we might make the same mistakes when we check our own work as we made when we did it. So we may not notice the flaws in what we have done. Ideally, someone else should check our work because another person is more likely to spot the flaws.
  • 11. What is a “bug”? • Error: a human action that produces an incorrect result • Fault: a manifestation of an error in software • • also known as a defect or bug if executed, a fault may cause a failure • Failure: deviation of the software from its expected delivery or service • (found defect) Failure is an event; fault is a state of the software, caused by an error
  • 12. Exhaustive testing? • • What is exhaustive testing? • • • when all the testers are exhausted when all the planned tests have been executed exercising all combinations of inputs and preconditions How much time will exhaustive testing take? • • • infinite time not much time impractical amount of time
  • 13. How much testing is enough? • • • • • • it’s never enough when you have done what you planned when your customer/user is happy when you have proved that the system works correctly when you are confident that the system works correctly it depends on the risks for your system
  • 14. How much testing? • It depends on RISK • • • • • • risk of missing important faults risk of incurring failure costs risk of releasing untested or under-tested software risk of losing credibility and market share risk of missing a market window risk of over-testing, ineffective testing
  • 15. So little time, so much to test .. • test time will always be limited • use RISK to determine: • • • • what to test first what to test most how thoroughly to test each item } i.e. where to place emphasis what not to test (this time) • use RISK to • allocate the time available for testing by prioritising testing ...
  • 16. Seven Testing Principles • Testing shows presence of defects • • Exhaustive testing is impossible • • Testing reduces the probability of undiscovered defects remaining in the software but, no defects , is not a proof of correctness. Testing everything (all combinations of inputs and preconditions) is not feasible. Instead, risk analysis and priorities should be used to focus testing efforts Early testing • To find defects early, testing activities shall be started as early as possible in the software or system development life cycle, and shall be focused on defined objectives
  • 17. Seven Testing Principles • Defect clustering • • Pesticide Paradox • • If the same tests are repeated over and over again, they will no longer find any new defects. To overcome this test cases need to be reviewed and revised, to exercise different parts of the software Absence-of-errors fallacy • • Testing effort shall be focused proportionally to the expected and later observed defect density of modules Finding and fixing defects does not help if the system built is unusable and does not fulfill the users needs and expectations Testing is context dependent • Testing is done in different contexts. For example, safety-critical software is tested differently from an e-commerce site.
  • 19. Test Planning - different levels Test Policy Company level Test Strategy High Level High Level Test Plan Test Plan Detailed Detailed Test Plan Detailed Test Plan Detailed Test Plan Test Plan Project level (IEEE 829) (one for each project) Test stage level (IEEE 829) (one for each stage within a project, e.g. Component, System, etc.)
  • 20. The test process Planning (detailed level) specification execution recording check completion
  • 21. Test planning • How the test strategy and project test plan apply to the software under test • Document any exceptions to the test strategy • e.g. only one test case design technique needed for this functional area because it is less critical • Other software needed for the tests and environment details • Set test completion criteria
  • 22. Test specification Planning (detailed level) specification execution Identify conditions Design test cases Build tests recording check completion
  • 23. Test specification • Test specification can be broken down into three distinct tasks: 1. identify: determine ‘what’ is to be tested (identify test conditions) and prioritise 2. design: determine ‘how’ the ‘what’ is to be tested (i.e. design test cases) 3. build: implement the tests (data, scripts, etc.)
  • 24. A good test case • Effective • Exemplary • evolvable • Finds faults Represents others Easy to maintain economic Cheap to use
  • 25. Test execution Planning (detailed level) specification execution recording check completion
  • 26. Execution • Execute prescribed test cases • • most important ones first would not execute all test cases if • • • • testing only fault fixes too many faults found by early test cases time pressure can be performed manually or automated
  • 27. Test recording Planning (detailed level) specification execution recording check completion
  • 28. Test recording 1 • • The test record contains: • identities and versions (unambiguously) of • • software under test test specifications Follow the plan • • • • mark off progress on test script document actual outcomes from the test capture any other ideas you have for new test cases note that these records are used to establish that all test activities have been carried out as specified
  • 29. Test recording 2 • • • Compare actual outcome with expected outcome. Log discrepancies accordingly: • • • • software fault test fault (e.g. expected results wrong) environment or version fault test run incorrectly Log coverage levels achieved (for measures specified as test completion criteria) After the fault has been fixed, repeat the required test activities (execute, design, plan)
  • 30. Check test completion Planning (detailed level) specification execution recording check completion
  • 31. Check test completion • Test completion criteria were specified in the test plan • If not met, need to repeat test activities, e.g. test specification to design more tests Coverage too low specification execution recording check completion Coverage OK
  • 32. Test completion criteria • Completion or exit criteria apply to all levels of testing - to determine when to stop • coverage, using a measurement technique, e.g. • • • • • branch coverage for unit testing user requirements most frequently used transactions faults found (e.g. versus expected) cost or time
  • 33. Why test? • • • • • • • build confidence prove that the software is correct demonstrate conformance to requirements find faults reduce costs show system meets user needs assess the software quality
  • 35. Assessing software quality You think you are here Many Faults High Few Faults Low High Software Quality Many Faults Test Quality You may be here Low Few Faults
  • 37. What is software verification? • Ensures product is designed to deliver all functionality to the customer • Includes reviews and meetings, walkthroughs, inspection • Answers the question: Am I building the product right?
  • 38. What is software validation? • Determines if the system complies with the requirements and performs functions for which it is intended and meets the organization’s goals and user needs • Done at the end of the development process and takes place after verifications are completed • Answers the question: Am I building the right product?
  • 39. What is Capability Maturity Model? • • • • Bench-mark for measuring the maturity of an organization’s software process Assesses an organization against a scale of five process maturity levels based on certain Key Process Areas (KPA) Describes the maturity of the company based upon the project the company is dealing with and the clients There are five maturity levels designated by the numbers 1 through 5 as shown below: 1. 2. 3. 4. 5. Initial Managed Defined Quantitatively Managed Optimizing
  • 42. Software Development Models • Software life cycle models describe phases of the software cycle and the order in which those phases are executed • Few Software development models are as follows: • • • Waterfall model V model Agile model
  • 43. Waterfall Model • • • Most common and classic of life cycle models, also referred to as a linear-sequential life cycle model Each phase must be completed in its entirety before the next phase can begin Review takes place at end of each phase to determine if the project is on the right path and whether to continue or discard the project
  • 44. V- Model • Means Verification and Validation model • V-Shaped life cycle is a sequential path of execution of processes • Testing of the product is planned in parallel with a corresponding phase of development
  • 45. Agile Model • • • Builds are provided in iterations Every iteration involves cross functional teams working simultaneously on various areas like planning, requirements analysis, design, coding, unit testing, and acceptance testing End of the iteration a working product is displayed to the customer and important stakeholders
  • 47. Testing Levels • • Identify missing areas and prevent overlap and repetition between the development life cycle phases Various levels of testing are: • • • • • • • Unit testing Component testing Integration testing System testing Acceptance testing Alpha testing Beta testing
  • 48. Types of Testing • • Blackbox Testing Testing technique that ignores the internal mechanism of the system and focuses on the output generated against any input and execution of the system. It is also called functional testing. Whitebox Testing White box testing is a testing technique that takes into account the internal mechanism of a system. It is also called structural testing and glass box testing. Black box testing is often used for validation and white box testing is often used for verification.
  • 49. Types of Testing • Unit Testing Testing of an individual unit or group of related units. It falls under the class of white box testing • Integration Testing Testing in which a group of components are combined to produce output. Also, the interaction between software and hardware is tested. It may fall under both white box testing and black box testing • Functional Testing Testing to ensure that the specified functionality required in the system requirements works. It falls under the class of black box testing • System Testing Testing to ensure that by putting the software in different environments (e.g., Operating Systems) it still works. System testing is done with full system implementation and environment. It falls under the class of black box testing
  • 50. Types of Testing • Acceptance Testing Testing is often done by the customer to ensure that the delivered product meets the requirements and works as the customer expected. It falls under the class of black box testing. • Regression Testing Testing after modification of a system, component, or a group of related units to ensure that the modification is working correctly and is not imposing other modules to produce unexpected results. It falls under the class of black box testing. • Beta Testing Testing which is done by end users, a team outside development, or publicly releasing full preversion of the product which is known as beta version. It falls under the class of black box testing
  • 52. Test Design Technique • Test Design is creating a set of inputs for given software that will provide a set of expected outputs • Ensures that the system is working good enough and it can be released with as few problems for the average user • Two main categories of Test Design Techniques are: • • Static Techniques Dynamic Techniques
  • 54. Static Testing Techniques • Informal Review is • • • • applied many times during the early stages of the life cycle of the document goal is to improve the quality of the document informal reviews is are not documented Technical Review • • • • less formal review performed as a peer review without management participation Led by moderator inform participants about the technical content of the document
  • 55. Static Testing Techniques • Walkthrough is • • • • not a formal process/review led by the author aim is to gain feedback about the technical quality or content of the document; and/or to familiarize the audience with the content Inspection • • • • • most formal review trained individuals look for defects using a well defined process led by moderator defects found are documented in a logging list or issue log formal follow-up is carried out by the moderator applying exit criteria
  • 56. Tool Support for Testing
  • 57. Types of software testing tools • Tools are grouped by the testing activities or areas that are supported by a set of tools • Example a ‘test management’ tool may provide support for managing testing (progress monitoring), configuration management of testware, incident management, and requirements management and traceability

Notes de l'éditeur

  1. http://istqbexamcertification.com/what-is-capability-maturity-model/