SlideShare a Scribd company logo
2
Most read
7
Most read
11
Most read
White Box & Black Box
Testing
Presented By:
Nitish Mhaske
What is White Box Testing ?
 Testing internal coding and infrastructure
 Identify which line of code is actually executed and which is not,
which may indicate that there is either missing logic or a typo.
 Internal Structure known in addition to i/o & Relationships.
 Often used for verification.
 Done by the Developers.
 Structure-based / Glass-box testing
 Called Because here the testers require knowledge of how the
software is implemented.
How to encounter a bug in white box
testing?
 It involves testing a series of predefined inputs against expected outputs ,
so when a specific input does not result in the expected output, you have
encountered a bug
Advantage of Whitebox Testing
 Testing can be commenced at an earlier stage.
 One need not wait for the GUI to be available.
 Testing is more thorough, with the possibility of covering most paths.
 The other advantage of white box testing is that it helps in optimizing
the code
Disadvantage of Whitebox Testing
 As knowledge of code and internal structure is a prerequisite.
 A skilled tester is needed to carry out this type of testing, which
increases the cost
 Not looking at the code in a runtime environment...
What is Blackbox Testing?
 Blackbox Testing is a software testing
method in which the internal structure
of the item being tested is not known
to the tester..
 Blackbox testing is often used for
Validation..
 Black box testing is done by the
professional testing team.
 Type
1. Functional
2. Non Functional
3. Reg Test
Advantage of Blackbox Testing
 Tester can be non-technical.
 Tester needs no knowledge of implementation, including specific
programming languages
 Tests will be done from an end user's point of view. Because end user
should accept the system.
Disadvantage of Blackbox Testing
 Not all properties of a software product can be tested
 The reason for a failure is not found.
 Only a small number of possible inputs can be tested and many
program paths will be left untested..
Unit Testing
 Unit testing is that validate individual unit of source code working
properly

 Unit is smallest testable part of an application..
 Mostly done by developers of the modules..
 Done after Code compilation
Goal of Unit Testing
 To isolate each part of program and show that individual parts are
correct..
 Typically Written & run by s/w developer to ensure design &
behaviour
Advantage of Unit Testing
 Reduces the level of bugs in production code..
 Unit Testing inspires confidence..
 Makes easier to change and refactor code.
 Concern with the correctness & Completeness
 Isolate each part
 Check conditional logic
 Check for wiring bugs
Disadvantage of Unit Testing
 Unit-testing will not catch every error in the program.
 It only tests the functionality of the units
.
Thank You


More Related Content

PPTX
Top 10 soft skills in demand of today’s Competitive Edge
PDF
Black Box Testing
PPT
Html Ppt
PPTX
White box black box & gray box testing
PPTX
Regression testing
PPSX
Inheritance
PPTX
Binary Search Tree
PPTX
Project monitoring
Top 10 soft skills in demand of today’s Competitive Edge
Black Box Testing
Html Ppt
White box black box & gray box testing
Regression testing
Inheritance
Binary Search Tree
Project monitoring

What's hot (20)

PPTX
Unit testing
PPTX
Black box software testing
PPTX
Se (techniques for black box testing ppt)
PPTX
Software testing.ppt
PPTX
Software Testing - Part 1 (Techniques, Types, Levels, Methods, STLC, Bug Life...
PPT
Software Testing Fundamentals
PPSX
Principles of Software testing
PDF
Software testing methods, levels and types
 
PPTX
Software testing
PDF
Types of software testing
PDF
Types of software testing
PPTX
PDF
INTEGRATION TESTING
PPT
Software Testing
PDF
STLC (Software Testing Life Cycle)
PDF
Software Testing Life Cycle (STLC) | Software Testing Tutorial | Edureka
PPTX
White Box Testing
PPTX
Test case techniques
PPTX
Software testing
PPTX
Types of testing
Unit testing
Black box software testing
Se (techniques for black box testing ppt)
Software testing.ppt
Software Testing - Part 1 (Techniques, Types, Levels, Methods, STLC, Bug Life...
Software Testing Fundamentals
Principles of Software testing
Software testing methods, levels and types
 
Software testing
Types of software testing
Types of software testing
INTEGRATION TESTING
Software Testing
STLC (Software Testing Life Cycle)
Software Testing Life Cycle (STLC) | Software Testing Tutorial | Edureka
White Box Testing
Test case techniques
Software testing
Types of testing
Ad

Similar to White box & Black box testing (20)

PPTX
Software testing methods
PPT
Testing fundamentals
PPTX
BLACK BOX & WHITE BOX TESTING.pptx
PPTX
WHITE BOX & BLACK BOX TESTING IN DATABASE
PDF
PPT
PPTX
white box and black box testing in software engineering
PPTX
WHITE BOX TESTING ashu.pptx
PPTX
Software testing
PPT
Testing, black ,white and gray box testing
PDF
Understanding White Box and Black Box Testing
PPT
Testing chapter updated (1)
PPTX
White box & black box testing
PPTX
unittesting-190620114546 (1).pptx document
PPTX
Week 14 Unit Testing.pptx
PPTX
Ch 2 Apraoaches Of Software Testing
PDF
Software testing ppt
PPTX
White box testing
PDF
Unit testing - what is its importance
PPTX
What is Black Box Testing and How to Master it..pptx
Software testing methods
Testing fundamentals
BLACK BOX & WHITE BOX TESTING.pptx
WHITE BOX & BLACK BOX TESTING IN DATABASE
white box and black box testing in software engineering
WHITE BOX TESTING ashu.pptx
Software testing
Testing, black ,white and gray box testing
Understanding White Box and Black Box Testing
Testing chapter updated (1)
White box & black box testing
unittesting-190620114546 (1).pptx document
Week 14 Unit Testing.pptx
Ch 2 Apraoaches Of Software Testing
Software testing ppt
White box testing
Unit testing - what is its importance
What is Black Box Testing and How to Master it..pptx
Ad

Recently uploaded (20)

PDF
Digital Strategies for Manufacturing Companies
PDF
Internet Downloader Manager (IDM) Crack 6.42 Build 42 Updates Latest 2025
PPTX
Online Work Permit System for Fast Permit Processing
PPTX
CHAPTER 2 - PM Management and IT Context
PDF
Upgrade and Innovation Strategies for SAP ERP Customers
PPTX
ManageIQ - Sprint 268 Review - Slide Deck
PDF
System and Network Administration Chapter 2
PDF
How to Migrate SBCGlobal Email to Yahoo Easily
PPTX
Introduction to Artificial Intelligence
PPTX
Lecture 3: Operating Systems Introduction to Computer Hardware Systems
 
PDF
Audit Checklist Design Aligning with ISO, IATF, and Industry Standards — Omne...
PDF
Adobe Illustrator 28.6 Crack My Vision of Vector Design
PDF
Design an Analysis of Algorithms II-SECS-1021-03
PDF
Which alternative to Crystal Reports is best for small or large businesses.pdf
PDF
PTS Company Brochure 2025 (1).pdf.......
PDF
System and Network Administraation Chapter 3
PPTX
Agentic AI : A Practical Guide. Undersating, Implementing and Scaling Autono...
PPTX
CHAPTER 12 - CYBER SECURITY AND FUTURE SKILLS (1) (1).pptx
PDF
Softaken Excel to vCard Converter Software.pdf
PPTX
ai tools demonstartion for schools and inter college
Digital Strategies for Manufacturing Companies
Internet Downloader Manager (IDM) Crack 6.42 Build 42 Updates Latest 2025
Online Work Permit System for Fast Permit Processing
CHAPTER 2 - PM Management and IT Context
Upgrade and Innovation Strategies for SAP ERP Customers
ManageIQ - Sprint 268 Review - Slide Deck
System and Network Administration Chapter 2
How to Migrate SBCGlobal Email to Yahoo Easily
Introduction to Artificial Intelligence
Lecture 3: Operating Systems Introduction to Computer Hardware Systems
 
Audit Checklist Design Aligning with ISO, IATF, and Industry Standards — Omne...
Adobe Illustrator 28.6 Crack My Vision of Vector Design
Design an Analysis of Algorithms II-SECS-1021-03
Which alternative to Crystal Reports is best for small or large businesses.pdf
PTS Company Brochure 2025 (1).pdf.......
System and Network Administraation Chapter 3
Agentic AI : A Practical Guide. Undersating, Implementing and Scaling Autono...
CHAPTER 12 - CYBER SECURITY AND FUTURE SKILLS (1) (1).pptx
Softaken Excel to vCard Converter Software.pdf
ai tools demonstartion for schools and inter college

White box & Black box testing

  • 1. White Box & Black Box Testing Presented By: Nitish Mhaske
  • 2. What is White Box Testing ?  Testing internal coding and infrastructure  Identify which line of code is actually executed and which is not, which may indicate that there is either missing logic or a typo.  Internal Structure known in addition to i/o & Relationships.  Often used for verification.  Done by the Developers.  Structure-based / Glass-box testing  Called Because here the testers require knowledge of how the software is implemented.
  • 3. How to encounter a bug in white box testing?  It involves testing a series of predefined inputs against expected outputs , so when a specific input does not result in the expected output, you have encountered a bug
  • 4. Advantage of Whitebox Testing  Testing can be commenced at an earlier stage.  One need not wait for the GUI to be available.  Testing is more thorough, with the possibility of covering most paths.  The other advantage of white box testing is that it helps in optimizing the code
  • 5. Disadvantage of Whitebox Testing  As knowledge of code and internal structure is a prerequisite.  A skilled tester is needed to carry out this type of testing, which increases the cost  Not looking at the code in a runtime environment...
  • 6. What is Blackbox Testing?  Blackbox Testing is a software testing method in which the internal structure of the item being tested is not known to the tester..  Blackbox testing is often used for Validation..  Black box testing is done by the professional testing team.  Type 1. Functional 2. Non Functional 3. Reg Test
  • 7. Advantage of Blackbox Testing  Tester can be non-technical.  Tester needs no knowledge of implementation, including specific programming languages  Tests will be done from an end user's point of view. Because end user should accept the system.
  • 8. Disadvantage of Blackbox Testing  Not all properties of a software product can be tested  The reason for a failure is not found.  Only a small number of possible inputs can be tested and many program paths will be left untested..
  • 9. Unit Testing  Unit testing is that validate individual unit of source code working properly
  Unit is smallest testable part of an application..  Mostly done by developers of the modules..  Done after Code compilation
  • 10. Goal of Unit Testing  To isolate each part of program and show that individual parts are correct..  Typically Written & run by s/w developer to ensure design & behaviour
  • 11. Advantage of Unit Testing  Reduces the level of bugs in production code..  Unit Testing inspires confidence..  Makes easier to change and refactor code.  Concern with the correctness & Completeness  Isolate each part  Check conditional logic  Check for wiring bugs
  • 12. Disadvantage of Unit Testing  Unit-testing will not catch every error in the program.  It only tests the functionality of the units
.