SlideShare une entreprise Scribd logo
1  sur  35





Verification and validation should establish
confidence that the software is fit for purpose
This does NOT mean completely free of
defects
Rather, it must be good enough for its
intended use and the type of use will
determine the degree of confidence that is
needed
•

•

Verification: The software should conform
to its specification (Are we building the
product right?)
Validation: The software should do what
the user really requires (Are we building
the right product?)









Requirements Phase
Specification Phase (Analysis)
Planning Phase
Design Phase
Implementation Phase
Integration and Testing
Maintenance
Retirement
•

•

Is a whole life-cycle process - V & V
must be applied at each stage in the
software process.
Has two principal objectives
– The discovery of defects in a system
– The assessment of whether or not the
system is usable in an operational situation.
•

•

Software inspections and walkthroughs
- Concerned with analysis of the static
system representation to discover
problems (static verification)
Software testing - Concerned with
exercising and observing product
behaviour (dynamic verification)

– The system is executed with test data and its
operational behaviour is observed
S t at ic
verifi cat io n

R equ irem ent s
s pecifi cat io n

P ro to ty pe

Hi g h-lev el
d es ig n

Fo rm al
s pecifi cat io n

Det ail ed
d es ig n

P rog ram

Dy nam i c
v ali dat io n
•

•

•

•

Careful planning is required to get the most out of
testing and inspection processes
Planning should start early in the development
process
The plan should identify the balance between
static verification and testing
Test planning is about defining standards for the
testing process rather than describing product
tests
Requ ir em ent s
s pecifi cat io n

S y st em
s pecifi cat io n

S y st em
i nt eg rat io n
t es t pl an

Accep tan ce
t es t pl an

S ervi ce

Sy stem
d es ig n

Accep tan ce
t es t

Det ail ed
d es ig n

S u b-s ys tem
i nt eg rat io n
t es t pl an

Sy stem
i nt eg ratio n t est

S u b-s ys tem
i nt eg rat io n t est

M o du le an d
u ni t co de
and t ess








The testing process
Requirements traceability
Tested items
Testing schedule
Test recording procedures
Hardware and software requirements
Constraints



Informal examination of a product (document)
Made up of:
◦
◦
◦
◦



developers
client
next phase developers
Software Quality Assurance group leader

Produces:
◦ list of items not understood
◦ list of items thought to be incorrect








Involve people examining the source
representation with the aim of discovering
anomalies and defects
Do not require execution of a system so may be
used before implementation
May be applied to any representation of the
system (requirements, design, test data, etc.)
Very effective technique for discovering errors




Many different defects may be discovered in
a single inspection. In testing, one defect
may mask another so several executions are
required
The reuse domain and programming
knowledge so reviewers are likely to have
seen the types of error that commonly arise







Inspections and testing are complementary and
not opposing verification techniques
Both should be used during the V & V process
Inspections can check conformance with a
specification but not conformance with the
customer‟s real requirements
Inspections cannot check non-functional
characteristics such as performance, usability, etc.





Formalised approach to document reviews
Intended explicitly for defect DETECTION
(not correction)
Defects may be logical errors, anomalies in
the code that might indicate an erroneous
condition (e.g. an un-initialised variable) or
non-compliance with standards










A precise specification must be available
Team members must be familiar with the
organisation standards
Syntactically correct code must be available
An error checklist should be prepared
Management must accept that inspection will
increase costs early in the software process
Management must not use inspections for staff
appraisal









System overview presented to inspection team
Code and associated documents are
distributed to inspection team in advance
Inspection takes place and discovered errors
are noted
Modifications are made to repair discovered
errors
Re-inspection may or may not be required









Made up of at least 4 members
Author of the code being inspected
Inspector who finds errors, omissions and
inconsistencies
Reader who reads the code to the team
Moderator who chairs the meeting and notes
discovered errors
Other roles are Scribe and Chief moderator








Checklist of common errors should be used to
drive the inspection
Error checklist is programming language
dependent
The 'weaker' the type checking, the larger the
checklist
Examples: Initialization, Constant naming, loop
termination, array bounds, etc.








500 statements/hour during overview
125 source statement/hour during individual
preparation
90-125 statements/hour can be inspected
Inspection is therefore an expensive process
Inspecting 500 lines costs about 40 man/hours
effort (@ $50/hr = $2000!!!)
•

•

•

•

Can reveal the presence of errors NOT their
absence
A successful test is a test which discovers one or
more errors
The only validation technique for non-functional
requirements
Should be used in conjunction with static
verification to provide full V&V coverage






“Program testing can be a very effective way to
show the presents of bugs but is hopelessly
inadequate for showing their absence” [Dijkstra]
Fault: “bug” incorrect piece of code
Failure: result of a fault
Error: mistake made by the programmer/developer
•

•

•

•

Defect testing and debugging are distinct
processes
Verification and validation is concerned with
establishing the existence of defects in a program
Debugging is concerned with locating and
repairing these errors
Debugging involves formulating a hypothesis
about program behaviour then testing these
hypotheses to find the system error
Test
resu lt s

Lo cat e
erro r

Test
cases

Sp eci ficat io n

Des ig n
erro r repai r

Repai r
erro r

R e-tes t
p rog ram
C o m po nent
t es ti ng

Int egrat io n
t es ti ng

So ftw are dev elo per

Ind epen den t tes ti ng team


Component testing
◦
◦
◦



Testing of individual program components
Usually the responsibility of the component
developer (except sometimes for critical systems)
Tests are derived from the developer‟s experience

Integration testing
◦

◦
◦

Testing of groups of components integrated to
create a system or sub-system
The responsibility of an independent testing team
Tests are based on a system specification
•

•

•

•

Only exhaustive testing can show a program is
free from defects. However, exhaustive testing is
impossible
Tests should exercise a system's capabilities
rather than its components
Testing old capabilities is more important than
testing new capabilities
Testing typical situations is more important than
boundary value cases
•

Test data Inputs which have been devised

•

Test cases Inputs to test the system and

to test the system

the predicted outputs from these inputs if
the system operates according to its
specification






Test cases and test scenarios comprise
much of a software systems testware.
Black box test cases are developed by
domain analysis and examination of the
system requirements and specification.

Glass box test cases are developed by
examining the behavior of the source code.


Test to specification:
◦
◦
◦
◦



Black box,
Data driven
Functional testing
Code is ignored: only use specification document
to develop test cases

Test to code:
◦ Glass box/White box
◦ Logic driven testing
◦ Ignore specification and only examine the code.





An approach to testing where the program
is considered as a „black-box‟
The program test cases are based on the
system specification
Test planning can begin early in the
software process
I

n

a

Inp ut t est dat a

I

p

n

b

u

t

o

m

h

e

a

s

c

a

v

l

i

a

o

o

u

u

u

s

i

n

g

s

r

e

S

y

s

t

e

m

O

t

Ou t pu t t est resu lt s

Oe

d

u

h

t

e

e

p

u

p

f

e

t

r

c

e

t

s

s

s

w

e

h

n

c

i

e

c

h

o

r

f

e

v

e

a

l
•

•

•

•

Sometime called structural testing or glass-box
testing
Derivation of test cases according to program
structure
Knowledge of the program is used to identify
additional test cases
Objective is to exercise all program statements
(not all path combinations)


Statement coverage ◦ Test cases which will execute every statement at least once.
◦ Tools exist for help
◦ No guarantee that all branches are properly tested. Loop
exit?



Branch coverage
◦ All branches are tested once



Path coverage - Restriction of type of paths:
◦ Linear code sequences
◦ Definition/Use checking (all definition/use paths)
◦ Can locate dead code
Test d at a

Test s

Deri ves

C o m po nent
cod e

Test
o ut pu ts

Contenu connexe

Tendances

ISTQB Foundation - Chapter 3
ISTQB Foundation - Chapter 3ISTQB Foundation - Chapter 3
ISTQB Foundation - Chapter 3Chandukar
 
Fundamentals of software testing
Fundamentals of software testingFundamentals of software testing
Fundamentals of software testingNoha Gamal
 
Software Testing 101
Software Testing 101Software Testing 101
Software Testing 101QA Hannah
 
Testing concepts [3] - Software Testing Techniques (CIS640)
Testing concepts [3] - Software Testing Techniques (CIS640)Testing concepts [3] - Software Testing Techniques (CIS640)
Testing concepts [3] - Software Testing Techniques (CIS640)Venkatesh Prasad Ranganath
 
ISTQB / ISEB Foundation Exam Practice -1
ISTQB / ISEB Foundation Exam Practice -1ISTQB / ISEB Foundation Exam Practice -1
ISTQB / ISEB Foundation Exam Practice -1Yogindernath Gupta
 
ISTQB / ISEB Foundation Exam Practice - 6
ISTQB / ISEB Foundation Exam Practice - 6ISTQB / ISEB Foundation Exam Practice - 6
ISTQB / ISEB Foundation Exam Practice - 6Yogindernath Gupta
 
Manual testing concepts course 1
Manual testing concepts course 1Manual testing concepts course 1
Manual testing concepts course 1Raghu Kiran
 
powerpoint template for testing training
powerpoint template for testing trainingpowerpoint template for testing training
powerpoint template for testing trainingJohn Roddy
 
Iseb, ISTQB Static Testing
Iseb, ISTQB Static TestingIseb, ISTQB Static Testing
Iseb, ISTQB Static Testingonsoftwaretest
 
Static testing techniques
Static testing techniquesStatic testing techniques
Static testing techniquesMazenetsolution
 
TESTING LIFE CYCLE PPT
TESTING LIFE CYCLE PPTTESTING LIFE CYCLE PPT
TESTING LIFE CYCLE PPTsuhasreddy1
 
Basic Guide to Manual Testing
Basic Guide to Manual TestingBasic Guide to Manual Testing
Basic Guide to Manual TestingHiral Gosani
 
Manual testing
Manual testingManual testing
Manual testingVivek V
 

Tendances (20)

ISTQB Foundation - Chapter 3
ISTQB Foundation - Chapter 3ISTQB Foundation - Chapter 3
ISTQB Foundation - Chapter 3
 
Software testing
Software testingSoftware testing
Software testing
 
Fundamentals of software testing
Fundamentals of software testingFundamentals of software testing
Fundamentals of software testing
 
Software testing
Software testingSoftware testing
Software testing
 
Software Testing 101
Software Testing 101Software Testing 101
Software Testing 101
 
Testing concepts [3] - Software Testing Techniques (CIS640)
Testing concepts [3] - Software Testing Techniques (CIS640)Testing concepts [3] - Software Testing Techniques (CIS640)
Testing concepts [3] - Software Testing Techniques (CIS640)
 
Test Levels & Techniques
Test Levels & TechniquesTest Levels & Techniques
Test Levels & Techniques
 
ISTQB / ISEB Foundation Exam Practice -1
ISTQB / ISEB Foundation Exam Practice -1ISTQB / ISEB Foundation Exam Practice -1
ISTQB / ISEB Foundation Exam Practice -1
 
ISTQB / ISEB Foundation Exam Practice - 6
ISTQB / ISEB Foundation Exam Practice - 6ISTQB / ISEB Foundation Exam Practice - 6
ISTQB / ISEB Foundation Exam Practice - 6
 
Manual testing concepts course 1
Manual testing concepts course 1Manual testing concepts course 1
Manual testing concepts course 1
 
Testing fundamentals
Testing fundamentalsTesting fundamentals
Testing fundamentals
 
powerpoint template for testing training
powerpoint template for testing trainingpowerpoint template for testing training
powerpoint template for testing training
 
Tlc
TlcTlc
Tlc
 
Iseb, ISTQB Static Testing
Iseb, ISTQB Static TestingIseb, ISTQB Static Testing
Iseb, ISTQB Static Testing
 
Static testing techniques
Static testing techniquesStatic testing techniques
Static testing techniques
 
TESTING LIFE CYCLE PPT
TESTING LIFE CYCLE PPTTESTING LIFE CYCLE PPT
TESTING LIFE CYCLE PPT
 
Software testing
Software testing Software testing
Software testing
 
Basic Guide to Manual Testing
Basic Guide to Manual TestingBasic Guide to Manual Testing
Basic Guide to Manual Testing
 
St
StSt
St
 
Manual testing
Manual testingManual testing
Manual testing
 

En vedette

Basic service capability, logistics and supply chain management
Basic service capability, logistics and supply chain managementBasic service capability, logistics and supply chain management
Basic service capability, logistics and supply chain managementIndraja Modem
 
From Zero to Agile: The Learnings of a First-time Quality Analyst
From Zero to Agile: The Learnings of a First-time Quality AnalystFrom Zero to Agile: The Learnings of a First-time Quality Analyst
From Zero to Agile: The Learnings of a First-time Quality AnalystTom Oketch
 
Preparing for new project inbound material logistics operation
Preparing for new project inbound material logistics operationPreparing for new project inbound material logistics operation
Preparing for new project inbound material logistics operationWei Li
 
Business Analyst Training in Hyderabad
Business Analyst Training in HyderabadBusiness Analyst Training in Hyderabad
Business Analyst Training in HyderabadUgs8008
 
Scorecard for subcontracted 2 p ls & 3pls
Scorecard for subcontracted 2 p ls & 3plsScorecard for subcontracted 2 p ls & 3pls
Scorecard for subcontracted 2 p ls & 3plsWei Li
 
Business Analyst Modules
Business Analyst ModulesBusiness Analyst Modules
Business Analyst Modulessfsugis
 
Service Blueprint - Supply Chain Logistics DHL
Service Blueprint - Supply Chain Logistics DHLService Blueprint - Supply Chain Logistics DHL
Service Blueprint - Supply Chain Logistics DHLTushar G
 
Customer oriented logistics management
Customer oriented logistics managementCustomer oriented logistics management
Customer oriented logistics managementAruzmahajan
 
What Every Project Manager Should Know About Itil
What Every Project Manager Should Know About ItilWhat Every Project Manager Should Know About Itil
What Every Project Manager Should Know About ItilDaniel Cayouette
 
Internal Auditor Course
Internal Auditor CourseInternal Auditor Course
Internal Auditor CourseDan Stehling
 
IT and Business Service Catalogs
IT and Business Service CatalogsIT and Business Service Catalogs
IT and Business Service CatalogsITSM Academy, Inc.
 
Logistics as Customer Service
Logistics as Customer ServiceLogistics as Customer Service
Logistics as Customer ServiceYonus Siddiqui
 
Courier And Logistics
Courier And LogisticsCourier And Logistics
Courier And LogisticsJitendra
 
Business Analyst Training
Business  Analyst  TrainingBusiness  Analyst  Training
Business Analyst TrainingCraig Brown
 
Air Cargo 101
Air Cargo 101Air Cargo 101
Air Cargo 101Yanli Liu
 
Principles Of Logistics Management
Principles Of Logistics ManagementPrinciples Of Logistics Management
Principles Of Logistics ManagementYvonne
 
Freight forwarding presentation
Freight forwarding presentationFreight forwarding presentation
Freight forwarding presentationDanna
 
Logistics Management Presentation
Logistics Management PresentationLogistics Management Presentation
Logistics Management Presentationctburns72
 

En vedette (20)

Basic service capability, logistics and supply chain management
Basic service capability, logistics and supply chain managementBasic service capability, logistics and supply chain management
Basic service capability, logistics and supply chain management
 
UPS Industrial Buying Dynamics
UPS Industrial Buying DynamicsUPS Industrial Buying Dynamics
UPS Industrial Buying Dynamics
 
From Zero to Agile: The Learnings of a First-time Quality Analyst
From Zero to Agile: The Learnings of a First-time Quality AnalystFrom Zero to Agile: The Learnings of a First-time Quality Analyst
From Zero to Agile: The Learnings of a First-time Quality Analyst
 
Preparing for new project inbound material logistics operation
Preparing for new project inbound material logistics operationPreparing for new project inbound material logistics operation
Preparing for new project inbound material logistics operation
 
Business Analyst Training in Hyderabad
Business Analyst Training in HyderabadBusiness Analyst Training in Hyderabad
Business Analyst Training in Hyderabad
 
Scorecard for subcontracted 2 p ls & 3pls
Scorecard for subcontracted 2 p ls & 3plsScorecard for subcontracted 2 p ls & 3pls
Scorecard for subcontracted 2 p ls & 3pls
 
Business Analyst Modules
Business Analyst ModulesBusiness Analyst Modules
Business Analyst Modules
 
Service Blueprint - Supply Chain Logistics DHL
Service Blueprint - Supply Chain Logistics DHLService Blueprint - Supply Chain Logistics DHL
Service Blueprint - Supply Chain Logistics DHL
 
Customer oriented logistics management
Customer oriented logistics managementCustomer oriented logistics management
Customer oriented logistics management
 
What Every Project Manager Should Know About Itil
What Every Project Manager Should Know About ItilWhat Every Project Manager Should Know About Itil
What Every Project Manager Should Know About Itil
 
Internal Auditor Course
Internal Auditor CourseInternal Auditor Course
Internal Auditor Course
 
IT and Business Service Catalogs
IT and Business Service CatalogsIT and Business Service Catalogs
IT and Business Service Catalogs
 
Logistics as Customer Service
Logistics as Customer ServiceLogistics as Customer Service
Logistics as Customer Service
 
Courier And Logistics
Courier And LogisticsCourier And Logistics
Courier And Logistics
 
Air cargo overview ppt
Air cargo overview pptAir cargo overview ppt
Air cargo overview ppt
 
Business Analyst Training
Business  Analyst  TrainingBusiness  Analyst  Training
Business Analyst Training
 
Air Cargo 101
Air Cargo 101Air Cargo 101
Air Cargo 101
 
Principles Of Logistics Management
Principles Of Logistics ManagementPrinciples Of Logistics Management
Principles Of Logistics Management
 
Freight forwarding presentation
Freight forwarding presentationFreight forwarding presentation
Freight forwarding presentation
 
Logistics Management Presentation
Logistics Management PresentationLogistics Management Presentation
Logistics Management Presentation
 

Similaire à Quality Analyst Training - Gain America

Software testing-and-analysis
Software testing-and-analysisSoftware testing-and-analysis
Software testing-and-analysisWBUTTUTORIALS
 
SENG202-v-and-v-modeling_121810.pptx
SENG202-v-and-v-modeling_121810.pptxSENG202-v-and-v-modeling_121810.pptx
SENG202-v-and-v-modeling_121810.pptxMinsasWorld
 
Sv&V Rim
Sv&V RimSv&V Rim
Sv&V Rimwachakhan
 
Verification and Validation in Software Engineering SE19
Verification and Validation in Software Engineering SE19Verification and Validation in Software Engineering SE19
Verification and Validation in Software Engineering SE19koolkampus
 
verification and validation
verification and validationverification and validation
verification and validationDinesh Pasi
 
Mca se chapter_07_software_validation
Mca se chapter_07_software_validationMca se chapter_07_software_validation
Mca se chapter_07_software_validationAman Adhikari
 
Software Quality Assurance
Software Quality AssuranceSoftware Quality Assurance
Software Quality AssuranceSaqib Raza
 
Software testing & Quality Assurance
Software testing & Quality Assurance Software testing & Quality Assurance
Software testing & Quality Assurance Webtech Learning
 
Objectorientedtesting 160320132146
Objectorientedtesting 160320132146Objectorientedtesting 160320132146
Objectorientedtesting 160320132146vidhyyav
 
Object oriented testing
Object oriented testingObject oriented testing
Object oriented testingHaris Jamil
 
Software testing and software development process
Software testing and software development processSoftware testing and software development process
Software testing and software development processGen Aloys Ochola Badde
 
softwaretestingppt-120810095500-phpapp02 (1).pdf
softwaretestingppt-120810095500-phpapp02 (1).pdfsoftwaretestingppt-120810095500-phpapp02 (1).pdf
softwaretestingppt-120810095500-phpapp02 (1).pdfBabaShaikh3
 

Similaire à Quality Analyst Training - Gain America (20)

Software testing-and-analysis
Software testing-and-analysisSoftware testing-and-analysis
Software testing-and-analysis
 
SENG202-v-and-v-modeling_121810.pptx
SENG202-v-and-v-modeling_121810.pptxSENG202-v-and-v-modeling_121810.pptx
SENG202-v-and-v-modeling_121810.pptx
 
Sv&V Rim
Sv&V RimSv&V Rim
Sv&V Rim
 
Verification and Validation in Software Engineering SE19
Verification and Validation in Software Engineering SE19Verification and Validation in Software Engineering SE19
Verification and Validation in Software Engineering SE19
 
L software testing
L   software testingL   software testing
L software testing
 
verification and validation
verification and validationverification and validation
verification and validation
 
Software Quality
Software Quality Software Quality
Software Quality
 
Mca se chapter_07_software_validation
Mca se chapter_07_software_validationMca se chapter_07_software_validation
Mca se chapter_07_software_validation
 
Software Quality Assurance
Software Quality AssuranceSoftware Quality Assurance
Software Quality Assurance
 
SECh1920
SECh1920SECh1920
SECh1920
 
Software testing & Quality Assurance
Software testing & Quality Assurance Software testing & Quality Assurance
Software testing & Quality Assurance
 
Objectorientedtesting 160320132146
Objectorientedtesting 160320132146Objectorientedtesting 160320132146
Objectorientedtesting 160320132146
 
Object oriented testing
Object oriented testingObject oriented testing
Object oriented testing
 
Ch22
Ch22Ch22
Ch22
 
Software testing and software development process
Software testing and software development processSoftware testing and software development process
Software testing and software development process
 
SW Testing Fundamentals
SW Testing FundamentalsSW Testing Fundamentals
SW Testing Fundamentals
 
testing.pptx
testing.pptxtesting.pptx
testing.pptx
 
Software_Testing_ppt.pptx
Software_Testing_ppt.pptxSoftware_Testing_ppt.pptx
Software_Testing_ppt.pptx
 
softwaretestingppt-120810095500-phpapp02 (1).pdf
softwaretestingppt-120810095500-phpapp02 (1).pdfsoftwaretestingppt-120810095500-phpapp02 (1).pdf
softwaretestingppt-120810095500-phpapp02 (1).pdf
 
Types of testing
Types of testingTypes of testing
Types of testing
 

Dernier

Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.Curtis Poe
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLScyllaDB
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsMiki Katsuragi
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteDianaGray10
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024Lonnie McRorey
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...Fwdays
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024Stephanie Beckett
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfAddepto
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek SchlawackFwdays
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 3652toLead Limited
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity PlanDatabarracks
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningLars Bell
 

Dernier (20)

Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQL
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering Tips
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test Suite
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity Plan
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine Tuning
 

Quality Analyst Training - Gain America

  • 1.
  • 2.    Verification and validation should establish confidence that the software is fit for purpose This does NOT mean completely free of defects Rather, it must be good enough for its intended use and the type of use will determine the degree of confidence that is needed
  • 3. • • Verification: The software should conform to its specification (Are we building the product right?) Validation: The software should do what the user really requires (Are we building the right product?)
  • 4.         Requirements Phase Specification Phase (Analysis) Planning Phase Design Phase Implementation Phase Integration and Testing Maintenance Retirement
  • 5. • • Is a whole life-cycle process - V & V must be applied at each stage in the software process. Has two principal objectives – The discovery of defects in a system – The assessment of whether or not the system is usable in an operational situation.
  • 6. • • Software inspections and walkthroughs - Concerned with analysis of the static system representation to discover problems (static verification) Software testing - Concerned with exercising and observing product behaviour (dynamic verification) – The system is executed with test data and its operational behaviour is observed
  • 7. S t at ic verifi cat io n R equ irem ent s s pecifi cat io n P ro to ty pe Hi g h-lev el d es ig n Fo rm al s pecifi cat io n Det ail ed d es ig n P rog ram Dy nam i c v ali dat io n
  • 8. • • • • Careful planning is required to get the most out of testing and inspection processes Planning should start early in the development process The plan should identify the balance between static verification and testing Test planning is about defining standards for the testing process rather than describing product tests
  • 9. Requ ir em ent s s pecifi cat io n S y st em s pecifi cat io n S y st em i nt eg rat io n t es t pl an Accep tan ce t es t pl an S ervi ce Sy stem d es ig n Accep tan ce t es t Det ail ed d es ig n S u b-s ys tem i nt eg rat io n t es t pl an Sy stem i nt eg ratio n t est S u b-s ys tem i nt eg rat io n t est M o du le an d u ni t co de and t ess
  • 10.        The testing process Requirements traceability Tested items Testing schedule Test recording procedures Hardware and software requirements Constraints
  • 11.   Informal examination of a product (document) Made up of: ◦ ◦ ◦ ◦  developers client next phase developers Software Quality Assurance group leader Produces: ◦ list of items not understood ◦ list of items thought to be incorrect
  • 12.     Involve people examining the source representation with the aim of discovering anomalies and defects Do not require execution of a system so may be used before implementation May be applied to any representation of the system (requirements, design, test data, etc.) Very effective technique for discovering errors
  • 13.   Many different defects may be discovered in a single inspection. In testing, one defect may mask another so several executions are required The reuse domain and programming knowledge so reviewers are likely to have seen the types of error that commonly arise
  • 14.     Inspections and testing are complementary and not opposing verification techniques Both should be used during the V & V process Inspections can check conformance with a specification but not conformance with the customer‟s real requirements Inspections cannot check non-functional characteristics such as performance, usability, etc.
  • 15.    Formalised approach to document reviews Intended explicitly for defect DETECTION (not correction) Defects may be logical errors, anomalies in the code that might indicate an erroneous condition (e.g. an un-initialised variable) or non-compliance with standards
  • 16.       A precise specification must be available Team members must be familiar with the organisation standards Syntactically correct code must be available An error checklist should be prepared Management must accept that inspection will increase costs early in the software process Management must not use inspections for staff appraisal
  • 17.      System overview presented to inspection team Code and associated documents are distributed to inspection team in advance Inspection takes place and discovered errors are noted Modifications are made to repair discovered errors Re-inspection may or may not be required
  • 18.       Made up of at least 4 members Author of the code being inspected Inspector who finds errors, omissions and inconsistencies Reader who reads the code to the team Moderator who chairs the meeting and notes discovered errors Other roles are Scribe and Chief moderator
  • 19.     Checklist of common errors should be used to drive the inspection Error checklist is programming language dependent The 'weaker' the type checking, the larger the checklist Examples: Initialization, Constant naming, loop termination, array bounds, etc.
  • 20.      500 statements/hour during overview 125 source statement/hour during individual preparation 90-125 statements/hour can be inspected Inspection is therefore an expensive process Inspecting 500 lines costs about 40 man/hours effort (@ $50/hr = $2000!!!)
  • 21. • • • • Can reveal the presence of errors NOT their absence A successful test is a test which discovers one or more errors The only validation technique for non-functional requirements Should be used in conjunction with static verification to provide full V&V coverage
  • 22.     “Program testing can be a very effective way to show the presents of bugs but is hopelessly inadequate for showing their absence” [Dijkstra] Fault: “bug” incorrect piece of code Failure: result of a fault Error: mistake made by the programmer/developer
  • 23. • • • • Defect testing and debugging are distinct processes Verification and validation is concerned with establishing the existence of defects in a program Debugging is concerned with locating and repairing these errors Debugging involves formulating a hypothesis about program behaviour then testing these hypotheses to find the system error
  • 24. Test resu lt s Lo cat e erro r Test cases Sp eci ficat io n Des ig n erro r repai r Repai r erro r R e-tes t p rog ram
  • 25. C o m po nent t es ti ng Int egrat io n t es ti ng So ftw are dev elo per Ind epen den t tes ti ng team
  • 26.  Component testing ◦ ◦ ◦  Testing of individual program components Usually the responsibility of the component developer (except sometimes for critical systems) Tests are derived from the developer‟s experience Integration testing ◦ ◦ ◦ Testing of groups of components integrated to create a system or sub-system The responsibility of an independent testing team Tests are based on a system specification
  • 27. • • • • Only exhaustive testing can show a program is free from defects. However, exhaustive testing is impossible Tests should exercise a system's capabilities rather than its components Testing old capabilities is more important than testing new capabilities Testing typical situations is more important than boundary value cases
  • 28. • Test data Inputs which have been devised • Test cases Inputs to test the system and to test the system the predicted outputs from these inputs if the system operates according to its specification
  • 29.    Test cases and test scenarios comprise much of a software systems testware. Black box test cases are developed by domain analysis and examination of the system requirements and specification. Glass box test cases are developed by examining the behavior of the source code.
  • 30.  Test to specification: ◦ ◦ ◦ ◦  Black box, Data driven Functional testing Code is ignored: only use specification document to develop test cases Test to code: ◦ Glass box/White box ◦ Logic driven testing ◦ Ignore specification and only examine the code.
  • 31.    An approach to testing where the program is considered as a „black-box‟ The program test cases are based on the system specification Test planning can begin early in the software process
  • 32. I n a Inp ut t est dat a I p n b u t o m h e a s c a v l i a o o u u u s i n g s r e S y s t e m O t Ou t pu t t est resu lt s Oe d u h t e e p u p f e t r c e t s s s w e h n c i e c h o r f e v e a l
  • 33. • • • • Sometime called structural testing or glass-box testing Derivation of test cases according to program structure Knowledge of the program is used to identify additional test cases Objective is to exercise all program statements (not all path combinations)
  • 34.  Statement coverage ◦ Test cases which will execute every statement at least once. ◦ Tools exist for help ◦ No guarantee that all branches are properly tested. Loop exit?  Branch coverage ◦ All branches are tested once  Path coverage - Restriction of type of paths: ◦ Linear code sequences ◦ Definition/Use checking (all definition/use paths) ◦ Can locate dead code
  • 35. Test d at a Test s Deri ves C o m po nent cod e Test o ut pu ts