SlideShare a Scribd company logo
1 of 32
A
PRESENTATION
ON
SOFTWARE TESTING
Presented By:-
komal Garg
Project Overview
Introduction
Good testing process
 Principle of software testing
Myths of software testing
Levels of Testing
Black-box testing
white-box testing
Alpha testing
Beta testing
INTRODUCTION
“Testing is the process of executing a
program with the intention of finding
errors.” – Myers
“Testing can show the presence of bugs
but never their absence.” – Dijkstra
Software testing can be stated as the
process of validating and verifying that
computer program/application/product:
meets the requirements that guided
its design and development,
works as expected,
can be implemented with the same
characteristics,
and satisfies the needs of
stakeholders.
Good Testing
Practices
A good test case is one that has a
high probability of detecting an
undiscovered defect, not one that
shows that the program works
correctly
It is impossible to test your own
program
A necessary part of every test case
is a description of the expected
result
Avoid non-reproducible or on-the-fly
testing
Write test cases for valid as well as
invalid input conditions.
Thoroughly inspect the results of
each test
As the number of detected defects
in a piece of software increases, the
probability of the existence of more
undetected defects also increases
Assign your best people to testing
Ensure that testability is a key
objective in your software design
Never alter the program to make
testing easier
Testing, like almost every other
activity, must start with objectives
Principle of software
testing:
 Testing should be based on use
requirements.
 Time & resources are limited
 Impossible to test everything
 Use effective resources to test
 Test planning should be done early.
 Testing should begin at module
 Done by an independent party
 Keep s/w static during test
 Documents test case and result
Testing Myths
 Testing is time consuming.
 Testing is too expensive.
 Testing cannot be started if the product is
not fully developed.
 Complete Testing is Possible.
 Missed defects are due to Testers.
 Testers should be responsible for the
quality of a product
 Any one can test a Software application.
 A tester’s task is only to find bugs.
Levels of Testing
Unit Testing:-
Unit Testing is a level of the
software testing process where
individual units/components of a
software/system are tested. The
purpose is to validate that each
unit of the software performs as
designed.
A good unit test is:
 Able to be fully automated
 Has full control over all the pieces running (Use mocks
or stubs to achieve this isolation when needed)
 Can be run in any order if part of many other tests
 Runs in memory (no DB or File access, for example)
 Consistently returns the same result (You always run the
same test, so no random numbers, for example. save
those for integration or range tests)
 Runs fast
 Tests a single logical concept in the system
 Readable
 Maintainable
 Trustworthy (when you see its result, you don’t need to
debug the code just to be sure)
Benefits of Unit testing:-
Find problems early
Facilitates change
Simplifies integration
Documentation
Design
Integration testing:-
Integration Testing is a level of
the software testing process
where individual units are
combined and tested as a group.
The purpose of this level of
testing is to expose faults in the
interaction between integrated
units.
Types of integration
testing:-
1. Big Bang
2. Top down
3. Bottom up
1. Big Bang
Big Bang Integration testing approach used to
find the bugs when all the developed modules
are interacted with each other and create a
complete software system then its produced
result satisfying with original requirement.
2. Top down
In Top down integrated testing approach, all
Top level integrated modules are tested first and
its sub modules tested from top to down step by
step.
3. Bottom up
In Bottom up integrated testing approach, all
bottom (Sub Modules) level integrated sub
modules are tested first and its main modules
tested from bottom to up step by step.
Why Integration Testing Is
Necessary:-
 One module can have an adverse effect on another
 Sub-functions, when combined, may not produce
the desired major function
 Individually acceptable imprecision in calculations
may be magnified to unacceptable levels
 Interfacing errors not detected in unit testing may
appear
 Timing problems (in real-time systems) are not
detectable by unit testing
 Resource contention problems are not detectable
by unit testing
System Testing:-
with the specified
requiremeSystem Testing is a
level of the software testing
process where a complete,
integrated system/software is
tested. The purpose of this test is
to evaluate the system’s
compliance nts
Why system testing
is important:
the first level of testing where the
System is tested as a whole.
check if system meets functional
requirement or not.
validate and verify both the
Application Architecture and
Business requirements
Acceptance
Testing:-
Acceptance Testing is a level of
the software testing process
where a system is tested for
acceptability. The purpose of this
test is to evaluate the system’s
compliance with the business
requirements and assess whether
it is acceptable for delivery.
Why acceptance
testing requires:-
In acceptance test, tester goes through the
application and verifies its each and every
functionality with requirement documents.
Acceptance testing is final testing and is
performed before the delivery of application
or software to end user for use. Its main
purpose is to find the bugs but to get the
confidence of end users requirements are
fulfilled or not. Acceptance test is the last
phase of STLC. After that, maintenance
testing is performed on software or
application if required.
Black-box testing
A software
testing
technique
whereby the
internal workings
of the item being
tested are not
known by the
tester.
Methods of Black
box Testing
1. Graph Based Testing
Methods
2. Error Guessing
3. Boundary Value Analysis
White-box testing
White-box testing (also known
as clear box testing, glass box
testing, transparent box
testing, and structural
testing) is a method of
testing software that tests
internal structures or workings of
an application, as opposed to its
functionality (i.e. black-box
testing).
Three basic steps that white-
box testing:-
i. Input
ii. Processing Unit
iii. Output
White-box test design
techniques
 Control flow testing
 Data flow testing
 Branch testing
 Path testing
 Statement coverage
 Decision coverage.
Advantages:-
I. Side effects of having the
knowledge of the source code.
II. Optimization of code by revealing
hidden errors and being able to
remove these possible defects.
III.Gives the programmer
introspection
Disadvantages:-
White-box testing brings complexity
it is not realistic to be able to test
every single existing condition of the
application and some conditions will
be untested
Alpha testing
Testing done when development
is nearing completion; minor
design changes may still be made
as a result of such testing.
Beta Testing
Testing when development
and testing are essentially
completed and final bugs and
problems need to be found
before release
Thank you…….

More Related Content

What's hot

What is Integration Testing? | Edureka
What is Integration Testing? | EdurekaWhat is Integration Testing? | Edureka
What is Integration Testing? | EdurekaEdureka!
 
Principles of Software testing
Principles of Software testingPrinciples of Software testing
Principles of Software testingMd Mamunur Rashid
 
Software testing & Quality Assurance
Software testing & Quality Assurance Software testing & Quality Assurance
Software testing & Quality Assurance Webtech Learning
 
Basic software-testing-concepts
Basic software-testing-conceptsBasic software-testing-concepts
Basic software-testing-conceptsmedsherb
 
Black Box Testing
Black Box TestingBlack Box Testing
Black Box TestingTestbytes
 
Basic Guide to Manual Testing
Basic Guide to Manual TestingBasic Guide to Manual Testing
Basic Guide to Manual TestingHiral Gosani
 
Software testing
Software testingSoftware testing
Software testingmkn3009
 
5 black box and grey box testing
5   black box and grey box testing5   black box and grey box testing
5 black box and grey box testingYisal Khan
 
Intro to Manual Testing
Intro to Manual TestingIntro to Manual Testing
Intro to Manual TestingAyah Soufan
 
Chapter 13 software testing strategies
Chapter 13 software testing strategiesChapter 13 software testing strategies
Chapter 13 software testing strategiesSHREEHARI WADAWADAGI
 
Manual testing concepts course 1
Manual testing concepts course 1Manual testing concepts course 1
Manual testing concepts course 1Raghu Kiran
 
SOFTWARE TESTING UNIT-4
SOFTWARE TESTING UNIT-4  SOFTWARE TESTING UNIT-4
SOFTWARE TESTING UNIT-4 Mohammad Faizan
 
Software Testing Life Cycle
Software Testing Life CycleSoftware Testing Life Cycle
Software Testing Life CycleUdayakumar Sree
 

What's hot (20)

Testing fundamentals
Testing fundamentalsTesting fundamentals
Testing fundamentals
 
Testing
TestingTesting
Testing
 
What is Integration Testing? | Edureka
What is Integration Testing? | EdurekaWhat is Integration Testing? | Edureka
What is Integration Testing? | Edureka
 
Black box software testing
Black box software testingBlack box software testing
Black box software testing
 
Principles of Software testing
Principles of Software testingPrinciples of Software testing
Principles of Software testing
 
Software testing
Software testingSoftware testing
Software testing
 
Software testing & Quality Assurance
Software testing & Quality Assurance Software testing & Quality Assurance
Software testing & Quality Assurance
 
Basic software-testing-concepts
Basic software-testing-conceptsBasic software-testing-concepts
Basic software-testing-concepts
 
Software testing
Software testingSoftware testing
Software testing
 
Black Box Testing
Black Box TestingBlack Box Testing
Black Box Testing
 
Basic Guide to Manual Testing
Basic Guide to Manual TestingBasic Guide to Manual Testing
Basic Guide to Manual Testing
 
Software testing
Software testingSoftware testing
Software testing
 
Software Testing
Software TestingSoftware Testing
Software Testing
 
5 black box and grey box testing
5   black box and grey box testing5   black box and grey box testing
5 black box and grey box testing
 
Intro to Manual Testing
Intro to Manual TestingIntro to Manual Testing
Intro to Manual Testing
 
Chapter 13 software testing strategies
Chapter 13 software testing strategiesChapter 13 software testing strategies
Chapter 13 software testing strategies
 
Testing ppt
Testing pptTesting ppt
Testing ppt
 
Manual testing concepts course 1
Manual testing concepts course 1Manual testing concepts course 1
Manual testing concepts course 1
 
SOFTWARE TESTING UNIT-4
SOFTWARE TESTING UNIT-4  SOFTWARE TESTING UNIT-4
SOFTWARE TESTING UNIT-4
 
Software Testing Life Cycle
Software Testing Life CycleSoftware Testing Life Cycle
Software Testing Life Cycle
 

Viewers also liked

Practical unit testing in c & c++
Practical unit testing in c & c++Practical unit testing in c & c++
Practical unit testing in c & c++Matt Hargett
 
Software Engineering Fundamentals
Software Engineering FundamentalsSoftware Engineering Fundamentals
Software Engineering FundamentalsRahul Sudame
 
Online hostel management_system
Online hostel management_systemOnline hostel management_system
Online hostel management_systemmd faruk
 
Unit Testing Concepts and Best Practices
Unit Testing Concepts and Best PracticesUnit Testing Concepts and Best Practices
Unit Testing Concepts and Best PracticesDerek Smith
 
Software testing definition
Software testing definitionSoftware testing definition
Software testing definitionHiro Mia
 

Viewers also liked (6)

Unit testing
Unit testingUnit testing
Unit testing
 
Practical unit testing in c & c++
Practical unit testing in c & c++Practical unit testing in c & c++
Practical unit testing in c & c++
 
Software Engineering Fundamentals
Software Engineering FundamentalsSoftware Engineering Fundamentals
Software Engineering Fundamentals
 
Online hostel management_system
Online hostel management_systemOnline hostel management_system
Online hostel management_system
 
Unit Testing Concepts and Best Practices
Unit Testing Concepts and Best PracticesUnit Testing Concepts and Best Practices
Unit Testing Concepts and Best Practices
 
Software testing definition
Software testing definitionSoftware testing definition
Software testing definition
 

Similar to Software testing.ppt (20)

softwaretesting-140721025833-phpapp02.pptx
softwaretesting-140721025833-phpapp02.pptxsoftwaretesting-140721025833-phpapp02.pptx
softwaretesting-140721025833-phpapp02.pptx
 
S.t.
S.t.S.t.
S.t.
 
Software testing methods
Software testing methodsSoftware testing methods
Software testing methods
 
Testing in Software Engineering.docx
Testing in Software Engineering.docxTesting in Software Engineering.docx
Testing in Software Engineering.docx
 
Software testing
Software testingSoftware testing
Software testing
 
Testing
Testing Testing
Testing
 
Testing
TestingTesting
Testing
 
Software test life cycle
Software test life cycleSoftware test life cycle
Software test life cycle
 
Software Testing
Software TestingSoftware Testing
Software Testing
 
Testing concepts
Testing conceptsTesting concepts
Testing concepts
 
Types
TypesTypes
Types
 
Testing type
Testing typeTesting type
Testing type
 
A COMPOSITION ON SOFTWARE TESTING
A COMPOSITION ON SOFTWARE TESTINGA COMPOSITION ON SOFTWARE TESTING
A COMPOSITION ON SOFTWARE TESTING
 
unit 4.pptx very needful and important p
unit 4.pptx very needful and important punit 4.pptx very needful and important p
unit 4.pptx very needful and important p
 
Software testing
Software testingSoftware testing
Software testing
 
Testing chapter updated (1)
Testing chapter updated (1)Testing chapter updated (1)
Testing chapter updated (1)
 
Testing
TestingTesting
Testing
 
Software Testing
Software Testing Software Testing
Software Testing
 
Software testing basic
Software testing basicSoftware testing basic
Software testing basic
 
Software testing
Software testingSoftware testing
Software testing
 

Recently uploaded

How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17Celine George
 
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)lakshayb543
 
AUDIENCE THEORY -CULTIVATION THEORY - GERBNER.pptx
AUDIENCE THEORY -CULTIVATION THEORY -  GERBNER.pptxAUDIENCE THEORY -CULTIVATION THEORY -  GERBNER.pptx
AUDIENCE THEORY -CULTIVATION THEORY - GERBNER.pptxiammrhaywood
 
Culture Uniformity or Diversity IN SOCIOLOGY.pptx
Culture Uniformity or Diversity IN SOCIOLOGY.pptxCulture Uniformity or Diversity IN SOCIOLOGY.pptx
Culture Uniformity or Diversity IN SOCIOLOGY.pptxPoojaSen20
 
Karra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptxKarra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptxAshokKarra1
 
Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...Seán Kennedy
 
ACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdfACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdfSpandanaRallapalli
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdfVirtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdfErwinPantujan2
 
ENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomnelietumpap1
 
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITYISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITYKayeClaireEstoconing
 
How to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPHow to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPCeline George
 
Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Celine George
 
FILIPINO PSYCHology sikolohiyang pilipino
FILIPINO PSYCHology sikolohiyang pilipinoFILIPINO PSYCHology sikolohiyang pilipino
FILIPINO PSYCHology sikolohiyang pilipinojohnmickonozaleda
 
Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Celine George
 
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17Celine George
 
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdfAMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdfphamnguyenenglishnb
 

Recently uploaded (20)

FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptxFINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
 
How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17
 
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
 
AUDIENCE THEORY -CULTIVATION THEORY - GERBNER.pptx
AUDIENCE THEORY -CULTIVATION THEORY -  GERBNER.pptxAUDIENCE THEORY -CULTIVATION THEORY -  GERBNER.pptx
AUDIENCE THEORY -CULTIVATION THEORY - GERBNER.pptx
 
Culture Uniformity or Diversity IN SOCIOLOGY.pptx
Culture Uniformity or Diversity IN SOCIOLOGY.pptxCulture Uniformity or Diversity IN SOCIOLOGY.pptx
Culture Uniformity or Diversity IN SOCIOLOGY.pptx
 
Karra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptxKarra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptx
 
Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...
 
ACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdfACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdf
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
 
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdfVirtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
 
ENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choom
 
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITYISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
 
Raw materials used in Herbal Cosmetics.pptx
Raw materials used in Herbal Cosmetics.pptxRaw materials used in Herbal Cosmetics.pptx
Raw materials used in Herbal Cosmetics.pptx
 
How to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPHow to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERP
 
Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17
 
FILIPINO PSYCHology sikolohiyang pilipino
FILIPINO PSYCHology sikolohiyang pilipinoFILIPINO PSYCHology sikolohiyang pilipino
FILIPINO PSYCHology sikolohiyang pilipino
 
Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17
 
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
 
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptxYOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
 
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdfAMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
 

Software testing.ppt

  • 2. Project Overview Introduction Good testing process  Principle of software testing Myths of software testing Levels of Testing Black-box testing white-box testing Alpha testing Beta testing
  • 3. INTRODUCTION “Testing is the process of executing a program with the intention of finding errors.” – Myers “Testing can show the presence of bugs but never their absence.” – Dijkstra
  • 4. Software testing can be stated as the process of validating and verifying that computer program/application/product: meets the requirements that guided its design and development, works as expected, can be implemented with the same characteristics, and satisfies the needs of stakeholders.
  • 5. Good Testing Practices A good test case is one that has a high probability of detecting an undiscovered defect, not one that shows that the program works correctly It is impossible to test your own program A necessary part of every test case is a description of the expected result
  • 6. Avoid non-reproducible or on-the-fly testing Write test cases for valid as well as invalid input conditions. Thoroughly inspect the results of each test As the number of detected defects in a piece of software increases, the probability of the existence of more undetected defects also increases
  • 7. Assign your best people to testing Ensure that testability is a key objective in your software design Never alter the program to make testing easier Testing, like almost every other activity, must start with objectives
  • 8. Principle of software testing:  Testing should be based on use requirements.  Time & resources are limited  Impossible to test everything  Use effective resources to test  Test planning should be done early.  Testing should begin at module  Done by an independent party  Keep s/w static during test  Documents test case and result
  • 9. Testing Myths  Testing is time consuming.  Testing is too expensive.  Testing cannot be started if the product is not fully developed.  Complete Testing is Possible.  Missed defects are due to Testers.  Testers should be responsible for the quality of a product  Any one can test a Software application.  A tester’s task is only to find bugs.
  • 11. Unit Testing:- Unit Testing is a level of the software testing process where individual units/components of a software/system are tested. The purpose is to validate that each unit of the software performs as designed.
  • 12. A good unit test is:  Able to be fully automated  Has full control over all the pieces running (Use mocks or stubs to achieve this isolation when needed)  Can be run in any order if part of many other tests  Runs in memory (no DB or File access, for example)  Consistently returns the same result (You always run the same test, so no random numbers, for example. save those for integration or range tests)  Runs fast  Tests a single logical concept in the system  Readable  Maintainable  Trustworthy (when you see its result, you don’t need to debug the code just to be sure)
  • 13. Benefits of Unit testing:- Find problems early Facilitates change Simplifies integration Documentation Design
  • 14. Integration testing:- Integration Testing is a level of the software testing process where individual units are combined and tested as a group. The purpose of this level of testing is to expose faults in the interaction between integrated units.
  • 15. Types of integration testing:- 1. Big Bang 2. Top down 3. Bottom up
  • 16. 1. Big Bang Big Bang Integration testing approach used to find the bugs when all the developed modules are interacted with each other and create a complete software system then its produced result satisfying with original requirement. 2. Top down In Top down integrated testing approach, all Top level integrated modules are tested first and its sub modules tested from top to down step by step. 3. Bottom up In Bottom up integrated testing approach, all bottom (Sub Modules) level integrated sub modules are tested first and its main modules tested from bottom to up step by step.
  • 17. Why Integration Testing Is Necessary:-  One module can have an adverse effect on another  Sub-functions, when combined, may not produce the desired major function  Individually acceptable imprecision in calculations may be magnified to unacceptable levels  Interfacing errors not detected in unit testing may appear  Timing problems (in real-time systems) are not detectable by unit testing  Resource contention problems are not detectable by unit testing
  • 18. System Testing:- with the specified requiremeSystem Testing is a level of the software testing process where a complete, integrated system/software is tested. The purpose of this test is to evaluate the system’s compliance nts
  • 19. Why system testing is important: the first level of testing where the System is tested as a whole. check if system meets functional requirement or not. validate and verify both the Application Architecture and Business requirements
  • 20. Acceptance Testing:- Acceptance Testing is a level of the software testing process where a system is tested for acceptability. The purpose of this test is to evaluate the system’s compliance with the business requirements and assess whether it is acceptable for delivery.
  • 21. Why acceptance testing requires:- In acceptance test, tester goes through the application and verifies its each and every functionality with requirement documents. Acceptance testing is final testing and is performed before the delivery of application or software to end user for use. Its main purpose is to find the bugs but to get the confidence of end users requirements are fulfilled or not. Acceptance test is the last phase of STLC. After that, maintenance testing is performed on software or application if required.
  • 22. Black-box testing A software testing technique whereby the internal workings of the item being tested are not known by the tester.
  • 23. Methods of Black box Testing 1. Graph Based Testing Methods 2. Error Guessing 3. Boundary Value Analysis
  • 24. White-box testing White-box testing (also known as clear box testing, glass box testing, transparent box testing, and structural testing) is a method of testing software that tests internal structures or workings of an application, as opposed to its functionality (i.e. black-box testing).
  • 25. Three basic steps that white- box testing:- i. Input ii. Processing Unit iii. Output
  • 26. White-box test design techniques  Control flow testing  Data flow testing  Branch testing  Path testing  Statement coverage  Decision coverage.
  • 27. Advantages:- I. Side effects of having the knowledge of the source code. II. Optimization of code by revealing hidden errors and being able to remove these possible defects. III.Gives the programmer introspection
  • 28. Disadvantages:- White-box testing brings complexity it is not realistic to be able to test every single existing condition of the application and some conditions will be untested
  • 29. Alpha testing Testing done when development is nearing completion; minor design changes may still be made as a result of such testing.
  • 30. Beta Testing Testing when development and testing are essentially completed and final bugs and problems need to be found before release
  • 31.