SlideShare a Scribd company logo
Types Of Testing
Presented By:
Sonam Agarwal
3ird year, IT
Introduction & Fundamentals
 What is Software Testing?
 Why testing is necessary?
 Who does the testing?
 What do we test?
Error ,Bug ,Fault ,Failure
 A person makes an Error That creates a fault in software
That can cause a failure in operation Bug, Fault & Failure.
 Error : An error is a human action that produces the
incorrect result.
 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.
Objectives of testing
 The aim of the testing is to identify all defects existing
in a software product. It is not possible to guarantee
that the software is error free. This is because of the
fact that the input data domain of most software
products is very large.
 A good test case is one that has a high probability of
finding an as-yet-undiscovered error.
 A successful test is one that uncovers an as-yet-
undiscovered error.
 What testing cannot do ?
o Cannot show the absence of errors.
Objectives of a Software Tester
 Find bugs as early as possible and make sure they get
fixed.
 To understand the application well.
 Study the functionality in detail to find where the
bugs are likely to occur.
 Study the code to ensure that each and every line of
code is tested.
 Create test cases in such a way that testing is done to
uncover the hidden bugs and also ensure that the
software is usable and reliable.
Verification & Validation
 Verification - refers to the set of activities that ensure
that software correctly implements a specific
function.
 Validation- refers to a different set of activities that
ensure that the software that has been built is
traceable to customer requirements.
Verification: "Are we building the product right?"
Validation: "Are we building the right product?"
Testing Vs Debugging
 Debugging is not Testing.
 Debugging always occurs as a consequence of testing.
 Debugging attempts to find the cause of an error and
correct it.
When to Start Testing in SDLC
Phases of SDLC
 Feasibility Study
 Requirements Analysis and Specification
 Design
 Coding
 Testing
 Maintenance
Types Of Testing
White Box Testing Black Box Testing
System Testing
Usability Testing
Static Testing Dynamic Testing Performance Test
Walkthrough Unit Testing
Code Reviews Integration Testing
Code Inspection Regression Testing
White Box Testing
 The internals of software are tested to make sure that they
operate according to specification and design.
 Test cases are based on internal structure of software.
 Areas
Code Coverage ,Statement Coverage, Branch Coverage,
Condition Coverage ,Loop Coverage, Path Coverage ,Data Flow
Coverage.
• Techniques
o Flow graph testing ,Graph matrices ,Control structure testing ,
Data flow testing.
Static Testing
 Static testing of a program carried out without executing the
program.
 It aims to find defects in the software product in the early
stages of software development, so that they can be fixed
easily.
 It can find errors that occur on paths uncovered by testing
 It explores all possible execution paths in a program at compile
time.
 Who
o By a team of individuals.
o By individual who didn’t write the code.
Code Review
o A code review can be done as a special kind of inspection in
which the team examines a sample of code and fixes any
defects in it. In a code review, a defect is a block of code which
does not properly implement its requirements, which does not
function as the programmer intended.
o Are the variables name meaningful?
o Are the variables initialized?
o Are pointers initialized properly?
o Are there infinite loops?
o Has the usage of operators like = and == or & and && been
checked or not?
Code Inspection
 It is the most formal technique.
 The aim of this review type is to uncover defects in the
document in the early stages of software development
and thereby improve the quality of the product.
 An inspection is one of the most common review
practices found in software projects. In an inspection, a
work product is selected for review and a team is
gathered for an inspection meeting to review the work
product.
 The goal of the inspection is to identify defects.
Code Inspection(continued…)
The stages in the inspections process are:
Planning: The inspection is planned by the moderator.
Overview meeting: The author describes the background of the work product.
Preparation: Each inspector examines the work product to identify possible
defects.
Inspection meeting: During this meeting the reader reads through the work
product, part by part and the inspectors point out the defects for every part.
Rework: The author makes changes to the work product according to the
action plans from the inspection meeting.
Follow-up: The changes by the author are checked to make sure everything is
correct.
The process is ended by the moderator when it satisfies some predefined exit
criteria.
Unit Testing
 Objectives
The primary goal of unit testing is to take the smallest
module of testable software, and running it in isolation by
using prepared test cases and comparing with the actual
result to test the interfaces between modules.
 When
After modules are coded
 Who
Developer/programmer
 Methods
o White Box testing techniques
What are Stubs, Drivers ?
 A stub is a computer program which is used as a
substitute for the body of a software module or a dummy
module which simulates the function of a module called
by a given module under test.
 Driver a module which transmits test cases in the form of
input arguments to the given module under test and
either prints or interprets the results produced by it.
Integration Testing
 Objectives
To technically verify proper interfacing between modules,
and within sub-systems that satisfy functional
requirement.
 When
After modules are unit tested
 Who
Developers/Programmer
 Methods
o White Box techniques
o Black Box techniques
Types Of Integration Testing
 Top-Down Integration testing
 Bottom-Up Integration testing
Top Down Integration Testing
A
B
Stub
Stub
Stub
A
B
C
Stub
Stub
stub
Stub
Bottom Up Integration testing
Test
Drivers
Level N
Level N-1 Level N-1
Level NLevel N
Test
Drivers
Test
Drivers
Test
Drivers
Test
Drivers
Regression Testing
 Objectives
o It is used to checks faults, defects propagated to other
modules by changes made to existing program.
o This testing is used to reduce the side effects of changes.
o Testing is done by re-executing the previous versions of
the application.
 Who
Programmers or independent testers
Black Box Testing
 In the black-box testing approach, test cases are designed
using only the functional specification of the software, i.e.
without any knowledge of the internal structure of the
software.
 It explains the process of giving the input to the system
and checking the output, without considering how the
system generates the output. It is also known as
Behavioral Testing.
 It attempts to find error in the external behavior of the
code.
System Testing
 Objectives
The goal of system testing is not to find out faults but to
demonstrate performance.
 What
The system testing is actually a series of different tests ,
primary purpose of which is to fully exercise the system.
All work to verify that all system elements have been properly
integrated and perform allocated functions.
 When
After Integration Testing
 Who
Development Team
Acceptance Testing
 Objectives
To verify that the system meets the user requirements.
It is the system testing performed by the customer him/herself
after the product delivery to determine whether to accept or
reject the delivered product.
 When
After System Testing
 Who
Users / End Users
 Methods
o Black Box techniques
Alpha Testing
 It is a testing in which the version of complete software is
tested by the customer under the supervision of
developer.
 This testing is performed at the developer's site in a
control environment under the guidance of a developer.
Beta Testing
 It is a testing in which software is tested by a customer
without the developer being present.
 This testing is performing at the customer's site.
 Customer records the problems and reports it to the
developer then the developer makes appropriate
modifications.
Thank You

More Related Content

What's hot

SOFTWARE TESTING
SOFTWARE TESTINGSOFTWARE TESTING
SOFTWARE TESTING
Priyanka Karancy
 
Testing fundamentals
Testing fundamentalsTesting fundamentals
Testing fundamentals
Raviteja Chowdary Adusumalli
 
Software testing & Quality Assurance
Software testing & Quality Assurance Software testing & Quality Assurance
Software testing & Quality Assurance
Webtech Learning
 
Software testing
Software testingSoftware testing
Software testing
Software testing Software testing
Software testing
Kunal Prajapati
 
Software Testing
Software TestingSoftware Testing
Software Testing
Sengu Msc
 
Software Testing or Quality Assurance
Software Testing or Quality AssuranceSoftware Testing or Quality Assurance
Software Testing or Quality Assurance
Trimantra Software Solutions
 
Software testing ppt
Software testing pptSoftware testing ppt
Software testing ppt
Heritage Institute Of Tech,India
 
Basic software-testing-concepts
Basic software-testing-conceptsBasic software-testing-concepts
Basic software-testing-conceptsmedsherb
 
Performance and load testing
Performance and load testingPerformance and load testing
Performance and load testingsonukalpana
 
Software Testing
Software TestingSoftware Testing
Software Testing
Mousmi Pawar
 
Software Testing - Part 1 (Techniques, Types, Levels, Methods, STLC, Bug Life...
Software Testing - Part 1 (Techniques, Types, Levels, Methods, STLC, Bug Life...Software Testing - Part 1 (Techniques, Types, Levels, Methods, STLC, Bug Life...
Software Testing - Part 1 (Techniques, Types, Levels, Methods, STLC, Bug Life...
Ankit Prajapati
 
Test case techniques
Test case techniquesTest case techniques
Test case techniques
Pina Parmar
 
Software Testing
Software TestingSoftware Testing
Software Testing
Ecaterina Moraru (Valica)
 
Types of software testing
Types of software testingTypes of software testing
Types of software testing
Prachi Sasankar
 
Test cases
Test casesTest cases
Test cases
Chandra Maddigapu
 
Software testing
Software testingSoftware testing
Software testing
mkn3009
 

What's hot (20)

SOFTWARE TESTING
SOFTWARE TESTINGSOFTWARE TESTING
SOFTWARE TESTING
 
Testing fundamentals
Testing fundamentalsTesting fundamentals
Testing fundamentals
 
Software testing & Quality Assurance
Software testing & Quality Assurance Software testing & Quality Assurance
Software testing & Quality Assurance
 
Software testing
Software testingSoftware testing
Software testing
 
Software testing
Software testing Software 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
 
Software testing ppt
Software testing pptSoftware testing ppt
Software testing ppt
 
Basic software-testing-concepts
Basic software-testing-conceptsBasic software-testing-concepts
Basic software-testing-concepts
 
Performance and load testing
Performance and load testingPerformance and load testing
Performance and load testing
 
Software Testing
Software TestingSoftware Testing
Software Testing
 
Software Testing - Part 1 (Techniques, Types, Levels, Methods, STLC, Bug Life...
Software Testing - Part 1 (Techniques, Types, Levels, Methods, STLC, Bug Life...Software Testing - Part 1 (Techniques, Types, Levels, Methods, STLC, Bug Life...
Software Testing - Part 1 (Techniques, Types, Levels, Methods, STLC, Bug Life...
 
Introduction & Manual Testing
Introduction & Manual TestingIntroduction & Manual Testing
Introduction & Manual Testing
 
Manual testing
Manual testingManual testing
Manual testing
 
Test case techniques
Test case techniquesTest case techniques
Test case techniques
 
Software Testing
Software TestingSoftware Testing
Software Testing
 
Types of software testing
Types of software testingTypes of software testing
Types of software testing
 
Test cases
Test casesTest cases
Test cases
 
Black box software testing
Black box software testingBlack box software testing
Black box software testing
 
Software testing
Software testingSoftware testing
Software testing
 

Viewers also liked

Types of tests and types of testing
Types of tests and types of testingTypes of tests and types of testing
Types of tests and types of testing
Phạm Phúc Khánh Minh
 
Test and some test types (ev elt)
Test and some test types (ev elt)Test and some test types (ev elt)
Test and some test types (ev elt)theryszard
 
Language Testing: Approaches and Techniques
Language Testing: Approaches and TechniquesLanguage Testing: Approaches and Techniques
Language Testing: Approaches and TechniquesMonica Angeles
 
Types of Test
Types of Test Types of Test
Types of Test
jasper gaboc
 
Approaches to Language Testing
Approaches to Language TestingApproaches to Language Testing
Approaches to Language Testing
mpazhou
 
Language Testing
Language TestingLanguage Testing
Language Testing
Teguh Ekosetio
 
Types of Test
Types of TestTypes of Test
Types of Test
irshad narejo
 
Approaches to language testing
Approaches to language testingApproaches to language testing
Approaches to language testing
Ma Elena Oblino Abainza
 
Kinds of testing (2nd)
Kinds of testing (2nd)Kinds of testing (2nd)
Kinds of testing (2nd)
Harry Subagyo
 
Type of Test
Type of TestType of Test
Type of Test
Manilyn Francisco
 
Principles of Language Assessment
Principles of Language AssessmentPrinciples of Language Assessment
Principles of Language Assessment
A Faiz
 

Viewers also liked (12)

Types of tests and types of testing
Types of tests and types of testingTypes of tests and types of testing
Types of tests and types of testing
 
Test and some test types (ev elt)
Test and some test types (ev elt)Test and some test types (ev elt)
Test and some test types (ev elt)
 
Language Testing: Approaches and Techniques
Language Testing: Approaches and TechniquesLanguage Testing: Approaches and Techniques
Language Testing: Approaches and Techniques
 
Types of test
Types of testTypes of test
Types of test
 
Types of Test
Types of Test Types of Test
Types of Test
 
Approaches to Language Testing
Approaches to Language TestingApproaches to Language Testing
Approaches to Language Testing
 
Language Testing
Language TestingLanguage Testing
Language Testing
 
Types of Test
Types of TestTypes of Test
Types of Test
 
Approaches to language testing
Approaches to language testingApproaches to language testing
Approaches to language testing
 
Kinds of testing (2nd)
Kinds of testing (2nd)Kinds of testing (2nd)
Kinds of testing (2nd)
 
Type of Test
Type of TestType of Test
Type of Test
 
Principles of Language Assessment
Principles of Language AssessmentPrinciples of Language Assessment
Principles of Language Assessment
 

Similar to Types of testing

Software Testing - A sneak preview By Srikanth
Software Testing - A sneak preview By SrikanthSoftware Testing - A sneak preview By Srikanth
Software Testing - A sneak preview By SrikanthSrikanth Krishnamoorthy
 
Software testing
Software testingSoftware testing
Software testing
Sengu Msc
 
Software testing
Software testingSoftware testing
Software testing
Sengu Msc
 
Software testing ppt
Software testing pptSoftware testing ppt
Software testing ppt
Savyasachi14
 
Software testing basic
Software testing basicSoftware testing basic
Software testing basic
Rohit Singh
 
Software testing sengu
Software testing  senguSoftware testing  sengu
Software testing senguSengu Msc
 
Validation & verification software engineering
Validation & verification software engineeringValidation & verification software engineering
Validation & verification software engineering
Sweta Kumari Barnwal
 
Software testing
Software testingSoftware testing
Software testing
Abhishek Gautam
 
SOFTWARE TESTING
SOFTWARE TESTINGSOFTWARE TESTING
SOFTWARE TESTING
acemindia
 
Software testing strategies
Software testing strategiesSoftware testing strategies
Software testing strategies
Sophia Girls' College(Autonomous), Ajmer
 
Abc of testing
Abc of testingAbc of testing
Abc of testing
Nimble Esolutions
 
SOFTWARE TESTING.pptx
SOFTWARE TESTING.pptxSOFTWARE TESTING.pptx
SOFTWARE TESTING.pptx
ssrpr
 
Software testing
Software testingSoftware testing
Software testing
Eng Ibrahem
 
White box & black box testing
White box & black box testingWhite box & black box testing
White box & black box testing
Saket Khopkar
 
Software testing
Software testingSoftware testing
Software testing
Farhanullah khan
 
Software Testing
Software TestingSoftware Testing
Software Testing
Inocentshuja Ahmad
 
Types of software testing
Types of software testingTypes of software testing
Types of software testing
Testbytes
 
S.t.
S.t.S.t.
Introduction to software testing
Introduction to software testingIntroduction to software testing
Introduction to software testingVenkat Alagarsamy
 
softwaretestingppt-FINAL-PPT-1
softwaretestingppt-FINAL-PPT-1softwaretestingppt-FINAL-PPT-1
softwaretestingppt-FINAL-PPT-1FAIZALSAIYED
 

Similar to Types of testing (20)

Software Testing - A sneak preview By Srikanth
Software Testing - A sneak preview By SrikanthSoftware Testing - A sneak preview By Srikanth
Software Testing - A sneak preview By Srikanth
 
Software testing
Software testingSoftware testing
Software testing
 
Software testing
Software testingSoftware testing
Software testing
 
Software testing ppt
Software testing pptSoftware testing ppt
Software testing ppt
 
Software testing basic
Software testing basicSoftware testing basic
Software testing basic
 
Software testing sengu
Software testing  senguSoftware testing  sengu
Software testing sengu
 
Validation & verification software engineering
Validation & verification software engineeringValidation & verification software engineering
Validation & verification software engineering
 
Software testing
Software testingSoftware testing
Software testing
 
SOFTWARE TESTING
SOFTWARE TESTINGSOFTWARE TESTING
SOFTWARE TESTING
 
Software testing strategies
Software testing strategiesSoftware testing strategies
Software testing strategies
 
Abc of testing
Abc of testingAbc of testing
Abc of testing
 
SOFTWARE TESTING.pptx
SOFTWARE TESTING.pptxSOFTWARE TESTING.pptx
SOFTWARE TESTING.pptx
 
Software testing
Software testingSoftware testing
Software testing
 
White box & black box testing
White box & black box testingWhite box & black box testing
White box & black box testing
 
Software testing
Software testingSoftware testing
Software testing
 
Software Testing
Software TestingSoftware Testing
Software Testing
 
Types of software testing
Types of software testingTypes of software testing
Types of software testing
 
S.t.
S.t.S.t.
S.t.
 
Introduction to software testing
Introduction to software testingIntroduction to software testing
Introduction to software testing
 
softwaretestingppt-FINAL-PPT-1
softwaretestingppt-FINAL-PPT-1softwaretestingppt-FINAL-PPT-1
softwaretestingppt-FINAL-PPT-1
 

Recently uploaded

Polish students' mobility in the Czech Republic
Polish students' mobility in the Czech RepublicPolish students' mobility in the Czech Republic
Polish students' mobility in the Czech Republic
Anna Sz.
 
The geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideasThe geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideas
GeoBlogs
 
CACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdfCACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdf
camakaiclarkmusic
 
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
Nguyen Thanh Tu Collection
 
The basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptxThe basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptx
heathfieldcps1
 
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdfAdversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Po-Chuan Chen
 
How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...
Jisc
 
Digital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and ResearchDigital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and Research
Vikramjit Singh
 
Acetabularia Information For Class 9 .docx
Acetabularia Information For Class 9  .docxAcetabularia Information For Class 9  .docx
Acetabularia Information For Class 9 .docx
vaibhavrinwa19
 
Language Across the Curriculm LAC B.Ed.
Language Across the  Curriculm LAC B.Ed.Language Across the  Curriculm LAC B.Ed.
Language Across the Curriculm LAC B.Ed.
Atul Kumar Singh
 
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
Levi Shapiro
 
Palestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptxPalestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptx
RaedMohamed3
 
Introduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp NetworkIntroduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp Network
TechSoup
 
Francesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptxFrancesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptx
EduSkills OECD
 
Operation Blue Star - Saka Neela Tara
Operation Blue Star   -  Saka Neela TaraOperation Blue Star   -  Saka Neela Tara
Operation Blue Star - Saka Neela Tara
Balvir Singh
 
Guidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th SemesterGuidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th Semester
Atul Kumar Singh
 
1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx
JosvitaDsouza2
 
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup   New Member Orientation and Q&A (May 2024).pdfWelcome to TechSoup   New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
TechSoup
 
Additional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdfAdditional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdf
joachimlavalley1
 
Overview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with MechanismOverview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with Mechanism
DeeptiGupta154
 

Recently uploaded (20)

Polish students' mobility in the Czech Republic
Polish students' mobility in the Czech RepublicPolish students' mobility in the Czech Republic
Polish students' mobility in the Czech Republic
 
The geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideasThe geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideas
 
CACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdfCACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdf
 
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
 
The basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptxThe basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptx
 
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdfAdversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
 
How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...
 
Digital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and ResearchDigital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and Research
 
Acetabularia Information For Class 9 .docx
Acetabularia Information For Class 9  .docxAcetabularia Information For Class 9  .docx
Acetabularia Information For Class 9 .docx
 
Language Across the Curriculm LAC B.Ed.
Language Across the  Curriculm LAC B.Ed.Language Across the  Curriculm LAC B.Ed.
Language Across the Curriculm LAC B.Ed.
 
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
 
Palestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptxPalestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptx
 
Introduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp NetworkIntroduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp Network
 
Francesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptxFrancesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptx
 
Operation Blue Star - Saka Neela Tara
Operation Blue Star   -  Saka Neela TaraOperation Blue Star   -  Saka Neela Tara
Operation Blue Star - Saka Neela Tara
 
Guidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th SemesterGuidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th Semester
 
1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx
 
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup   New Member Orientation and Q&A (May 2024).pdfWelcome to TechSoup   New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
 
Additional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdfAdditional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdf
 
Overview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with MechanismOverview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with Mechanism
 

Types of testing

  • 1. Types Of Testing Presented By: Sonam Agarwal 3ird year, IT
  • 2. Introduction & Fundamentals  What is Software Testing?  Why testing is necessary?  Who does the testing?  What do we test?
  • 3. Error ,Bug ,Fault ,Failure  A person makes an Error That creates a fault in software That can cause a failure in operation Bug, Fault & Failure.  Error : An error is a human action that produces the incorrect result.  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.
  • 4. Objectives of testing  The aim of the testing is to identify all defects existing in a software product. It is not possible to guarantee that the software is error free. This is because of the fact that the input data domain of most software products is very large.  A good test case is one that has a high probability of finding an as-yet-undiscovered error.  A successful test is one that uncovers an as-yet- undiscovered error.  What testing cannot do ? o Cannot show the absence of errors.
  • 5. Objectives of a Software Tester  Find bugs as early as possible and make sure they get fixed.  To understand the application well.  Study the functionality in detail to find where the bugs are likely to occur.  Study the code to ensure that each and every line of code is tested.  Create test cases in such a way that testing is done to uncover the hidden bugs and also ensure that the software is usable and reliable.
  • 6. Verification & Validation  Verification - refers to the set of activities that ensure that software correctly implements a specific function.  Validation- refers to a different set of activities that ensure that the software that has been built is traceable to customer requirements. Verification: "Are we building the product right?" Validation: "Are we building the right product?"
  • 7. Testing Vs Debugging  Debugging is not Testing.  Debugging always occurs as a consequence of testing.  Debugging attempts to find the cause of an error and correct it.
  • 8. When to Start Testing in SDLC Phases of SDLC  Feasibility Study  Requirements Analysis and Specification  Design  Coding  Testing  Maintenance
  • 9. Types Of Testing White Box Testing Black Box Testing System Testing Usability Testing Static Testing Dynamic Testing Performance Test Walkthrough Unit Testing Code Reviews Integration Testing Code Inspection Regression Testing
  • 10. White Box Testing  The internals of software are tested to make sure that they operate according to specification and design.  Test cases are based on internal structure of software.  Areas Code Coverage ,Statement Coverage, Branch Coverage, Condition Coverage ,Loop Coverage, Path Coverage ,Data Flow Coverage. • Techniques o Flow graph testing ,Graph matrices ,Control structure testing , Data flow testing.
  • 11. Static Testing  Static testing of a program carried out without executing the program.  It aims to find defects in the software product in the early stages of software development, so that they can be fixed easily.  It can find errors that occur on paths uncovered by testing  It explores all possible execution paths in a program at compile time.  Who o By a team of individuals. o By individual who didn’t write the code.
  • 12. Code Review o A code review can be done as a special kind of inspection in which the team examines a sample of code and fixes any defects in it. In a code review, a defect is a block of code which does not properly implement its requirements, which does not function as the programmer intended. o Are the variables name meaningful? o Are the variables initialized? o Are pointers initialized properly? o Are there infinite loops? o Has the usage of operators like = and == or & and && been checked or not?
  • 13. Code Inspection  It is the most formal technique.  The aim of this review type is to uncover defects in the document in the early stages of software development and thereby improve the quality of the product.  An inspection is one of the most common review practices found in software projects. In an inspection, a work product is selected for review and a team is gathered for an inspection meeting to review the work product.  The goal of the inspection is to identify defects.
  • 14. Code Inspection(continued…) The stages in the inspections process are: Planning: The inspection is planned by the moderator. Overview meeting: The author describes the background of the work product. Preparation: Each inspector examines the work product to identify possible defects. Inspection meeting: During this meeting the reader reads through the work product, part by part and the inspectors point out the defects for every part. Rework: The author makes changes to the work product according to the action plans from the inspection meeting. Follow-up: The changes by the author are checked to make sure everything is correct. The process is ended by the moderator when it satisfies some predefined exit criteria.
  • 15. Unit Testing  Objectives The primary goal of unit testing is to take the smallest module of testable software, and running it in isolation by using prepared test cases and comparing with the actual result to test the interfaces between modules.  When After modules are coded  Who Developer/programmer  Methods o White Box testing techniques
  • 16. What are Stubs, Drivers ?  A stub is a computer program which is used as a substitute for the body of a software module or a dummy module which simulates the function of a module called by a given module under test.  Driver a module which transmits test cases in the form of input arguments to the given module under test and either prints or interprets the results produced by it.
  • 17. Integration Testing  Objectives To technically verify proper interfacing between modules, and within sub-systems that satisfy functional requirement.  When After modules are unit tested  Who Developers/Programmer  Methods o White Box techniques o Black Box techniques
  • 18. Types Of Integration Testing  Top-Down Integration testing  Bottom-Up Integration testing
  • 19. Top Down Integration Testing A B Stub Stub Stub A B C Stub Stub stub Stub
  • 20. Bottom Up Integration testing Test Drivers Level N Level N-1 Level N-1 Level NLevel N Test Drivers Test Drivers Test Drivers Test Drivers
  • 21. Regression Testing  Objectives o It is used to checks faults, defects propagated to other modules by changes made to existing program. o This testing is used to reduce the side effects of changes. o Testing is done by re-executing the previous versions of the application.  Who Programmers or independent testers
  • 22. Black Box Testing  In the black-box testing approach, test cases are designed using only the functional specification of the software, i.e. without any knowledge of the internal structure of the software.  It explains the process of giving the input to the system and checking the output, without considering how the system generates the output. It is also known as Behavioral Testing.  It attempts to find error in the external behavior of the code.
  • 23. System Testing  Objectives The goal of system testing is not to find out faults but to demonstrate performance.  What The system testing is actually a series of different tests , primary purpose of which is to fully exercise the system. All work to verify that all system elements have been properly integrated and perform allocated functions.  When After Integration Testing  Who Development Team
  • 24. Acceptance Testing  Objectives To verify that the system meets the user requirements. It is the system testing performed by the customer him/herself after the product delivery to determine whether to accept or reject the delivered product.  When After System Testing  Who Users / End Users  Methods o Black Box techniques
  • 25. Alpha Testing  It is a testing in which the version of complete software is tested by the customer under the supervision of developer.  This testing is performed at the developer's site in a control environment under the guidance of a developer.
  • 26. Beta Testing  It is a testing in which software is tested by a customer without the developer being present.  This testing is performing at the customer's site.  Customer records the problems and reports it to the developer then the developer makes appropriate modifications.