SlideShare una empresa de Scribd logo
1 de 32
Group No.7 Roll No
Qasim Ali 1425
Assad Ali 1407
Akber Ali 1406
Touseef Khadim 1427
SOFTWARE TESTING
 Software testing is a process of verifying and validating
that a software application or program
 1. Meets the business and technical requirements that
guided its design and development, and
 2. Works as expected.
 Main purposes
 Verification
 Validation
 Defect finding
Verification
 The verificationprocess confirms that the software meets
its technical specifications.
 A “specification” is a description of a function in terms
of a measurable output value given a specific input value
under specific preconditions.
 A simple specification may be along the line of “a SQL
query retrieving data for a single account against the
multi-month account-summary table must return these
eight fields <list> ordered by month within 3 seconds of
submission.”
Validation
 The validation process confirms that the software meets
the business requirements.
 A simple example of a business requirement is “After
choosing a branch office name, information about the
branch’s customer account managers will appear in a
new window.
 The window will present manager identification and
 summary information about each manager’s customer
base: <list of data elements>.”
 Other requirements provide details on how the data will
be summarized, formatted and displayed.
Defect finding
 A defect is a variance between the expected and actual
result. The defect’s ultimate source may be traced
 to a fault introduced in the specification, design, or
development (coding) phases.
It is the process used to identify the correctness,
completeness and quality of developed computer
software.
It is the process of executing a program/application
under positive and negative conditions by manual or
automated means. It checks for the :-
 Specification
 Functionality
 Performance
INTRODUCTION
OBJECTIVES
Uncover as many as errors (or bugs) as possible in a given
product.
Demonstrate a given software product matching its requirement
specifications.
Validate the quality of a software testing using the minimum cost
and efforts.
Generate high quality test cases, perform effective tests, and issue
correct and helpful problem reports.
Error, Bug, Fault & Failure
Error : It is a human action that produces the incorrect
result that produces a fault.
Bug : The presence of error at the time of execution of the
software.
Fault : State of software caused by an error.
Failure : Deviation of the software from its expected result. It is
an event.
 Standard model used word wide to develop a software.
 A framework that describes the activities performed at
each stage of a software development project.
 Necessary to ensure the quality of the software.
 Logical steps taken to develop a software product.
SDLC(Software Development Life Cycle)
Project Initiation
System Study
Summary Reports
Analysis
Regression Test
Report Defects
Execute Test Cases
( manual /automated )
Design Test Cases
Test Plan
Testing Life Cycle
Test Plan
It is a systematic approach to test a system i.e.
software. The plan typically contains a detailed
understanding of what the eventual testing
workflow will be.
Test Case
It is a specific procedure of testing a particular
requirement.
It will include:
Identification of specific requirement tested
Test case success/failure criteria
Specific steps to execute test
Test data
• Verification: The software should confirm 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?)
Verification vs Validation
Testing Methodologies
Black box testing
White box testing
Black box testing
 No knowledge of internal program design or code
required.
 Tests are based on requirements and functionality.
White box testing
 Knowledge of the internal program design and
code required.
 Tests are based on coverage of code
statements, branches, paths, conditions.
Black box testing
requirements
input
events
output
White box testing
Component
code
Test
outputs
Test data
DerivesTests
V-Model: test levels
Integration Testing
in the Small
Integration Testing
in the Large
System
Testing
Component
Testing
Acceptance
Testing
Code
Design
Specification
System
Specification
Project
Specification
Business
Requirements
Tests
Business
Requirements
Tests
Project
Specification
Tests
System
Specification
Tests
Design
Specification
Tests
Code
V-Model: late test design
Integration Testing
in the Small
Integration Testing
in the Large
System
Testing
Component
Testing
Acceptance
Testing
Design
Tests?
“We don’t have
time to design
tests early”
TestsTests
Business
Requirements
TestsTests
Project
Specification
TestsTests
System
Specification
TestsTests
Design
Specification
TestsTests
Code
V-Model: early test design
Integration Testing
in the Small
Integration Testing
in the Large
System
Testing
Component
Testing
Acceptance
Testing
Run
Tests
Design
Tests
Early test design
 test design finds faults
 faults found early are cheaper to fix
 most significant faults found first
 faults prevented, not built in
 no additional effort, re-schedule test
design
 changing requirements caused by test
designEarly test design helps to build quality,
stops fault multiplication
Experience report: Phase 1
Phase 1: Plan
2 mo 2 mo
dev test
test
150 faults
1st mo.
50 faults
users
not
happy
Quality
fraught, lots of dev overtime
Actual
"has to go in"
but didn't work
Experience report: Phase 2
Phase 2: Plan
2 mo 6 wks
dev test
test
50 faults
1st mo.
0 faults
happy
users!
Quality
smooth, not much for dev to do
Actual
acc test: full
week (vs half day)
on time
Phase 1: Plan
2 mo 2 mo
dev test
test
150 faults
1st mo.
50 faults
users
not
happy
Quality
fraught, lots of dev overtime
Actual
"has to go in"
but didn't work
Phase 2: Plan
2 mo 6 wks
dev test
test
50 faults
1st mo.
0 faults
happy
users!
Quality
smooth, not much for dev to do
Actual
acc test: full
week (vs half day)
on time
Testing Levels
• Unit testing
• Integration testing
• System testing
UNIT TESTING
Tests each module individually.
Follows a white box testing (Logic of the program).
Done by developers.
INTEGRATION TESTING
Once all the modules have been unit tested, integration
testing is performed.
It is systematic testing.
Produce tests to identify errors associated with interfacing.
Types:
Big Bang Integration testing
Top Down Integration testing
Bottom Up Integration testing
Mixed Integration testing
SYSTEM TESTING
 The system as a whole is tested to uncover
requirement errors.
 Verifies that all system elements work properly
and that overall system function and performance
has been achieved.
Types:
Alpha Testing
Beta Testing
Acceptance Testing
Performance Testing
Alpha Testing
It is carried out by the test team within the developing
organization .
Beta Testing
It is performed by a selected group of friendly customers.
Acceptance Testing
It is performed by the customer to determine whether to
accept or reject the delivery of the system.
Performance Testing
It is carried out to check whether the system meets the
nonfunctional requirements identified in the SRS
document.
Types of Performance Testing:
Stress Testing
Volume Testing
Configuration Testing
Compatibility Testing
Regression Testing
Recovery Testing
Maintenance Testing
Documentation Testing
Usability Testing
 In order to be cost effective, the testing must be
concentrated on areas where it will be most effective.
DISCUSSION
 The testing should be planned such that when testing is
stopped for whatever reason, the most effective testing in
the time allotted has already been done.
 The absence of an organizational testing policy may
result in too much effort and money will be spent on
testing, attempting to achieve a level of quality that is
impossible or unnecessary.
THANK YOU
Govt municipal degree college
Faisalabad

Más contenido relacionado

La actualidad más candente

Verification and validation process in software testing
Verification and validation process in software testingVerification and validation process in software testing
Verification and validation process in software testingpooja deshmukh
 
Testing Types And Models
Testing Types And ModelsTesting Types And Models
Testing Types And Modelsnazeer pasha
 
Tools for Software Verification and Validation
Tools for Software Verification and ValidationTools for Software Verification and Validation
Tools for Software Verification and Validationaliraza786
 
Software quality and testing (func. &amp; non func.)
Software quality and testing (func. &amp; non   func.)Software quality and testing (func. &amp; non   func.)
Software quality and testing (func. &amp; non func.)Pragya G
 
software testing methodologies
software testing methodologiessoftware testing methodologies
software testing methodologiesJhonny Jhon
 
Non-Functional testing
Non-Functional testingNon-Functional testing
Non-Functional testingKanoah
 
Software Testing Tutorials - MindScripts Technologies, Pune
Software Testing Tutorials - MindScripts Technologies, PuneSoftware Testing Tutorials - MindScripts Technologies, Pune
Software Testing Tutorials - MindScripts Technologies, Punesanjayjadhav8789
 
softwaretestingppt-FINAL-PPT-1
softwaretestingppt-FINAL-PPT-1softwaretestingppt-FINAL-PPT-1
softwaretestingppt-FINAL-PPT-1FAIZALSAIYED
 
Differences asked in Software Testing Interview.
Differences asked in Software Testing Interview. Differences asked in Software Testing Interview.
Differences asked in Software Testing Interview. Siddharth Sharma
 
Software testing introduction
Software testing introductionSoftware testing introduction
Software testing introductionOmkar Deshpande
 
Testing Concepts and Manual Testing
Testing Concepts and Manual TestingTesting Concepts and Manual Testing
Testing Concepts and Manual TestingSachin-QA
 
functional testing
functional testing functional testing
functional testing bharathanche
 
Validation testing
Validation testingValidation testing
Validation testingSlideshare
 

La actualidad más candente (19)

Verification and validation process in software testing
Verification and validation process in software testingVerification and validation process in software testing
Verification and validation process in software testing
 
Testing Types And Models
Testing Types And ModelsTesting Types And Models
Testing Types And Models
 
Functional testing patterns
Functional testing patternsFunctional testing patterns
Functional testing patterns
 
Testing tools
Testing toolsTesting tools
Testing tools
 
Tools for Software Verification and Validation
Tools for Software Verification and ValidationTools for Software Verification and Validation
Tools for Software Verification and Validation
 
Software quality and testing (func. &amp; non func.)
Software quality and testing (func. &amp; non   func.)Software quality and testing (func. &amp; non   func.)
Software quality and testing (func. &amp; non func.)
 
Types of testing
Types of testingTypes of testing
Types of testing
 
software testing methodologies
software testing methodologiessoftware testing methodologies
software testing methodologies
 
Testing methodology
Testing methodologyTesting methodology
Testing methodology
 
Types of software testing
Types of software testingTypes of software testing
Types of software testing
 
Non-Functional testing
Non-Functional testingNon-Functional testing
Non-Functional testing
 
Software Testing Tutorials - MindScripts Technologies, Pune
Software Testing Tutorials - MindScripts Technologies, PuneSoftware Testing Tutorials - MindScripts Technologies, Pune
Software Testing Tutorials - MindScripts Technologies, Pune
 
softwaretestingppt-FINAL-PPT-1
softwaretestingppt-FINAL-PPT-1softwaretestingppt-FINAL-PPT-1
softwaretestingppt-FINAL-PPT-1
 
Differences asked in Software Testing Interview.
Differences asked in Software Testing Interview. Differences asked in Software Testing Interview.
Differences asked in Software Testing Interview.
 
Software testing introduction
Software testing introductionSoftware testing introduction
Software testing introduction
 
Testing Concepts and Manual Testing
Testing Concepts and Manual TestingTesting Concepts and Manual Testing
Testing Concepts and Manual Testing
 
functional testing
functional testing functional testing
functional testing
 
Validation testing
Validation testingValidation testing
Validation testing
 
Verification & Validation
Verification & ValidationVerification & Validation
Verification & Validation
 

Similar a software testing technique

Similar a software testing technique (20)

Software Testing - SDLC Model
Software Testing - SDLC ModelSoftware Testing - SDLC Model
Software Testing - SDLC Model
 
softwaretestingppt-120810095500-phpapp02 (1).pdf
softwaretestingppt-120810095500-phpapp02 (1).pdfsoftwaretestingppt-120810095500-phpapp02 (1).pdf
softwaretestingppt-120810095500-phpapp02 (1).pdf
 
Mca se chapter_07_software_validation
Mca se chapter_07_software_validationMca se chapter_07_software_validation
Mca se chapter_07_software_validation
 
Software testing
Software testingSoftware testing
Software testing
 
Software testing ppt
Software testing pptSoftware testing ppt
Software testing ppt
 
Software Testing
Software Testing Software Testing
Software Testing
 
Software Testing PPT | Software All Testing
Software Testing PPT | Software All TestingSoftware Testing PPT | Software All Testing
Software Testing PPT | Software All Testing
 
testing.pptx
testing.pptxtesting.pptx
testing.pptx
 
Software_Testing_ppt.pptx
Software_Testing_ppt.pptxSoftware_Testing_ppt.pptx
Software_Testing_ppt.pptx
 
Software-Testing-ppt.pptx
Software-Testing-ppt.pptxSoftware-Testing-ppt.pptx
Software-Testing-ppt.pptx
 
Qa analyst training
Qa analyst training Qa analyst training
Qa analyst training
 
Testing strategies in Software Engineering
Testing strategies in Software EngineeringTesting strategies in Software Engineering
Testing strategies in Software Engineering
 
SDLCTesting
SDLCTestingSDLCTesting
SDLCTesting
 
Software testing By M.Yameen
Software testing By M.YameenSoftware testing By M.Yameen
Software testing By M.Yameen
 
Software testing
Software testingSoftware testing
Software testing
 
Software testing
Software testingSoftware testing
Software testing
 
Software Testing or Quality Assurance
Software Testing or Quality AssuranceSoftware Testing or Quality Assurance
Software Testing or Quality Assurance
 
Testing in Software Engineering.docx
Testing in Software Engineering.docxTesting in Software Engineering.docx
Testing in Software Engineering.docx
 
Real Time software Training in Nagercoil
Real Time software Training in NagercoilReal Time software Training in Nagercoil
Real Time software Training in Nagercoil
 
S.t.
S.t.S.t.
S.t.
 

Último

Exploring the Best Video Editing App.pdf
Exploring the Best Video Editing App.pdfExploring the Best Video Editing App.pdf
Exploring the Best Video Editing App.pdfproinshot.com
 
%in Midrand+277-882-255-28 abortion pills for sale in midrand
%in Midrand+277-882-255-28 abortion pills for sale in midrand%in Midrand+277-882-255-28 abortion pills for sale in midrand
%in Midrand+277-882-255-28 abortion pills for sale in midrandmasabamasaba
 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...Health
 
A Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxA Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxComplianceQuest1
 
Unlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language ModelsUnlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language Modelsaagamshah0812
 
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...Jittipong Loespradit
 
Azure_Native_Qumulo_High_Performance_Compute_Benchmarks.pdf
Azure_Native_Qumulo_High_Performance_Compute_Benchmarks.pdfAzure_Native_Qumulo_High_Performance_Compute_Benchmarks.pdf
Azure_Native_Qumulo_High_Performance_Compute_Benchmarks.pdfryanfarris8
 
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
Direct Style Effect Systems -The Print[A] Example- A Comprehension AidDirect Style Effect Systems -The Print[A] Example- A Comprehension Aid
Direct Style Effect Systems - The Print[A] Example - A Comprehension AidPhilip Schwarz
 
%in ivory park+277-882-255-28 abortion pills for sale in ivory park
%in ivory park+277-882-255-28 abortion pills for sale in ivory park %in ivory park+277-882-255-28 abortion pills for sale in ivory park
%in ivory park+277-882-255-28 abortion pills for sale in ivory park masabamasaba
 
Payment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdf
Payment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdfPayment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdf
Payment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdfkalichargn70th171
 
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...Steffen Staab
 
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsUnveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsAlberto González Trastoy
 
Right Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsRight Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsJhone kinadey
 
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfLearn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfkalichargn70th171
 
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdfintroduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdfVishalKumarJha10
 
Pharm-D Biostatistics and Research methodology
Pharm-D Biostatistics and Research methodologyPharm-D Biostatistics and Research methodology
Pharm-D Biostatistics and Research methodologyAnusha Are
 
Define the academic and professional writing..pdf
Define the academic and professional writing..pdfDefine the academic and professional writing..pdf
Define the academic and professional writing..pdfPearlKirahMaeRagusta1
 
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected WorkerHow To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected WorkerThousandEyes
 
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfonteinmasabamasaba
 

Último (20)

Exploring the Best Video Editing App.pdf
Exploring the Best Video Editing App.pdfExploring the Best Video Editing App.pdf
Exploring the Best Video Editing App.pdf
 
%in Midrand+277-882-255-28 abortion pills for sale in midrand
%in Midrand+277-882-255-28 abortion pills for sale in midrand%in Midrand+277-882-255-28 abortion pills for sale in midrand
%in Midrand+277-882-255-28 abortion pills for sale in midrand
 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
 
A Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxA Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docx
 
Unlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language ModelsUnlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language Models
 
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
 
Azure_Native_Qumulo_High_Performance_Compute_Benchmarks.pdf
Azure_Native_Qumulo_High_Performance_Compute_Benchmarks.pdfAzure_Native_Qumulo_High_Performance_Compute_Benchmarks.pdf
Azure_Native_Qumulo_High_Performance_Compute_Benchmarks.pdf
 
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
Direct Style Effect Systems -The Print[A] Example- A Comprehension AidDirect Style Effect Systems -The Print[A] Example- A Comprehension Aid
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
 
%in ivory park+277-882-255-28 abortion pills for sale in ivory park
%in ivory park+277-882-255-28 abortion pills for sale in ivory park %in ivory park+277-882-255-28 abortion pills for sale in ivory park
%in ivory park+277-882-255-28 abortion pills for sale in ivory park
 
Microsoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdfMicrosoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdf
 
Payment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdf
Payment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdfPayment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdf
Payment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdf
 
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
 
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsUnveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
 
Right Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsRight Money Management App For Your Financial Goals
Right Money Management App For Your Financial Goals
 
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfLearn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
 
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdfintroduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
 
Pharm-D Biostatistics and Research methodology
Pharm-D Biostatistics and Research methodologyPharm-D Biostatistics and Research methodology
Pharm-D Biostatistics and Research methodology
 
Define the academic and professional writing..pdf
Define the academic and professional writing..pdfDefine the academic and professional writing..pdf
Define the academic and professional writing..pdf
 
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected WorkerHow To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
 
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
 

software testing technique

  • 1. Group No.7 Roll No Qasim Ali 1425 Assad Ali 1407 Akber Ali 1406 Touseef Khadim 1427
  • 2. SOFTWARE TESTING  Software testing is a process of verifying and validating that a software application or program  1. Meets the business and technical requirements that guided its design and development, and  2. Works as expected.  Main purposes  Verification  Validation  Defect finding
  • 3. Verification  The verificationprocess confirms that the software meets its technical specifications.  A “specification” is a description of a function in terms of a measurable output value given a specific input value under specific preconditions.  A simple specification may be along the line of “a SQL query retrieving data for a single account against the multi-month account-summary table must return these eight fields <list> ordered by month within 3 seconds of submission.”
  • 4. Validation  The validation process confirms that the software meets the business requirements.  A simple example of a business requirement is “After choosing a branch office name, information about the branch’s customer account managers will appear in a new window.  The window will present manager identification and  summary information about each manager’s customer base: <list of data elements>.”  Other requirements provide details on how the data will be summarized, formatted and displayed.
  • 5. Defect finding  A defect is a variance between the expected and actual result. The defect’s ultimate source may be traced  to a fault introduced in the specification, design, or development (coding) phases.
  • 6. It is the process used to identify the correctness, completeness and quality of developed computer software. It is the process of executing a program/application under positive and negative conditions by manual or automated means. It checks for the :-  Specification  Functionality  Performance INTRODUCTION
  • 7. OBJECTIVES Uncover as many as errors (or bugs) as possible in a given product. Demonstrate a given software product matching its requirement specifications. Validate the quality of a software testing using the minimum cost and efforts. Generate high quality test cases, perform effective tests, and issue correct and helpful problem reports.
  • 8. Error, Bug, Fault & Failure Error : It is a human action that produces the incorrect result that produces a fault. Bug : The presence of error at the time of execution of the software. Fault : State of software caused by an error. Failure : Deviation of the software from its expected result. It is an event.
  • 9.  Standard model used word wide to develop a software.  A framework that describes the activities performed at each stage of a software development project.  Necessary to ensure the quality of the software.  Logical steps taken to develop a software product. SDLC(Software Development Life Cycle)
  • 10. Project Initiation System Study Summary Reports Analysis Regression Test Report Defects Execute Test Cases ( manual /automated ) Design Test Cases Test Plan Testing Life Cycle
  • 11. Test Plan It is a systematic approach to test a system i.e. software. The plan typically contains a detailed understanding of what the eventual testing workflow will be.
  • 12. Test Case It is a specific procedure of testing a particular requirement. It will include: Identification of specific requirement tested Test case success/failure criteria Specific steps to execute test Test data
  • 13. • Verification: The software should confirm 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?) Verification vs Validation
  • 14. Testing Methodologies Black box testing White box testing
  • 15. Black box testing  No knowledge of internal program design or code required.  Tests are based on requirements and functionality. White box testing  Knowledge of the internal program design and code required.  Tests are based on coverage of code statements, branches, paths, conditions.
  • 18. V-Model: test levels Integration Testing in the Small Integration Testing in the Large System Testing Component Testing Acceptance Testing Code Design Specification System Specification Project Specification Business Requirements
  • 19. Tests Business Requirements Tests Project Specification Tests System Specification Tests Design Specification Tests Code V-Model: late test design Integration Testing in the Small Integration Testing in the Large System Testing Component Testing Acceptance Testing Design Tests? “We don’t have time to design tests early”
  • 20. TestsTests Business Requirements TestsTests Project Specification TestsTests System Specification TestsTests Design Specification TestsTests Code V-Model: early test design Integration Testing in the Small Integration Testing in the Large System Testing Component Testing Acceptance Testing Run Tests Design Tests
  • 21. Early test design  test design finds faults  faults found early are cheaper to fix  most significant faults found first  faults prevented, not built in  no additional effort, re-schedule test design  changing requirements caused by test designEarly test design helps to build quality, stops fault multiplication
  • 22. Experience report: Phase 1 Phase 1: Plan 2 mo 2 mo dev test test 150 faults 1st mo. 50 faults users not happy Quality fraught, lots of dev overtime Actual "has to go in" but didn't work
  • 23. Experience report: Phase 2 Phase 2: Plan 2 mo 6 wks dev test test 50 faults 1st mo. 0 faults happy users! Quality smooth, not much for dev to do Actual acc test: full week (vs half day) on time Phase 1: Plan 2 mo 2 mo dev test test 150 faults 1st mo. 50 faults users not happy Quality fraught, lots of dev overtime Actual "has to go in" but didn't work Phase 2: Plan 2 mo 6 wks dev test test 50 faults 1st mo. 0 faults happy users! Quality smooth, not much for dev to do Actual acc test: full week (vs half day) on time
  • 24. Testing Levels • Unit testing • Integration testing • System testing
  • 25. UNIT TESTING Tests each module individually. Follows a white box testing (Logic of the program). Done by developers.
  • 26. INTEGRATION TESTING Once all the modules have been unit tested, integration testing is performed. It is systematic testing. Produce tests to identify errors associated with interfacing. Types: Big Bang Integration testing Top Down Integration testing Bottom Up Integration testing Mixed Integration testing
  • 27. SYSTEM TESTING  The system as a whole is tested to uncover requirement errors.  Verifies that all system elements work properly and that overall system function and performance has been achieved. Types: Alpha Testing Beta Testing Acceptance Testing Performance Testing
  • 28. Alpha Testing It is carried out by the test team within the developing organization . Beta Testing It is performed by a selected group of friendly customers. Acceptance Testing It is performed by the customer to determine whether to accept or reject the delivery of the system. Performance Testing It is carried out to check whether the system meets the nonfunctional requirements identified in the SRS document.
  • 29. Types of Performance Testing: Stress Testing Volume Testing Configuration Testing Compatibility Testing Regression Testing Recovery Testing Maintenance Testing Documentation Testing Usability Testing
  • 30.  In order to be cost effective, the testing must be concentrated on areas where it will be most effective. DISCUSSION  The testing should be planned such that when testing is stopped for whatever reason, the most effective testing in the time allotted has already been done.  The absence of an organizational testing policy may result in too much effort and money will be spent on testing, attempting to achieve a level of quality that is impossible or unnecessary.
  • 32. Govt municipal degree college Faisalabad