SlideShare a Scribd company logo
2
Most read
3
Most read
5
Most read
UNIT TESTING
Presentation by
K.Manikanth
UNIT TESTING
 Unit testing, a testing technique using which
individual modules are tested to determine if there
are any issues by the developer himself.
 The main aim is to isolate each unit of the system
to identify, analyze and fix the defects..
typically written and run by software developers
to ensure that code meets its design and behaves as
intended.
Its goal is to isolate each part of the program and
show that the individual parts are correct.
Unit Testing Life Cycle
Unit Testing - Advantages:
 Reduces Defects in the Newly developed features
or reduces bugs when changing the existing
functionality.
 Reduces Cost of Testing as defects are captured in
very early phase.
 Improves design and allows better refactoring of
code.
 Unit Tests, when integrated with build gives the
quality of the build as well.
Unit Testing Techniques
Black Box Testing - Using which the user interface,
input and output are tested.
White Box Testing - used to test each one of those
functions behaviour is tested.
Gray Box Testing - Used to execute tests, risks and
assessment methods.
Unit testing

More Related Content

PPTX
UNIT TESTING PPT
PPTX
MLOps.pptx
PPT
Basic Guide to Manual Testing
PPTX
Software testing.ppt
PDF
Transformer Introduction (Seminar Material)
PDF
How to successfully grow a code review culture
PPTX
Software testing ppt
UNIT TESTING PPT
MLOps.pptx
Basic Guide to Manual Testing
Software testing.ppt
Transformer Introduction (Seminar Material)
How to successfully grow a code review culture
Software testing ppt

What's hot (20)

PPT
Software Testing Fundamentals
PPSX
Principles of Software testing
PPTX
Black box software testing
PDF
Software testing methods, levels and types
PDF
INTEGRATION TESTING
PPTX
Software testing & Quality Assurance
PDF
Black Box Testing
PPTX
Software Testing Introduction
PPTX
PPT
PDF
What Is Functional Testing?
PPTX
Integration testing
PPT
Testing concepts ppt
PPTX
White box & Black box testing
PPTX
White Box Testing
PPTX
functional testing
PPTX
Introduction to software testing
PPT
PPTX
Software testing life cycle
PPTX
Software testing
Software Testing Fundamentals
Principles of Software testing
Black box software testing
Software testing methods, levels and types
INTEGRATION TESTING
Software testing & Quality Assurance
Black Box Testing
Software Testing Introduction
What Is Functional Testing?
Integration testing
Testing concepts ppt
White box & Black box testing
White Box Testing
functional testing
Introduction to software testing
Software testing life cycle
Software testing
Ad

Similar to Unit testing (20)

PPTX
unit testing
PPTX
Testing and types of Testing
DOCX
Unit 4 Software engineering deatiled notes.docx
PDF
Unit Testing to Support Reusable for Component-Based Software Engineering
PDF
Unit testing - what is its importance
PDF
How to Make the Most of Regression and Unit Testing_ A Comprehensive Guide.pdf
PPTX
Types of testing
PPTX
Software Testing - A sneak preview By Srikanth
PPTX
Unit testing & TDD concepts with best practice guidelines.
PPTX
Object Oriented Testing(OOT) presentation slides
PDF
How to Make the Most of Regression and Unit Testing
PPT
Testing strategies
PDF
What is Unit Testing? - A Comprehensive Guide
PPTX
Software testing basic
PPTX
PDF
Unit, Integration, and Functional Testing_ 4 main points of difference.pdf
PDF
PPTX
PPTX
Software Testing
PPTX
SE Group H.pptx
unit testing
Testing and types of Testing
Unit 4 Software engineering deatiled notes.docx
Unit Testing to Support Reusable for Component-Based Software Engineering
Unit testing - what is its importance
How to Make the Most of Regression and Unit Testing_ A Comprehensive Guide.pdf
Types of testing
Software Testing - A sneak preview By Srikanth
Unit testing & TDD concepts with best practice guidelines.
Object Oriented Testing(OOT) presentation slides
How to Make the Most of Regression and Unit Testing
Testing strategies
What is Unit Testing? - A Comprehensive Guide
Software testing basic
Unit, Integration, and Functional Testing_ 4 main points of difference.pdf
Software Testing
SE Group H.pptx
Ad

More from Mani Kanth (20)

PPTX
White box testing
PPTX
System testing
PPTX
management of maintainance
PPTX
Se (techniques for black box testing ppt)
PPTX
Reverse engineering in software engineering vaibhav
PPTX
Mutation testing 1
PPTX
Mutation testing
PPTX
Guideline for euivalence class testing
PPTX
Equivalence class testing
PPTX
Deployment
PPTX
Window to viewport transformation&matrix representation of homogeneous co...
PPTX
The sutherland hodgeman polygon clipping algorithm
PPT
Seed filling algorithm
PPTX
Scaling and shearing
PPTX
Reflection transformation
PPTX
Raster and random scan display types of input devices
PPTX
Projection
PPTX
Polygon clipping with sutherland hodgeman algorithm and scan line fill algorithm
PPTX
Mid point circle algorithm
PPTX
Graphics software and standards
White box testing
System testing
management of maintainance
Se (techniques for black box testing ppt)
Reverse engineering in software engineering vaibhav
Mutation testing 1
Mutation testing
Guideline for euivalence class testing
Equivalence class testing
Deployment
Window to viewport transformation&matrix representation of homogeneous co...
The sutherland hodgeman polygon clipping algorithm
Seed filling algorithm
Scaling and shearing
Reflection transformation
Raster and random scan display types of input devices
Projection
Polygon clipping with sutherland hodgeman algorithm and scan line fill algorithm
Mid point circle algorithm
Graphics software and standards

Recently uploaded (20)

PDF
The CXO Playbook 2025 – Future-Ready Strategies for C-Suite Leaders Cerebrai...
PPTX
Engineering Ethics, Safety and Environment [Autosaved] (1).pptx
PPTX
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
PPT
Project quality management in manufacturing
PPTX
MCN 401 KTU-2019-PPE KITS-MODULE 2.pptx
PPTX
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
PPTX
UNIT-1 - COAL BASED THERMAL POWER PLANTS
PDF
BMEC211 - INTRODUCTION TO MECHATRONICS-1.pdf
PPTX
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
PPTX
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
PPTX
KTU 2019 -S7-MCN 401 MODULE 2-VINAY.pptx
PPTX
additive manufacturing of ss316l using mig welding
PPTX
IOT PPTs Week 10 Lecture Material.pptx of NPTEL Smart Cities contd
DOCX
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
PPTX
Lecture Notes Electrical Wiring System Components
PPTX
CARTOGRAPHY AND GEOINFORMATION VISUALIZATION chapter1 NPTE (2).pptx
PPTX
CYBER-CRIMES AND SECURITY A guide to understanding
PDF
Structs to JSON How Go Powers REST APIs.pdf
PDF
Embodied AI: Ushering in the Next Era of Intelligent Systems
PPTX
Foundation to blockchain - A guide to Blockchain Tech
The CXO Playbook 2025 – Future-Ready Strategies for C-Suite Leaders Cerebrai...
Engineering Ethics, Safety and Environment [Autosaved] (1).pptx
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
Project quality management in manufacturing
MCN 401 KTU-2019-PPE KITS-MODULE 2.pptx
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
UNIT-1 - COAL BASED THERMAL POWER PLANTS
BMEC211 - INTRODUCTION TO MECHATRONICS-1.pdf
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
KTU 2019 -S7-MCN 401 MODULE 2-VINAY.pptx
additive manufacturing of ss316l using mig welding
IOT PPTs Week 10 Lecture Material.pptx of NPTEL Smart Cities contd
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
Lecture Notes Electrical Wiring System Components
CARTOGRAPHY AND GEOINFORMATION VISUALIZATION chapter1 NPTE (2).pptx
CYBER-CRIMES AND SECURITY A guide to understanding
Structs to JSON How Go Powers REST APIs.pdf
Embodied AI: Ushering in the Next Era of Intelligent Systems
Foundation to blockchain - A guide to Blockchain Tech

Unit testing

  • 2. UNIT TESTING  Unit testing, a testing technique using which individual modules are tested to determine if there are any issues by the developer himself.  The main aim is to isolate each unit of the system to identify, analyze and fix the defects.. typically written and run by software developers to ensure that code meets its design and behaves as intended. Its goal is to isolate each part of the program and show that the individual parts are correct.
  • 4. Unit Testing - Advantages:  Reduces Defects in the Newly developed features or reduces bugs when changing the existing functionality.  Reduces Cost of Testing as defects are captured in very early phase.  Improves design and allows better refactoring of code.  Unit Tests, when integrated with build gives the quality of the build as well.
  • 5. Unit Testing Techniques Black Box Testing - Using which the user interface, input and output are tested. White Box Testing - used to test each one of those functions behaviour is tested. Gray Box Testing - Used to execute tests, risks and assessment methods.