SlideShare a Scribd company logo
1 of 17
On
Software testing

SUBMITED BY

LOKESH GUPTA
MTECH S.E
Software testing is performed to verify that the
completed software package functions according to
the expectations defined by the Requirements/
specifications. The overall objective to not to find
every software bug that exists, but to uncover
situations that could negatively impact the
customer, usability and/or maintainability.
Two process involves in software testing
Validation
Verification
Validation :

Validation uses methods like black box

(functional) testing, gray box testing, and white box
(structural) testing etc.
Validation is to check whether software meets the
customer expectations and requirements
Verification :

Verification uses methods like inspections,
reviews, walkthroughs, and Desk-checking etc.

Verification is to check whether the software
conforms to specifications.
Verification is done by development team to

provide that the software is as per the specifications
in the SRS document.
Figure1.1: Verification and Validation
 Testing can be used to show the presence of errors,

but never to show their absence. It can only
identify the known issues or errors. It gives no idea
about defects still uncovered. Testing cannot
guarantee that the system under test is error free.
 Testing provides no help when we have to make a
decision to either "release the product with errors for

meeting the deadline" or to "release the product late
compromising the deadline.
Testing cannot establish that a product functions

properly under all conditions but can only establish
that it does not function properly under specific
conditions.
Software testing does not help in finding root

causes which resulted in injection of defects in the
first place. Locating root causes of failures can help
us in preventing injection of such faults in future.
Test cases are developed using various test
techniques to achieve more effective testing. By this,
software completeness is provided and conditions of
testing which get the greatest probability of finding
errors are chosen. So , testers do not guess which test
cases to chose, and test techniques enable them to
design testing conditions in a systematic way.
Software can be tested in two ways, in another words,
one can distinguish two different methods:
1. Black box testing
2. White box testing
Black box testing: The technique of testing without
having any knowledge of the interior workings of the
application is Black Box testing. The tester is
oblivious to the system architecture and does not
have access to the source code.
FiFigure 1.2: Black Box Testing
when performing a black box test, a tester will
interact with the system's user interface by
providing inputs and examining outputs without
knowing how and where the inputs are worked
upon.
Test case design input and output

Equivalent Partitioning
Boundary Value Analysis
White box testing is the detailed investigation of
internal logic and structure of the code. White box
testing is also called glass testing or open box testing.
In order to perform white box testing on an
application, the tester needs to possess knowledge of
the internal working of the code.
The tester needs to have a look inside the source code
and find out which unit/chunk of the code is
behaving inappropriately.
Figure1.3:White box testing
White box testing
Finding the following errors area:
Independence path check
Data structure
Cyclomatic complexity
A

CC

B
2

3
D

1

F

E
Cyclomatic Complexity formula V(g):E-N+2
Where E=edge
N=node
V(g) = E-N+2
=7-6+2
=3
2) =P+1 p(predicate node)
=2+1=3
3)No of regions=3
Software testing

More Related Content

What's hot

Black box testing lecture 11
Black box testing lecture 11Black box testing lecture 11
Black box testing lecture 11
Abdul Basit
 
Software Testing Tecniques
Software Testing TecniquesSoftware Testing Tecniques
Software Testing Tecniques
ersanbilik
 

What's hot (20)

White box black box & gray box testing
White box black box & gray box testingWhite box black box & gray box testing
White box black box & gray box testing
 
A COMPOSITION ON SOFTWARE TESTING
A COMPOSITION ON SOFTWARE TESTINGA COMPOSITION ON SOFTWARE TESTING
A COMPOSITION ON SOFTWARE TESTING
 
Testing
TestingTesting
Testing
 
Black box testing lecture 11
Black box testing lecture 11Black box testing lecture 11
Black box testing lecture 11
 
An Insight into the Black Box and White Box Software Testing
An Insight into the Black Box and White Box Software Testing An Insight into the Black Box and White Box Software Testing
An Insight into the Black Box and White Box Software Testing
 
Structural and functional testing
Structural and functional testingStructural and functional testing
Structural and functional testing
 
Testing and types of Testing
Testing and types of TestingTesting and types of Testing
Testing and types of Testing
 
Software Testing Tecniques
Software Testing TecniquesSoftware Testing Tecniques
Software Testing Tecniques
 
White box testing
White box testing White box testing
White box testing
 
Paper 06
Paper 06Paper 06
Paper 06
 
Testing fundamentals
Testing fundamentalsTesting fundamentals
Testing fundamentals
 
Software, Security, manual testing training in Chandigarh
Software, Security, manual testing training in Chandigarh          Software, Security, manual testing training in Chandigarh
Software, Security, manual testing training in Chandigarh
 
System testing
System testingSystem testing
System testing
 
Quality assurance tests
Quality assurance testsQuality assurance tests
Quality assurance tests
 
Different techniques-of-software-testing
Different techniques-of-software-testingDifferent techniques-of-software-testing
Different techniques-of-software-testing
 
Blackbox
BlackboxBlackbox
Blackbox
 
Learn Bug Reporting Techniques
Learn Bug Reporting TechniquesLearn Bug Reporting Techniques
Learn Bug Reporting Techniques
 
Stm unit1
Stm unit1Stm unit1
Stm unit1
 
White box & Black box testing
White box & Black box testingWhite box & Black box testing
White box & Black box testing
 
Black box testing
Black box testingBlack box testing
Black box testing
 

Viewers also liked (9)

What is tcp
What is tcpWhat is tcp
What is tcp
 
ขนมไทย
ขนมไทยขนมไทย
ขนมไทย
 
Best Cleaning Business Names
Best Cleaning Business NamesBest Cleaning Business Names
Best Cleaning Business Names
 
ขนมไทย
ขนมไทยขนมไทย
ขนมไทย
 
Software quality assurance activites
Software quality assurance activitesSoftware quality assurance activites
Software quality assurance activites
 
ผู้ให้บริการ
ผู้ให้บริการผู้ให้บริการ
ผู้ให้บริการ
 
CLOUD COMPTUING
CLOUD COMPTUINGCLOUD COMPTUING
CLOUD COMPTUING
 
Profesyonel Koçluk Bilgi Kiti
Profesyonel Koçluk Bilgi KitiProfesyonel Koçluk Bilgi Kiti
Profesyonel Koçluk Bilgi Kiti
 
Direito processual civil col. esquematiz marcus vinicius rios gonçalves ...
Direito processual civil   col. esquematiz   marcus vinicius rios gonçalves  ...Direito processual civil   col. esquematiz   marcus vinicius rios gonçalves  ...
Direito processual civil col. esquematiz marcus vinicius rios gonçalves ...
 

Similar to Software testing

Software testing.ppt
Software testing.pptSoftware testing.ppt
Software testing.ppt
Komal Garg
 
softwaretesting-140721025833-phpapp02.pdf
softwaretesting-140721025833-phpapp02.pdfsoftwaretesting-140721025833-phpapp02.pdf
softwaretesting-140721025833-phpapp02.pdf
SHAMSHADHUSAIN9
 
softwaretesting-140721025833-phpapp02.pptx
softwaretesting-140721025833-phpapp02.pptxsoftwaretesting-140721025833-phpapp02.pptx
softwaretesting-140721025833-phpapp02.pptx
SHAMSHADHUSAIN9
 
Software testing sengu
Software testing  senguSoftware testing  sengu
Software testing sengu
Sengu Msc
 

Similar to Software testing (20)

Software testing strategies
Software testing strategiesSoftware testing strategies
Software testing strategies
 
Understanding Black Box Testing – Types, Techniques, and Examples.pdf
Understanding Black Box Testing – Types, Techniques, and Examples.pdfUnderstanding Black Box Testing – Types, Techniques, and Examples.pdf
Understanding Black Box Testing – Types, Techniques, and Examples.pdf
 
black and white Box testing.pptx
black and white Box testing.pptxblack and white Box testing.pptx
black and white Box testing.pptx
 
unittesting-190620114546 (1).pptx document
unittesting-190620114546 (1).pptx documentunittesting-190620114546 (1).pptx document
unittesting-190620114546 (1).pptx document
 
Software testing methods
Software testing methodsSoftware testing methods
Software testing methods
 
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
 
softwaretesting-140721025833-phpapp02.pdf
softwaretesting-140721025833-phpapp02.pdfsoftwaretesting-140721025833-phpapp02.pdf
softwaretesting-140721025833-phpapp02.pdf
 
Types of testing
Types of testingTypes of testing
Types of testing
 
Software test life cycle
Software test life cycleSoftware test life cycle
Software test life cycle
 
Testing Techniques.pptx
Testing Techniques.pptxTesting Techniques.pptx
Testing Techniques.pptx
 
White box & black box testing
White box & black box testingWhite box & black box testing
White box & black box testing
 
Software Testing Types Comprehensive Guide
Software Testing Types Comprehensive GuideSoftware Testing Types Comprehensive Guide
Software Testing Types Comprehensive Guide
 
softwaretesting-140721025833-phpapp02.pptx
softwaretesting-140721025833-phpapp02.pptxsoftwaretesting-140721025833-phpapp02.pptx
softwaretesting-140721025833-phpapp02.pptx
 
Software testing sengu
Software testing  senguSoftware testing  sengu
Software testing sengu
 
White-box testing.pptx
White-box testing.pptxWhite-box testing.pptx
White-box testing.pptx
 
S440999102
S440999102S440999102
S440999102
 
Real Time software Training in Nagercoil
Real Time software Training in NagercoilReal Time software Training in Nagercoil
Real Time software Training in Nagercoil
 
SOFTWARE TESTING
SOFTWARE TESTINGSOFTWARE TESTING
SOFTWARE TESTING
 

Recently uploaded

Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 

Recently uploaded (20)

Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesHTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation Strategies
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 

Software testing

  • 2. Software testing is performed to verify that the completed software package functions according to the expectations defined by the Requirements/ specifications. The overall objective to not to find every software bug that exists, but to uncover situations that could negatively impact the customer, usability and/or maintainability.
  • 3. Two process involves in software testing Validation Verification Validation : Validation uses methods like black box (functional) testing, gray box testing, and white box (structural) testing etc. Validation is to check whether software meets the customer expectations and requirements
  • 4. Verification : Verification uses methods like inspections, reviews, walkthroughs, and Desk-checking etc. Verification is to check whether the software conforms to specifications. Verification is done by development team to provide that the software is as per the specifications in the SRS document.
  • 6.  Testing can be used to show the presence of errors, but never to show their absence. It can only identify the known issues or errors. It gives no idea about defects still uncovered. Testing cannot guarantee that the system under test is error free.  Testing provides no help when we have to make a decision to either "release the product with errors for meeting the deadline" or to "release the product late compromising the deadline.
  • 7. Testing cannot establish that a product functions properly under all conditions but can only establish that it does not function properly under specific conditions. Software testing does not help in finding root causes which resulted in injection of defects in the first place. Locating root causes of failures can help us in preventing injection of such faults in future.
  • 8. Test cases are developed using various test techniques to achieve more effective testing. By this, software completeness is provided and conditions of testing which get the greatest probability of finding errors are chosen. So , testers do not guess which test cases to chose, and test techniques enable them to design testing conditions in a systematic way.
  • 9. Software can be tested in two ways, in another words, one can distinguish two different methods: 1. Black box testing 2. White box testing Black box testing: The technique of testing without having any knowledge of the interior workings of the application is Black Box testing. The tester is oblivious to the system architecture and does not have access to the source code.
  • 10. FiFigure 1.2: Black Box Testing
  • 11. when performing a black box test, a tester will interact with the system's user interface by providing inputs and examining outputs without knowing how and where the inputs are worked upon. Test case design input and output Equivalent Partitioning Boundary Value Analysis
  • 12. White box testing is the detailed investigation of internal logic and structure of the code. White box testing is also called glass testing or open box testing. In order to perform white box testing on an application, the tester needs to possess knowledge of the internal working of the code. The tester needs to have a look inside the source code and find out which unit/chunk of the code is behaving inappropriately.
  • 14. White box testing Finding the following errors area: Independence path check Data structure Cyclomatic complexity
  • 16. Cyclomatic Complexity formula V(g):E-N+2 Where E=edge N=node V(g) = E-N+2 =7-6+2 =3 2) =P+1 p(predicate node) =2+1=3 3)No of regions=3