SlideShare uma empresa 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

Mais conteúdo relacionado

Mais procurados

Control Flow Testing
Control Flow TestingControl Flow Testing
Control Flow TestingHirra Sultan
 
Black Box Testing
Black Box TestingBlack Box Testing
Black Box TestingTestbytes
 
Lecture7 use case modeling
Lecture7 use case modelingLecture7 use case modeling
Lecture7 use case modelingShahid Riaz
 
Object oriented testing
Object oriented testingObject oriented testing
Object oriented testingHaris Jamil
 
Object relationship model of software engineering,a subtopic of object orient...
Object relationship model of software engineering,a subtopic of object orient...Object relationship model of software engineering,a subtopic of object orient...
Object relationship model of software engineering,a subtopic of object orient...julia121214
 
Lecture04- Use Case Diagrams
Lecture04- Use Case DiagramsLecture04- Use Case Diagrams
Lecture04- Use Case Diagramsartgreen
 
Software design, software engineering
Software design, software engineeringSoftware design, software engineering
Software design, software engineeringRupesh Vaishnav
 
Software Testing Strategies ,Validation Testing and System Testing.
Software Testing Strategies ,Validation Testing and System Testing.Software Testing Strategies ,Validation Testing and System Testing.
Software Testing Strategies ,Validation Testing and System Testing.Tanzeem Aslam
 
OS Database Security Chapter 6
OS Database Security Chapter 6OS Database Security Chapter 6
OS Database Security Chapter 6AfiqEfendy Zaen
 
Integration testing
Integration testingIntegration testing
Integration testingqueen jemila
 
Communication diagram Introduction
Communication diagram IntroductionCommunication diagram Introduction
Communication diagram IntroductionDineesha Suraweera
 

Mais procurados (20)

Black Box Testing
Black Box TestingBlack Box Testing
Black Box Testing
 
Control Flow Testing
Control Flow TestingControl Flow Testing
Control Flow Testing
 
Black Box Testing
Black Box TestingBlack Box Testing
Black Box Testing
 
Black box software testing
Black box software testingBlack box software testing
Black box software testing
 
Use Case Modeling
Use Case ModelingUse Case Modeling
Use Case Modeling
 
Unit testing
Unit testing Unit testing
Unit testing
 
Lecture7 use case modeling
Lecture7 use case modelingLecture7 use case modeling
Lecture7 use case modeling
 
Object oriented testing
Object oriented testingObject oriented testing
Object oriented testing
 
Object relationship model of software engineering,a subtopic of object orient...
Object relationship model of software engineering,a subtopic of object orient...Object relationship model of software engineering,a subtopic of object orient...
Object relationship model of software engineering,a subtopic of object orient...
 
Domain model
Domain modelDomain model
Domain model
 
Black Box Testing
Black Box TestingBlack Box Testing
Black Box Testing
 
Lecture04- Use Case Diagrams
Lecture04- Use Case DiagramsLecture04- Use Case Diagrams
Lecture04- Use Case Diagrams
 
Path Testing
Path TestingPath Testing
Path Testing
 
Software design, software engineering
Software design, software engineeringSoftware design, software engineering
Software design, software engineering
 
Software Testing Strategies ,Validation Testing and System Testing.
Software Testing Strategies ,Validation Testing and System Testing.Software Testing Strategies ,Validation Testing and System Testing.
Software Testing Strategies ,Validation Testing and System Testing.
 
OS Database Security Chapter 6
OS Database Security Chapter 6OS Database Security Chapter 6
OS Database Security Chapter 6
 
Integration testing
Integration testingIntegration testing
Integration testing
 
Software architecture
Software architectureSoftware architecture
Software architecture
 
Communication diagram Introduction
Communication diagram IntroductionCommunication diagram Introduction
Communication diagram Introduction
 
Test case development
Test case developmentTest case development
Test case development
 

Semelhante 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
 
Testing type
Testing typeTesting type
Testing type
 
Types
TypesTypes
Types
 
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
 
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
 
Testing strategies
Testing strategiesTesting strategies
Testing strategies
 

Último

The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsPixlogix Infotech
 
What is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfWhat is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfMounikaPolabathina
 
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...Alkin Tezuysal
 
Assure Ecommerce and Retail Operations Uptime with ThousandEyes
Assure Ecommerce and Retail Operations Uptime with ThousandEyesAssure Ecommerce and Retail Operations Uptime with ThousandEyes
Assure Ecommerce and Retail Operations Uptime with ThousandEyesThousandEyes
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfLoriGlavin3
 
(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...
(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...
(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...AliaaTarek5
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 
Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersGenerative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersRaghuram Pandurangan
 
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxLoriGlavin3
 
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyesHow to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyesThousandEyes
 
So einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdfSo einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdfpanagenda
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .Alan Dix
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 
A Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersA Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersNicole Novielli
 
Long journey of Ruby standard library at RubyConf AU 2024
Long journey of Ruby standard library at RubyConf AU 2024Long journey of Ruby standard library at RubyConf AU 2024
Long journey of Ruby standard library at RubyConf AU 2024Hiroshi SHIBATA
 
Generative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdfGenerative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdfIngrid Airi González
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc
 
Sample pptx for embedding into website for demo
Sample pptx for embedding into website for demoSample pptx for embedding into website for demo
Sample pptx for embedding into website for demoHarshalMandlekar2
 
Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...Rick Flair
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.Curtis Poe
 

Último (20)

The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and Cons
 
What is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfWhat is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdf
 
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
 
Assure Ecommerce and Retail Operations Uptime with ThousandEyes
Assure Ecommerce and Retail Operations Uptime with ThousandEyesAssure Ecommerce and Retail Operations Uptime with ThousandEyes
Assure Ecommerce and Retail Operations Uptime with ThousandEyes
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdf
 
(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...
(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...
(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 
Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersGenerative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information Developers
 
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
 
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyesHow to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
 
So einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdfSo einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdf
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 
A Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersA Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software Developers
 
Long journey of Ruby standard library at RubyConf AU 2024
Long journey of Ruby standard library at RubyConf AU 2024Long journey of Ruby standard library at RubyConf AU 2024
Long journey of Ruby standard library at RubyConf AU 2024
 
Generative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdfGenerative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdf
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
 
Sample pptx for embedding into website for demo
Sample pptx for embedding into website for demoSample pptx for embedding into website for demo
Sample pptx for embedding into website for demo
 
Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.
 

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.