SlideShare una empresa de Scribd logo
1 de 24
 DEFINITION
 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 unit is the smallest testable part of
software. It usually has one or a few
inputs and usually a single output.
 For example, In procedural
programming a unit may be an
individual
program, function, procedure, etc. In
object-oriented programming, the
smallest unit is a method, which may
belong to a base/super class, abstract
class or derived/child class.
 Component testing may be done in
isolation from the rest of the system
depending on the context of the
development life cycle and the system.
 Most often stubs and drivers are used to
replace the missing software and
simulate the interface between the
software components in a simple
manner.
 A stub is called from the software
component to be tested; a driver calls a
component to be tested.
 METHOD
 Unit Testing is performed by using
the White Box Testing method.
 UNIT TEST PLAN
 Prepare
 Review
 Rework
 Baseline
 When is it performed?
 Unit Testing is the first level of testing and
is performed prior to Integration Testing.
 Who performs it?
 Unit Testing is normally performed by
software developers themselves or their
peers. In rare cases it may also be
performed by independent software
testers.
 DEFINITION
 Integration Testing tests interfaces between
computers, interactions to different parts of
a system such as an OS, file system and
hardware or interfaces between systems.
 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.
 EXAMPLE
 During the process of manufacturing a
ballpoint pen, the cap, the body, the tail
and clip, the ink cartridge and the
ballpoint are produced separately and
unit tested separately.
 When two or more units are ready, they
are assembled and Integration Testing is
performed. For example, whether the
cap fits into the body or not.
 METHOD
 Any of Black Box Testing, White Box
Testing, and Gray Box Testing methods
can be used. Normally, the method
depends on your definition of ‘unit’.
 INTEGRATION TEST PLAN
 Prepare
 Review
 Rework
 Baseline
 When is Integration Testing performed?
 Integration Testing is performed after Unit
Testing and before System Testing.
 Who performs Integration Testing?
 Either Developers themselves or
independent Testers perform Integration
Testing.
 Top-down Approach
 Top down approach tests the
integration from top to bottom, it
follows the architectural structure.
 Example: Integration can start
with GUI and the missing
components will be substituted by
stubs and integration will go on.
 Bottom-up approach
 In bottom up approach testing takes
place from the bottom of the control
flow, the higher level components are
substituted with drivers
 Big bang approach
 In big bang approach most or all of
the developed modules are coupled
together to form a complete system
and then used for integration testing.
 DEFINITION
 System 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 with the specified
requirements.
 EXAMPLE
 During the process of manufacturing a
ballpoint pen, the cap, the body, the
tail, the ink cartridge and the ballpoint
are produced separately and unit tested
separately.
 When two or more units are ready, they
are assembled and Integration Testing is
performed. When the complete pen is
integrated, System Testing is performed.
 METHOD
 Usually, Black Box Testing method is used.
 SYSTEM TEST PLAN
 Prepare
 Review
 Rework
 Baseline
 When is it performed?
 System Testing is performed
after Integration Testing and
before Acceptance Testing.
 Who performs it?
 Normally, independent Testers perform
System Testing.
 DEFINITION
 Acceptance testing is performed after system
testing is done and all or most of the major
defects have been fixed.
 The goal of acceptance testing is to establish
confidence in the delivered software/system
that it meets the end user/customers
requirements and is fit for use Acceptance
testing is done by user/customer and some of
the project stakeholders.
 Acceptance testing is done in production kind
of environment.
 For Commercial off the shelf (COTS)
software’s that are meant for the mass
market testing needs to be done by the
potential users, there are two types of
acceptance testing for COTS software’s.
• Alpha Testing
• Beta Testing
 Alpha Testing
 Alpha testing is mostly applicable for
software’s developed for mass market
i.e. Commercial off the
shelf(COTS), feedback is needed from
potential users.
 Alpha testing is conducted at
developers site, potential users, members
or developers organization are invited to
use the system and report defects.
 Beta Testing
 Beta testing is also know as field testing, it
is done by potential or existing
users/customers at an external site
without developers involvement.
 This test is done to determine that the
software satisfies the end users/
customer’s needs. This testing is done to
acquire feedback from the market.
Test levels
Test levels

Más contenido relacionado

La actualidad más candente

Software testing methods, levels and types
Software testing methods, levels and typesSoftware testing methods, levels and types
Software testing methods, levels and types
Confiz
 
Software testing.ppt
Software testing.pptSoftware testing.ppt
Software testing.ppt
Komal Garg
 
Basic software-testing-concepts
Basic software-testing-conceptsBasic software-testing-concepts
Basic software-testing-concepts
medsherb
 

La actualidad más candente (20)

Software testing methods, levels and types
Software testing methods, levels and typesSoftware testing methods, levels and types
Software testing methods, levels and types
 
Testing
TestingTesting
Testing
 
TESTING STRATEGY.ppt
TESTING STRATEGY.pptTESTING STRATEGY.ppt
TESTING STRATEGY.ppt
 
What Is Functional Testing?
What Is Functional Testing?What Is Functional Testing?
What Is Functional Testing?
 
Black Box Testing
Black Box TestingBlack Box Testing
Black Box Testing
 
3.software testing
3.software testing3.software testing
3.software testing
 
Software testing.ppt
Software testing.pptSoftware testing.ppt
Software testing.ppt
 
Basic software-testing-concepts
Basic software-testing-conceptsBasic software-testing-concepts
Basic software-testing-concepts
 
Software testing
Software testingSoftware testing
Software testing
 
Software testing
Software testing Software testing
Software testing
 
Black Box Testing
Black Box TestingBlack Box Testing
Black Box Testing
 
Software testing & Quality Assurance
Software testing & Quality Assurance Software testing & Quality Assurance
Software testing & Quality Assurance
 
Difference between functional testing and non functional testing
Difference between functional testing and non functional testingDifference between functional testing and non functional testing
Difference between functional testing and non functional testing
 
Software Testing - Part 1 (Techniques, Types, Levels, Methods, STLC, Bug Life...
Software Testing - Part 1 (Techniques, Types, Levels, Methods, STLC, Bug Life...Software Testing - Part 1 (Techniques, Types, Levels, Methods, STLC, Bug Life...
Software Testing - Part 1 (Techniques, Types, Levels, Methods, STLC, Bug Life...
 
SOFTWARE TESTING UNIT-4
SOFTWARE TESTING UNIT-4  SOFTWARE TESTING UNIT-4
SOFTWARE TESTING UNIT-4
 
Software Testing
Software TestingSoftware Testing
Software Testing
 
System testing
System testingSystem testing
System testing
 
INTEGRATION TESTING
INTEGRATION TESTINGINTEGRATION TESTING
INTEGRATION TESTING
 
Introduction to software testing
Introduction to software testingIntroduction to software testing
Introduction to software testing
 
Types of testing
Types of testingTypes of testing
Types of testing
 

Similar a Test levels

Similar a Test levels (20)

ST Unit-3.pptx
ST Unit-3.pptxST Unit-3.pptx
ST Unit-3.pptx
 
Testing and types of Testing
Testing and types of TestingTesting and types of Testing
Testing and types of Testing
 
Types
TypesTypes
Types
 
Testing type
Testing typeTesting type
Testing type
 
Presentation1.pptx
Presentation1.pptxPresentation1.pptx
Presentation1.pptx
 
Testing chapter updated (1)
Testing chapter updated (1)Testing chapter updated (1)
Testing chapter updated (1)
 
sst ppt.pptx
sst ppt.pptxsst ppt.pptx
sst ppt.pptx
 
Ch 2 Apraoaches Of Software Testing
Ch 2 Apraoaches Of Software Testing Ch 2 Apraoaches Of Software Testing
Ch 2 Apraoaches Of Software Testing
 
Software Testing
Software Testing Software Testing
Software Testing
 
Software test life cycle
Software test life cycleSoftware test life cycle
Software test life cycle
 
Software testing strategies
Software testing strategiesSoftware testing strategies
Software testing strategies
 
What is integration testing
What is integration testingWhat is integration testing
What is integration testing
 
S.t.
S.t.S.t.
S.t.
 
08 fse verification
08 fse verification08 fse verification
08 fse verification
 
Sftwre engg.testng
Sftwre engg.testngSftwre engg.testng
Sftwre engg.testng
 
Fundamentals of software part 1
Fundamentals of software part 1Fundamentals of software part 1
Fundamentals of software part 1
 
Software Testing
Software Testing Software Testing
Software Testing
 
unittesting-190620114546 (1).pptx document
unittesting-190620114546 (1).pptx documentunittesting-190620114546 (1).pptx document
unittesting-190620114546 (1).pptx document
 
Unit test Android
Unit test AndroidUnit test Android
Unit test Android
 
Unit testing - what is its importance
Unit testing - what is its importanceUnit testing - what is its importance
Unit testing - what is its importance
 

Último

Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
vu2urc
 

Último (20)

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
 
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
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
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...
 
Evaluating the top large language models.pdf
Evaluating the top large language models.pdfEvaluating the top large language models.pdf
Evaluating the top large language models.pdf
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 

Test levels

  • 1.
  • 2.
  • 3.  DEFINITION  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.
  • 4.  A unit is the smallest testable part of software. It usually has one or a few inputs and usually a single output.  For example, In procedural programming a unit may be an individual program, function, procedure, etc. In object-oriented programming, the smallest unit is a method, which may belong to a base/super class, abstract class or derived/child class.
  • 5.
  • 6.  Component testing may be done in isolation from the rest of the system depending on the context of the development life cycle and the system.  Most often stubs and drivers are used to replace the missing software and simulate the interface between the software components in a simple manner.  A stub is called from the software component to be tested; a driver calls a component to be tested.
  • 7.  METHOD  Unit Testing is performed by using the White Box Testing method.  UNIT TEST PLAN  Prepare  Review  Rework  Baseline
  • 8.  When is it performed?  Unit Testing is the first level of testing and is performed prior to Integration Testing.  Who performs it?  Unit Testing is normally performed by software developers themselves or their peers. In rare cases it may also be performed by independent software testers.
  • 9.  DEFINITION  Integration Testing tests interfaces between computers, interactions to different parts of a system such as an OS, file system and hardware or interfaces between systems.  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.
  • 10.  EXAMPLE  During the process of manufacturing a ballpoint pen, the cap, the body, the tail and clip, the ink cartridge and the ballpoint are produced separately and unit tested separately.  When two or more units are ready, they are assembled and Integration Testing is performed. For example, whether the cap fits into the body or not.
  • 11.  METHOD  Any of Black Box Testing, White Box Testing, and Gray Box Testing methods can be used. Normally, the method depends on your definition of ‘unit’.  INTEGRATION TEST PLAN  Prepare  Review  Rework  Baseline
  • 12.  When is Integration Testing performed?  Integration Testing is performed after Unit Testing and before System Testing.  Who performs Integration Testing?  Either Developers themselves or independent Testers perform Integration Testing.
  • 13.  Top-down Approach  Top down approach tests the integration from top to bottom, it follows the architectural structure.  Example: Integration can start with GUI and the missing components will be substituted by stubs and integration will go on.
  • 14.  Bottom-up approach  In bottom up approach testing takes place from the bottom of the control flow, the higher level components are substituted with drivers  Big bang approach  In big bang approach most or all of the developed modules are coupled together to form a complete system and then used for integration testing.
  • 15.  DEFINITION  System 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 with the specified requirements.
  • 16.  EXAMPLE  During the process of manufacturing a ballpoint pen, the cap, the body, the tail, the ink cartridge and the ballpoint are produced separately and unit tested separately.  When two or more units are ready, they are assembled and Integration Testing is performed. When the complete pen is integrated, System Testing is performed.
  • 17.  METHOD  Usually, Black Box Testing method is used.  SYSTEM TEST PLAN  Prepare  Review  Rework  Baseline
  • 18.  When is it performed?  System Testing is performed after Integration Testing and before Acceptance Testing.  Who performs it?  Normally, independent Testers perform System Testing.
  • 19.  DEFINITION  Acceptance testing is performed after system testing is done and all or most of the major defects have been fixed.  The goal of acceptance testing is to establish confidence in the delivered software/system that it meets the end user/customers requirements and is fit for use Acceptance testing is done by user/customer and some of the project stakeholders.  Acceptance testing is done in production kind of environment.
  • 20.  For Commercial off the shelf (COTS) software’s that are meant for the mass market testing needs to be done by the potential users, there are two types of acceptance testing for COTS software’s. • Alpha Testing • Beta Testing
  • 21.  Alpha Testing  Alpha testing is mostly applicable for software’s developed for mass market i.e. Commercial off the shelf(COTS), feedback is needed from potential users.  Alpha testing is conducted at developers site, potential users, members or developers organization are invited to use the system and report defects.
  • 22.  Beta Testing  Beta testing is also know as field testing, it is done by potential or existing users/customers at an external site without developers involvement.  This test is done to determine that the software satisfies the end users/ customer’s needs. This testing is done to acquire feedback from the market.