SlideShare a Scribd company logo
1 of 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??

More Related Content

What's hot

What's hot (20)

Software Testing Life Cycle (STLC) | Software Testing Tutorial | Edureka
Software Testing Life Cycle (STLC) | Software Testing Tutorial | EdurekaSoftware Testing Life Cycle (STLC) | Software Testing Tutorial | Edureka
Software Testing Life Cycle (STLC) | Software Testing Tutorial | Edureka
 
Chapter 1 - Fundamentals of Testing
Chapter 1 - Fundamentals of TestingChapter 1 - Fundamentals of Testing
Chapter 1 - Fundamentals of Testing
 
ISTQB foundation level - day 2
ISTQB foundation level - day 2ISTQB foundation level - day 2
ISTQB foundation level - day 2
 
Introduction & Manual Testing
Introduction & Manual TestingIntroduction & Manual Testing
Introduction & Manual Testing
 
Agile Testing by Example
Agile Testing by ExampleAgile Testing by Example
Agile Testing by Example
 
ISTQB / ISEB Foundation Exam Practice -1
ISTQB / ISEB Foundation Exam Practice -1ISTQB / ISEB Foundation Exam Practice -1
ISTQB / ISEB Foundation Exam Practice -1
 
Manual testing
Manual testingManual testing
Manual testing
 
Software Testing Process
Software Testing ProcessSoftware Testing Process
Software Testing Process
 
Introduction to Agile Testing
Introduction to Agile TestingIntroduction to Agile Testing
Introduction to Agile Testing
 
Agile Testing Strategy
Agile Testing StrategyAgile Testing Strategy
Agile Testing Strategy
 
Software testing
Software testingSoftware testing
Software testing
 
ISTQB - Software development life cycle
ISTQB - Software development life cycleISTQB - Software development life cycle
ISTQB - Software development life cycle
 
Agile testing
Agile testingAgile testing
Agile testing
 
Basic software-testing-concepts
Basic software-testing-conceptsBasic software-testing-concepts
Basic software-testing-concepts
 
Istqb chapter 5
Istqb chapter 5Istqb chapter 5
Istqb chapter 5
 
Testing fundamentals
Testing fundamentalsTesting fundamentals
Testing fundamentals
 
Test Automation in Agile
Test Automation in AgileTest Automation in Agile
Test Automation in Agile
 
Agile QA and Testing process
Agile QA and Testing processAgile QA and Testing process
Agile QA and Testing process
 
Regression testing
Regression testingRegression testing
Regression testing
 
Basic Guide to Manual Testing
Basic Guide to Manual TestingBasic Guide to Manual Testing
Basic Guide to Manual Testing
 

Similar to 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
 

Similar to 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
 

More from 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
 

Recently uploaded

Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docxPoojaSen20
 
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 ModeThiyagu K
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxpboyjonauth
 
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
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentInMediaRes1
 
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
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13Steve Thomason
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Celine George
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdfssuser54595a
 
PSYCHIATRIC History collection FORMAT.pptx
PSYCHIATRIC   History collection FORMAT.pptxPSYCHIATRIC   History collection FORMAT.pptx
PSYCHIATRIC History collection FORMAT.pptxPoojaSen20
 
MENTAL STATUS EXAMINATION format.docx
MENTAL     STATUS EXAMINATION format.docxMENTAL     STATUS EXAMINATION format.docx
MENTAL STATUS EXAMINATION format.docxPoojaSen20
 
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
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon AUnboundStockton
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3JemimahLaneBuaron
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Sapana Sha
 

Recently uploaded (20)

TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docx
 
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
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptx
 
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
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media Component
 
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
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
 
PSYCHIATRIC History collection FORMAT.pptx
PSYCHIATRIC   History collection FORMAT.pptxPSYCHIATRIC   History collection FORMAT.pptx
PSYCHIATRIC History collection FORMAT.pptx
 
MENTAL STATUS EXAMINATION format.docx
MENTAL     STATUS EXAMINATION format.docxMENTAL     STATUS EXAMINATION format.docx
MENTAL STATUS EXAMINATION format.docx
 
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
 
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
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon A
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 

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

Editor's Notes

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