SlideShare a Scribd company logo
1 of 26
Software Testing and
Analysis
V & V goals
• Verification and validation should establish
confidence that the software is fit for purpo
se
• This does NOT mean completely free of de
fects
• Rather, it must be good enough for its inten
ded use and the type of use will determine
the degree of confidence that is needed
• Verification: The software should confor
m to its specification (Are we building the
product right?)
• Validation: The software should do what t
he user really requires (Are we building th
e right product?)
Verification vs. validation
• Is a whole life-cycle process - V & V must
be applied at each stage in the software p
rocess.
• Has two principal objectives
– The discovery of defects in a system
– The assessment of whether or not the syste
m is usable in an operational situation.
The V & V process
• Software inspections and walkthroughs
- Concerned with analysis of the static s
ystem representation to discover proble
ms (static verification)
• Software testing - Concerned with exer
cising and observing product behaviour
(dynamic verification)
– The system is executed with test data an
d its operational behaviour is observed
Static and dynamic verification
Static and dynamic V&V
Formal
specification
High-level
design
Requirements
specification
Detailed
design
Program
Prototype
Dynamic
validation
Static
verification
• 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 st
atic verification and testing
• Test planning is about defining standards for th
e testing process rather than describing product
tests
V & V planning
The V-model of development
Requirements
specification
System
specification
System
design
Detailed
design
Module and
unit code
and tess
Sub-system
integration
test plan
System
integration
test plan
Acceptance
test plan
Service
Acceptance
test
System
integration test
Sub-system
integration test
The structure of a software test plan
• The testing process
• Requirements traceability
• Tested items
• Testing schedule
• Test recording procedures
• Hardware and software requirements
• Constraints
Walkthroughs
• 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
Software inspections
• Involve people examining the source represent
ation 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 syst
em (requirements, design, test data, etc.)
• Very effective technique for discovering errors
Inspection success
• Many different defects may be discovered
in a single inspection. In testing, one defe
ct may mask another so several execution
s are required
• The reuse domain and programming kno
wledge so reviewers are likely to have se
en the types of error that commonly arise
Inspections and testing
• 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 spec
ification but not conformance with the customer’
s real requirements
• Inspections cannot check non-functional charac
teristics such as performance, usability, etc.
Inspection pre-conditions
• 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 st
aff
appraisal
Inspection procedure
• 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
Inspection teams
• Made up of at least 4 members
• Author of the code being inspected
• Inspector who finds errors, omissions and inco
nsistencies
• Reader who reads the code to the team
• Moderator who chairs the meeting and notes
discovered errors
• Other roles are Scribe and Chief moderator
Inspection checklists
• 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.
Inspection rate
• 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 ab
sence
• 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
Execution based testing
• “Program testing can be a very effective way t
o show the presents of bugs but is hopelessly
inadequate for showing their absence” [Dijkst
ra]
• Fault: “bug” incorrect piece of code
• Failure: result of a fault
• Error: mistake made by the programmer/deve
loper
• Defect testing and debugging are distinct
processes
• Verification and validation is concerned with est
ablishing 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
Testing and debugging
The debugging process
Locate
error
Design
error repair
Repair
error
Re-test
program
Test
results Specification Test
cases
Testing phases
Component
testing
Integration
testing
Software developer Independent testing team
Testing phases
• Component testing
– Testing of individual program components
– Usually the responsibility of the component deve
loper (except sometimes for critical systems)
– Tests are derived from the developer’s experien
ce
• Integration testing
– Testing of groups of components integrated to c
reate a system or sub-system
– The responsibility of an independent testing tea
m
– Tests are based on a system specification
• Only exhaustive testing can show a program
is free from defects. However, exhaustive tes
ting is impossible
• Tests should exercise a system's capabilities
rather than its components
• Testing old capabilities is more important tha
n testing new capabilities
• Testing typical situations is more important t
han boundary value cases
Testing priorities
• Test data Inputs which have been devise
d to test the system
• Test cases Inputs to test the system and
the predicted outputs from these inputs if
the system operates according to its speci
fication
Test data and test cases

More Related Content

Similar to SENG202-v-and-v-modeling_121810.pptx

Software Engineering (Testing Overview)
Software Engineering (Testing Overview)Software Engineering (Testing Overview)
Software Engineering (Testing Overview)ShudipPal
 
Software Engineering Lec 10 -software testing--
Software Engineering Lec 10 -software testing--Software Engineering Lec 10 -software testing--
Software Engineering Lec 10 -software testing--Taymoor Nazmy
 
unit-2_20-july-2018 (1).pptx
unit-2_20-july-2018 (1).pptxunit-2_20-july-2018 (1).pptx
unit-2_20-july-2018 (1).pptxPriyaFulpagare1
 
Softwarequalityassurance with Abu ul hassan Sahadvi
Softwarequalityassurance with Abu ul hassan SahadviSoftwarequalityassurance with Abu ul hassan Sahadvi
Softwarequalityassurance with Abu ul hassan SahadviAbuulHassan2
 
Software quality assurance
Software quality assuranceSoftware quality assurance
Software quality assuranceAman Adhikari
 
Software testing strategies And its types
Software testing  strategies And its typesSoftware testing  strategies And its types
Software testing strategies And its typesMITULJAMANG
 
Unit iv-testing-pune-university-sres-coe
Unit iv-testing-pune-university-sres-coeUnit iv-testing-pune-university-sres-coe
Unit iv-testing-pune-university-sres-coeHitesh Mohapatra
 
Chapter 13 software testing strategies
Chapter 13 software testing strategiesChapter 13 software testing strategies
Chapter 13 software testing strategiesSHREEHARI WADAWADAGI
 
Objectorientedtesting 160320132146
Objectorientedtesting 160320132146Objectorientedtesting 160320132146
Objectorientedtesting 160320132146vidhyyav
 
Object oriented testing
Object oriented testingObject oriented testing
Object oriented testingHaris Jamil
 
Automated testing overview
Automated testing overviewAutomated testing overview
Automated testing overviewAlex Pop
 
Module V - Software Testing Strategies.pdf
Module V - Software Testing Strategies.pdfModule V - Software Testing Strategies.pdf
Module V - Software Testing Strategies.pdfadhithanr
 
Fundamentals of software part 1
Fundamentals of software part 1Fundamentals of software part 1
Fundamentals of software part 1Siddharth Sharma
 

Similar to SENG202-v-and-v-modeling_121810.pptx (20)

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)
 
Testing fundamentals
Testing fundamentalsTesting fundamentals
Testing fundamentals
 
Lec25
Lec25Lec25
Lec25
 
Software Engineering Lec 10 -software testing--
Software Engineering Lec 10 -software testing--Software Engineering Lec 10 -software testing--
Software Engineering Lec 10 -software testing--
 
unit-2_20-july-2018 (1).pptx
unit-2_20-july-2018 (1).pptxunit-2_20-july-2018 (1).pptx
unit-2_20-july-2018 (1).pptx
 
Softwarequalityassurance with Abu ul hassan Sahadvi
Softwarequalityassurance with Abu ul hassan SahadviSoftwarequalityassurance with Abu ul hassan Sahadvi
Softwarequalityassurance with Abu ul hassan Sahadvi
 
Software quality assurance
Software quality assuranceSoftware quality assurance
Software quality assurance
 
6. oose testing
6. oose testing6. oose testing
6. oose testing
 
Software testing strategies And its types
Software testing  strategies And its typesSoftware testing  strategies And its types
Software testing strategies And its types
 
Sw testing
Sw testingSw testing
Sw testing
 
Unit iv-testing-pune-university-sres-coe
Unit iv-testing-pune-university-sres-coeUnit iv-testing-pune-university-sres-coe
Unit iv-testing-pune-university-sres-coe
 
Manual testing - Introduction to Manual Software testing
Manual testing - Introduction to Manual Software testingManual testing - Introduction to Manual Software testing
Manual testing - Introduction to Manual Software testing
 
Chapter 13 software testing strategies
Chapter 13 software testing strategiesChapter 13 software testing strategies
Chapter 13 software testing strategies
 
Software testing
Software testingSoftware testing
Software testing
 
Objectorientedtesting 160320132146
Objectorientedtesting 160320132146Objectorientedtesting 160320132146
Objectorientedtesting 160320132146
 
Object oriented testing
Object oriented testingObject oriented testing
Object oriented testing
 
Automated testing overview
Automated testing overviewAutomated testing overview
Automated testing overview
 
Module V - Software Testing Strategies.pdf
Module V - Software Testing Strategies.pdfModule V - Software Testing Strategies.pdf
Module V - Software Testing Strategies.pdf
 
Fundamentals of software part 1
Fundamentals of software part 1Fundamentals of software part 1
Fundamentals of software part 1
 

Recently uploaded

MYjobs Presentation Django-based project
MYjobs Presentation Django-based projectMYjobs Presentation Django-based project
MYjobs Presentation Django-based projectAnoyGreter
 
What is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need ItWhat is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need ItWave PLM
 
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptxKnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptxTier1 app
 
What is Advanced Excel and what are some best practices for designing and cre...
What is Advanced Excel and what are some best practices for designing and cre...What is Advanced Excel and what are some best practices for designing and cre...
What is Advanced Excel and what are some best practices for designing and cre...Technogeeks
 
Xen Safety Embedded OSS Summit April 2024 v4.pdf
Xen Safety Embedded OSS Summit April 2024 v4.pdfXen Safety Embedded OSS Summit April 2024 v4.pdf
Xen Safety Embedded OSS Summit April 2024 v4.pdfStefano Stabellini
 
SpotFlow: Tracking Method Calls and States at Runtime
SpotFlow: Tracking Method Calls and States at RuntimeSpotFlow: Tracking Method Calls and States at Runtime
SpotFlow: Tracking Method Calls and States at Runtimeandrehoraa
 
Recruitment Management Software Benefits (Infographic)
Recruitment Management Software Benefits (Infographic)Recruitment Management Software Benefits (Infographic)
Recruitment Management Software Benefits (Infographic)Hr365.us smith
 
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样umasea
 
EY_Graph Database Powered Sustainability
EY_Graph Database Powered SustainabilityEY_Graph Database Powered Sustainability
EY_Graph Database Powered SustainabilityNeo4j
 
Balasore Best It Company|| Top 10 IT Company || Balasore Software company Odisha
Balasore Best It Company|| Top 10 IT Company || Balasore Software company OdishaBalasore Best It Company|| Top 10 IT Company || Balasore Software company Odisha
Balasore Best It Company|| Top 10 IT Company || Balasore Software company Odishasmiwainfosol
 
Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)OPEN KNOWLEDGE GmbH
 
Unveiling the Future: Sylius 2.0 New Features
Unveiling the Future: Sylius 2.0 New FeaturesUnveiling the Future: Sylius 2.0 New Features
Unveiling the Future: Sylius 2.0 New FeaturesŁukasz Chruściel
 
Automate your Kamailio Test Calls - Kamailio World 2024
Automate your Kamailio Test Calls - Kamailio World 2024Automate your Kamailio Test Calls - Kamailio World 2024
Automate your Kamailio Test Calls - Kamailio World 2024Andreas Granig
 
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed DataAlluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed DataAlluxio, Inc.
 
英国UN学位证,北安普顿大学毕业证书1:1制作
英国UN学位证,北安普顿大学毕业证书1:1制作英国UN学位证,北安普顿大学毕业证书1:1制作
英国UN学位证,北安普顿大学毕业证书1:1制作qr0udbr0
 
Folding Cheat Sheet #4 - fourth in a series
Folding Cheat Sheet #4 - fourth in a seriesFolding Cheat Sheet #4 - fourth in a series
Folding Cheat Sheet #4 - fourth in a seriesPhilip Schwarz
 
Cloud Data Center Network Construction - IEEE
Cloud Data Center Network Construction - IEEECloud Data Center Network Construction - IEEE
Cloud Data Center Network Construction - IEEEVICTOR MAESTRE RAMIREZ
 
CRM Contender Series: HubSpot vs. Salesforce
CRM Contender Series: HubSpot vs. SalesforceCRM Contender Series: HubSpot vs. Salesforce
CRM Contender Series: HubSpot vs. SalesforceBrainSell Technologies
 

Recently uploaded (20)

Hot Sexy call girls in Patel Nagar🔝 9953056974 🔝 escort Service
Hot Sexy call girls in Patel Nagar🔝 9953056974 🔝 escort ServiceHot Sexy call girls in Patel Nagar🔝 9953056974 🔝 escort Service
Hot Sexy call girls in Patel Nagar🔝 9953056974 🔝 escort Service
 
MYjobs Presentation Django-based project
MYjobs Presentation Django-based projectMYjobs Presentation Django-based project
MYjobs Presentation Django-based project
 
What is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need ItWhat is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need It
 
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptxKnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
 
What is Advanced Excel and what are some best practices for designing and cre...
What is Advanced Excel and what are some best practices for designing and cre...What is Advanced Excel and what are some best practices for designing and cre...
What is Advanced Excel and what are some best practices for designing and cre...
 
Xen Safety Embedded OSS Summit April 2024 v4.pdf
Xen Safety Embedded OSS Summit April 2024 v4.pdfXen Safety Embedded OSS Summit April 2024 v4.pdf
Xen Safety Embedded OSS Summit April 2024 v4.pdf
 
SpotFlow: Tracking Method Calls and States at Runtime
SpotFlow: Tracking Method Calls and States at RuntimeSpotFlow: Tracking Method Calls and States at Runtime
SpotFlow: Tracking Method Calls and States at Runtime
 
Recruitment Management Software Benefits (Infographic)
Recruitment Management Software Benefits (Infographic)Recruitment Management Software Benefits (Infographic)
Recruitment Management Software Benefits (Infographic)
 
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
 
EY_Graph Database Powered Sustainability
EY_Graph Database Powered SustainabilityEY_Graph Database Powered Sustainability
EY_Graph Database Powered Sustainability
 
Balasore Best It Company|| Top 10 IT Company || Balasore Software company Odisha
Balasore Best It Company|| Top 10 IT Company || Balasore Software company OdishaBalasore Best It Company|| Top 10 IT Company || Balasore Software company Odisha
Balasore Best It Company|| Top 10 IT Company || Balasore Software company Odisha
 
Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)
 
2.pdf Ejercicios de programación competitiva
2.pdf Ejercicios de programación competitiva2.pdf Ejercicios de programación competitiva
2.pdf Ejercicios de programación competitiva
 
Unveiling the Future: Sylius 2.0 New Features
Unveiling the Future: Sylius 2.0 New FeaturesUnveiling the Future: Sylius 2.0 New Features
Unveiling the Future: Sylius 2.0 New Features
 
Automate your Kamailio Test Calls - Kamailio World 2024
Automate your Kamailio Test Calls - Kamailio World 2024Automate your Kamailio Test Calls - Kamailio World 2024
Automate your Kamailio Test Calls - Kamailio World 2024
 
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed DataAlluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
 
英国UN学位证,北安普顿大学毕业证书1:1制作
英国UN学位证,北安普顿大学毕业证书1:1制作英国UN学位证,北安普顿大学毕业证书1:1制作
英国UN学位证,北安普顿大学毕业证书1:1制作
 
Folding Cheat Sheet #4 - fourth in a series
Folding Cheat Sheet #4 - fourth in a seriesFolding Cheat Sheet #4 - fourth in a series
Folding Cheat Sheet #4 - fourth in a series
 
Cloud Data Center Network Construction - IEEE
Cloud Data Center Network Construction - IEEECloud Data Center Network Construction - IEEE
Cloud Data Center Network Construction - IEEE
 
CRM Contender Series: HubSpot vs. Salesforce
CRM Contender Series: HubSpot vs. SalesforceCRM Contender Series: HubSpot vs. Salesforce
CRM Contender Series: HubSpot vs. Salesforce
 

SENG202-v-and-v-modeling_121810.pptx

  • 2. V & V goals • Verification and validation should establish confidence that the software is fit for purpo se • This does NOT mean completely free of de fects • Rather, it must be good enough for its inten ded use and the type of use will determine the degree of confidence that is needed
  • 3. • Verification: The software should confor m to its specification (Are we building the product right?) • Validation: The software should do what t he user really requires (Are we building th e right product?) Verification vs. validation
  • 4. • Is a whole life-cycle process - V & V must be applied at each stage in the software p rocess. • Has two principal objectives – The discovery of defects in a system – The assessment of whether or not the syste m is usable in an operational situation. The V & V process
  • 5. • Software inspections and walkthroughs - Concerned with analysis of the static s ystem representation to discover proble ms (static verification) • Software testing - Concerned with exer cising and observing product behaviour (dynamic verification) – The system is executed with test data an d its operational behaviour is observed Static and dynamic verification
  • 6. Static and dynamic V&V Formal specification High-level design Requirements specification Detailed design Program Prototype Dynamic validation Static verification
  • 7. • 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 st atic verification and testing • Test planning is about defining standards for th e testing process rather than describing product tests V & V planning
  • 8. The V-model of development Requirements specification System specification System design Detailed design Module and unit code and tess Sub-system integration test plan System integration test plan Acceptance test plan Service Acceptance test System integration test Sub-system integration test
  • 9. The structure of a software test plan • The testing process • Requirements traceability • Tested items • Testing schedule • Test recording procedures • Hardware and software requirements • Constraints
  • 10. Walkthroughs • 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
  • 11. Software inspections • Involve people examining the source represent ation 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 syst em (requirements, design, test data, etc.) • Very effective technique for discovering errors
  • 12. Inspection success • Many different defects may be discovered in a single inspection. In testing, one defe ct may mask another so several execution s are required • The reuse domain and programming kno wledge so reviewers are likely to have se en the types of error that commonly arise
  • 13. Inspections and testing • 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 spec ification but not conformance with the customer’ s real requirements • Inspections cannot check non-functional charac teristics such as performance, usability, etc.
  • 14. Inspection pre-conditions • 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 st aff appraisal
  • 15. Inspection procedure • 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
  • 16. Inspection teams • Made up of at least 4 members • Author of the code being inspected • Inspector who finds errors, omissions and inco nsistencies • Reader who reads the code to the team • Moderator who chairs the meeting and notes discovered errors • Other roles are Scribe and Chief moderator
  • 17. Inspection checklists • 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.
  • 18. Inspection rate • 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!!!)
  • 19. • Can reveal the presence of errors NOT their ab sence • 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
  • 20. Execution based testing • “Program testing can be a very effective way t o show the presents of bugs but is hopelessly inadequate for showing their absence” [Dijkst ra] • Fault: “bug” incorrect piece of code • Failure: result of a fault • Error: mistake made by the programmer/deve loper
  • 21. • Defect testing and debugging are distinct processes • Verification and validation is concerned with est ablishing 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 Testing and debugging
  • 22. The debugging process Locate error Design error repair Repair error Re-test program Test results Specification Test cases
  • 24. Testing phases • Component testing – Testing of individual program components – Usually the responsibility of the component deve loper (except sometimes for critical systems) – Tests are derived from the developer’s experien ce • Integration testing – Testing of groups of components integrated to c reate a system or sub-system – The responsibility of an independent testing tea m – Tests are based on a system specification
  • 25. • Only exhaustive testing can show a program is free from defects. However, exhaustive tes ting is impossible • Tests should exercise a system's capabilities rather than its components • Testing old capabilities is more important tha n testing new capabilities • Testing typical situations is more important t han boundary value cases Testing priorities
  • 26. • Test data Inputs which have been devise d to test the system • Test cases Inputs to test the system and the predicted outputs from these inputs if the system operates according to its speci fication Test data and test cases