SlideShare a Scribd company logo
1 of 29
Software Testing
Mody Univercity,Laxmanghr

Submitted By:Bhagyashree pathak
110077
CS-C
Contents
 Introduction
 Necessity

of testing
 Goals of testing
 Testing methods
 Testing levels
 Testing approach
 Testing types
 Updates Regarding ST
 Conclusion
Introduction
 Testing

is the process of executing a program
with the intention of finding errors.

 Testing

can show the presence of bugs but never
their absence.

 Testing

is quality control activity.
Necessity of Testing



To check the reliability of the software.
To be ensured that the software does not contain
any bug which can become a reason for failure.

 To

check the software was made according to its
specification.

 To

check that users are capable of using the
software.

 To

check software works with other software and
hardware it needs to work with.
Goals of Testing


Detect faults.



Establish confidence in software.



Evaluate properties of software.
-Reliability
-Performance
-Memory Usage
-Security
-Usability
Testing Methods
 Static vs. Dynamic Testing


The Box approach
- White-box testing

- Black-box testing
Static vs. Dynamic Testing
 Reviews,

walkthroughs, or inspections are
referred to as Static testing, whereas
actually executing programmed code with
a given set of test cases is referred to as
dynamic testing.

 Static

testing can be omitted, and
unfortunately in practice often is.
Dynamic testing takes place when the
program itself is used.
White box testing
 Testing

based on an analysis of the
internal structure of the component or
system.

 White

box testing uses specific knowledge of
programming code to examine outputs.

 White

box testing is used to test areas that cannot
be reached from a black box level.
Advantages
 As

the tester has knowledge of the
source code, it becomes very easy to find
out which type of data can help in testing
the application effectively.




It helps in optimizing the code.
Extra lines of code can be removed
which can bring in hidden defects.
Disadvantages
 Due

to the fact that a skilled tester is
needed to perform white box testing, the
costs are increased.

 Sometimes it

is impossible to look into
every nook and corner to find out hidden
errors that may create problems as many
paths will go untested.
Black box testing
 It

is a software testing method in which the
internal structure/design/implementation of the
item being tested is not known to the tester.

 These

tests can be functional or
non- functional, though usually functional.
Advantages


Tester can be non-technical.



Used to verify contradictions in actual system
and the specifications.

Disadvantages


The test inputs needs to be from large sample
space.



It is difficult to identify all possible inputs in limited
testing time. So writing test cases is slow and
difficult.
Testing levels
 Unit

testing

- Exercises specific paths in a component's
control structure to ensure complete coverage
and maximum error detection.
- Components are then assembled and integrated.
 Integration testing

- Focuses on inputs and outputs, and how well
the components fit together and work together
Validation testing
-Provides final assurance that the software meets
all functional, behavioral, and performance
requirements.

System testing
-Verifies that all system elements
(software,
hardware, people, databases) mesh
properly and that overall system function and
performance is achieved.
Testing Approach
 Bottom-up testing

- It is an approach to integrated testing where the lowest
level components– modules, procedures or functions– are
tested 1st,then integrated and used to facilitate the testing
of higher level components.
- This method also helps to determine the levels of software
developed and makes it easier to report testing progress in
the form of a percentage.

 Top-down testing
- It is an approach to integrated testing where the top
integrated modules are tested and the branch of the module
is tested step by step until the end of the related module.
Testing Types
 Alpha Testing
 Beta Testing
 Functional and

Non-functional Testing
Alpha Testing


This test is the first stage of testing and will be
performed amongst the teams (developer and QA
teams).



Unit testing, integration testing and system testing when
combined are known as alpha testing.



The following will be tested in the application.
- spelling mistakes
- broken links
- cloudy directions
Beta Testing
 The

aim of beta testing is to cover unexpected
errors.

 Testing

when development and testing are
essentially completed and final bugs and problems
need to be found before release.

 These

are released to a limited audience outside of
the programming team.

 The

software is released to groups of people so
that further testing can ensure the product has few
faults or bugs.
Examples of well known beta tests


Microsoft
-one of the most well
known in beta tests in
memory was the beta
for microsoft’s windows 7
operating system and
before that windows vista.
Functional Testing
 Functional

testing refers to activities that verify a
specific action or function of the code.

 The

application is tested by providing input and
then the results are examined that need to confirm
to the functionality it was intended for.

 Functional

tests tend to answer the question of
“can the user do this” or “does this particular
feature work”.
Non-functional Testing
 This

section is based upon the testing of the
application from its non-functional attributes.

 Non-functional testing

of Software involves
testing the Software for the requirements which
are non-functional in nature.

 It

deals with features such as
performance, security, user interface etc.
Updates Regarding ST
Beta testing of web sites
 Facebook timeline

was launched on beta testing.
Gaana.com for online music still on beta
testing..
Conclusion
 Software testing

is an art.
 Testing is more than just debugging.
 Testing is expensive.
 Complete testing is infeasible.
-complete testing is not achievable, and the
amount that we have estimated for production of
any software product is less then the required
amount.
Software testing

More Related Content

What's hot (20)

Testing
TestingTesting
Testing
 
Test Levels & Techniques
Test Levels & TechniquesTest Levels & Techniques
Test Levels & Techniques
 
Software testing methods, levels and types
Software testing methods, levels and typesSoftware testing methods, levels and types
Software testing methods, levels and types
 
Validation testing
Validation testingValidation testing
Validation testing
 
verification and validation
verification and validationverification and validation
verification and validation
 
SOFTWARE TESTING
SOFTWARE TESTINGSOFTWARE TESTING
SOFTWARE TESTING
 
Software testing.ppt
Software testing.pptSoftware testing.ppt
Software testing.ppt
 
Software testing
Software testingSoftware testing
Software testing
 
Manual testing
Manual testingManual testing
Manual testing
 
Types of testing
Types of testingTypes of testing
Types of testing
 
Integration testing
Integration testingIntegration testing
Integration testing
 
Software testing ppt
Software testing pptSoftware testing ppt
Software testing ppt
 
Software testing
Software testing Software testing
Software testing
 
Software Verification & Validation
Software Verification & ValidationSoftware Verification & Validation
Software Verification & Validation
 
Verification and Validation in Software Engineering SE19
Verification and Validation in Software Engineering SE19Verification and Validation in Software Engineering SE19
Verification and Validation in Software Engineering SE19
 
Black & White Box testing
Black & White Box testingBlack & White Box testing
Black & White Box testing
 
Black box software testing
Black box software testingBlack box software testing
Black box software testing
 
Software Testing
Software TestingSoftware Testing
Software Testing
 
System testing
System testingSystem testing
System testing
 
Software testing
Software testingSoftware testing
Software testing
 

Similar to Software testing

Testing in Software Engineering.docx
Testing in Software Engineering.docxTesting in Software Engineering.docx
Testing in Software Engineering.docx8759000398
 
Types of software testing
Types of software testingTypes of software testing
Types of software testingTestbytes
 
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 ppt
Software testing pptSoftware testing ppt
Software testing pptSavyasachi14
 
Software testing
Software testingSoftware testing
Software testingSengu Msc
 
Software testing
Software testingSoftware testing
Software testingSengu Msc
 
softwaretesting-140721025833-phpapp02.pdf
softwaretesting-140721025833-phpapp02.pdfsoftwaretesting-140721025833-phpapp02.pdf
softwaretesting-140721025833-phpapp02.pdfSHAMSHADHUSAIN9
 
Software testing basic
Software testing basicSoftware testing basic
Software testing basicRohit Singh
 
softwaretestingppt-FINAL-PPT-1
softwaretestingppt-FINAL-PPT-1softwaretestingppt-FINAL-PPT-1
softwaretestingppt-FINAL-PPT-1FAIZALSAIYED
 
Interview questions for manual testing technology.
Interview questions for manual testing technology.Interview questions for manual testing technology.
Interview questions for manual testing technology.Vinay Agnihotri
 
Manual testing
Manual testingManual testing
Manual testingVivek V
 
Software testing
Software testingSoftware testing
Software testingmkn3009
 
Software Testing
Software TestingSoftware Testing
Software TestingSengu Msc
 

Similar to Software testing (20)

Software testing
Software testingSoftware testing
Software testing
 
Testing in Software Engineering.docx
Testing in Software Engineering.docxTesting in Software Engineering.docx
Testing in Software Engineering.docx
 
Testing strategies
Testing strategiesTesting strategies
Testing strategies
 
Types of software testing
Types of software testingTypes of software testing
Types of software testing
 
Software testing
Software testingSoftware testing
Software 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 Srikanth
 
Software testing ppt
Software testing pptSoftware testing ppt
Software testing ppt
 
Software testing
Software testingSoftware testing
Software testing
 
Software testing
Software testingSoftware testing
Software testing
 
Software testing
Software testingSoftware testing
Software testing
 
Software testing
Software testingSoftware testing
Software testing
 
softwaretesting-140721025833-phpapp02.pdf
softwaretesting-140721025833-phpapp02.pdfsoftwaretesting-140721025833-phpapp02.pdf
softwaretesting-140721025833-phpapp02.pdf
 
Software testing basic
Software testing basicSoftware testing basic
Software testing basic
 
softwaretestingppt-FINAL-PPT-1
softwaretestingppt-FINAL-PPT-1softwaretestingppt-FINAL-PPT-1
softwaretestingppt-FINAL-PPT-1
 
Interview questions for manual testing technology.
Interview questions for manual testing technology.Interview questions for manual testing technology.
Interview questions for manual testing technology.
 
Manual testing
Manual testingManual testing
Manual testing
 
Testing
Testing Testing
Testing
 
UNIT 2.pptx
UNIT 2.pptxUNIT 2.pptx
UNIT 2.pptx
 
Software testing
Software testingSoftware testing
Software testing
 
Software Testing
Software TestingSoftware Testing
Software Testing
 

Recently uploaded

CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):comworks
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxhariprasad279825
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLScyllaDB
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticscarlostorres15106
 
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Wonjun Hwang
 
costume and set research powerpoint presentation
costume and set research powerpoint presentationcostume and set research powerpoint presentation
costume and set research powerpoint presentationphoebematthew05
 
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024The Digital Insurer
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machinePadma Pradeep
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfAlex Barbosa Coqueiro
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piececharlottematthew16
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsMiki Katsuragi
 
APIForce Zurich 5 April Automation LPDG
APIForce Zurich 5 April  Automation LPDGAPIForce Zurich 5 April  Automation LPDG
APIForce Zurich 5 April Automation LPDGMarianaLemus7
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...shyamraj55
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii SoldatenkoFwdays
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 

Recently uploaded (20)

CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
 
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptx
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food Manufacturing
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQL
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
 
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
 
costume and set research powerpoint presentation
costume and set research powerpoint presentationcostume and set research powerpoint presentation
costume and set research powerpoint presentation
 
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piece
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering Tips
 
APIForce Zurich 5 April Automation LPDG
APIForce Zurich 5 April  Automation LPDGAPIForce Zurich 5 April  Automation LPDG
APIForce Zurich 5 April Automation LPDG
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 
Hot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort Service
Hot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort ServiceHot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort Service
Hot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort Service
 

Software testing

  • 1. Software Testing Mody Univercity,Laxmanghr Submitted By:Bhagyashree pathak 110077 CS-C
  • 2. Contents  Introduction  Necessity of testing  Goals of testing  Testing methods  Testing levels  Testing approach  Testing types  Updates Regarding ST  Conclusion
  • 3. Introduction  Testing is the process of executing a program with the intention of finding errors.  Testing can show the presence of bugs but never their absence.  Testing is quality control activity.
  • 4. Necessity of Testing   To check the reliability of the software. To be ensured that the software does not contain any bug which can become a reason for failure.  To check the software was made according to its specification.  To check that users are capable of using the software.  To check software works with other software and hardware it needs to work with.
  • 5. Goals of Testing  Detect faults.  Establish confidence in software.  Evaluate properties of software. -Reliability -Performance -Memory Usage -Security -Usability
  • 7.  Static vs. Dynamic Testing  The Box approach - White-box testing - Black-box testing
  • 8. Static vs. Dynamic Testing  Reviews, walkthroughs, or inspections are referred to as Static testing, whereas actually executing programmed code with a given set of test cases is referred to as dynamic testing.  Static testing can be omitted, and unfortunately in practice often is. Dynamic testing takes place when the program itself is used.
  • 9. White box testing  Testing based on an analysis of the internal structure of the component or system.  White box testing uses specific knowledge of programming code to examine outputs.  White box testing is used to test areas that cannot be reached from a black box level.
  • 10. Advantages  As the tester has knowledge of the source code, it becomes very easy to find out which type of data can help in testing the application effectively.   It helps in optimizing the code. Extra lines of code can be removed which can bring in hidden defects.
  • 11. Disadvantages  Due to the fact that a skilled tester is needed to perform white box testing, the costs are increased.  Sometimes it is impossible to look into every nook and corner to find out hidden errors that may create problems as many paths will go untested.
  • 12. Black box testing  It is a software testing method in which the internal structure/design/implementation of the item being tested is not known to the tester.  These tests can be functional or non- functional, though usually functional.
  • 13. Advantages  Tester can be non-technical.  Used to verify contradictions in actual system and the specifications. Disadvantages  The test inputs needs to be from large sample space.  It is difficult to identify all possible inputs in limited testing time. So writing test cases is slow and difficult.
  • 15.  Unit testing - Exercises specific paths in a component's control structure to ensure complete coverage and maximum error detection. - Components are then assembled and integrated.  Integration testing - Focuses on inputs and outputs, and how well the components fit together and work together
  • 16. Validation testing -Provides final assurance that the software meets all functional, behavioral, and performance requirements. System testing -Verifies that all system elements (software, hardware, people, databases) mesh properly and that overall system function and performance is achieved.
  • 18.  Bottom-up testing - It is an approach to integrated testing where the lowest level components– modules, procedures or functions– are tested 1st,then integrated and used to facilitate the testing of higher level components. - This method also helps to determine the levels of software developed and makes it easier to report testing progress in the form of a percentage.  Top-down testing - It is an approach to integrated testing where the top integrated modules are tested and the branch of the module is tested step by step until the end of the related module.
  • 20.  Alpha Testing  Beta Testing  Functional and Non-functional Testing
  • 21. Alpha Testing  This test is the first stage of testing and will be performed amongst the teams (developer and QA teams).  Unit testing, integration testing and system testing when combined are known as alpha testing.  The following will be tested in the application. - spelling mistakes - broken links - cloudy directions
  • 22. Beta Testing  The aim of beta testing is to cover unexpected errors.  Testing when development and testing are essentially completed and final bugs and problems need to be found before release.  These are released to a limited audience outside of the programming team.  The software is released to groups of people so that further testing can ensure the product has few faults or bugs.
  • 23. Examples of well known beta tests  Microsoft -one of the most well known in beta tests in memory was the beta for microsoft’s windows 7 operating system and before that windows vista.
  • 24. Functional Testing  Functional testing refers to activities that verify a specific action or function of the code.  The application is tested by providing input and then the results are examined that need to confirm to the functionality it was intended for.  Functional tests tend to answer the question of “can the user do this” or “does this particular feature work”.
  • 25. Non-functional Testing  This section is based upon the testing of the application from its non-functional attributes.  Non-functional testing of Software involves testing the Software for the requirements which are non-functional in nature.  It deals with features such as performance, security, user interface etc.
  • 26. Updates Regarding ST Beta testing of web sites  Facebook timeline was launched on beta testing.
  • 27. Gaana.com for online music still on beta testing..
  • 28. Conclusion  Software testing is an art.  Testing is more than just debugging.  Testing is expensive.  Complete testing is infeasible. -complete testing is not achievable, and the amount that we have estimated for production of any software product is less then the required amount.