SlideShare a Scribd company logo
 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

More Related Content

What's hot

Integration test
Integration testIntegration test
Integration test
sadegh salehi
 
Software testing
Software testingSoftware testing
Test Plan.pptx
Test Plan.pptxTest Plan.pptx
Test Plan.pptx
ChetanJadhav81
 
11 steps of testing process - By Harshil Barot
11 steps of testing process - By Harshil Barot11 steps of testing process - By Harshil Barot
11 steps of testing process - By Harshil Barot
Harshil Barot
 
Software testing
Software testingSoftware testing
Software testing
Omar Al-Bokari
 
Basic software-testing-concepts
Basic software-testing-conceptsBasic software-testing-concepts
Basic software-testing-conceptsmedsherb
 
Software testing methods, levels and types
Software testing methods, levels and typesSoftware testing methods, levels and types
Software testing methods, levels and typesConfiz
 
SOFTWARE TESTING UNIT-4
SOFTWARE TESTING UNIT-4  SOFTWARE TESTING UNIT-4
SOFTWARE TESTING UNIT-4
Mohammad Faizan
 
Software testing & Quality Assurance
Software testing & Quality Assurance Software testing & Quality Assurance
Software testing & Quality Assurance
Webtech Learning
 
Software Testing Technique in Software Engineering
Software Testing Technique in Software EngineeringSoftware Testing Technique in Software Engineering
Software Testing Technique in Software Engineering
Ismail Hussain
 
Chapter 4 - Test Design Techniques
Chapter 4 - Test Design TechniquesChapter 4 - Test Design Techniques
Chapter 4 - Test Design Techniques
Neeraj Kumar Singh
 
software testing
 software testing software testing
software testing
Sara shall
 
Software Testing
Software TestingSoftware Testing
Software Testing
Vishal Singh
 
Risk-based Testing
Risk-based TestingRisk-based Testing
Risk-based Testing
Johan Hoberg
 
SOFTWARE TESTING
SOFTWARE TESTINGSOFTWARE TESTING
SOFTWARE TESTING
Priyanka Karancy
 
Testing Frameworks
Testing FrameworksTesting Frameworks
Testing Frameworks
Moataz Nabil
 
Configuration testing
Configuration testingConfiguration testing
Configuration testingRobin0590
 
Software testing ppt
Software testing pptSoftware testing ppt
Software testing ppt
Poonkodi Jayakumar
 

What's hot (20)

Integration test
Integration testIntegration test
Integration test
 
Software testing
Software testingSoftware testing
Software testing
 
Test Plan.pptx
Test Plan.pptxTest Plan.pptx
Test Plan.pptx
 
11 steps of testing process - By Harshil Barot
11 steps of testing process - By Harshil Barot11 steps of testing process - By Harshil Barot
11 steps of testing process - By Harshil Barot
 
Software testing
Software testingSoftware testing
Software testing
 
Introduction & Manual Testing
Introduction & Manual TestingIntroduction & Manual Testing
Introduction & Manual Testing
 
Basic software-testing-concepts
Basic software-testing-conceptsBasic software-testing-concepts
Basic software-testing-concepts
 
Software testing methods, levels and types
Software testing methods, levels and typesSoftware testing methods, levels and types
Software testing methods, levels and types
 
SOFTWARE TESTING UNIT-4
SOFTWARE TESTING UNIT-4  SOFTWARE TESTING UNIT-4
SOFTWARE TESTING UNIT-4
 
Software Testing
Software TestingSoftware Testing
Software Testing
 
Software testing & Quality Assurance
Software testing & Quality Assurance Software testing & Quality Assurance
Software testing & Quality Assurance
 
Software Testing Technique in Software Engineering
Software Testing Technique in Software EngineeringSoftware Testing Technique in Software Engineering
Software Testing Technique in Software Engineering
 
Chapter 4 - Test Design Techniques
Chapter 4 - Test Design TechniquesChapter 4 - Test Design Techniques
Chapter 4 - Test Design Techniques
 
software testing
 software testing software testing
software testing
 
Software Testing
Software TestingSoftware Testing
Software Testing
 
Risk-based Testing
Risk-based TestingRisk-based Testing
Risk-based Testing
 
SOFTWARE TESTING
SOFTWARE TESTINGSOFTWARE TESTING
SOFTWARE TESTING
 
Testing Frameworks
Testing FrameworksTesting Frameworks
Testing Frameworks
 
Configuration testing
Configuration testingConfiguration testing
Configuration testing
 
Software testing ppt
Software testing pptSoftware testing ppt
Software testing ppt
 

Similar to Test levels

ST Unit-3.pptx
ST Unit-3.pptxST Unit-3.pptx
ST Unit-3.pptx
JhonLiver
 
Testing and types of Testing
Testing and types of TestingTesting and types of Testing
Testing and types of Testing
Munaam Munawar
 
Testing type
Testing typeTesting type
Testing type
transformtoit
 
Types
TypesTypes
Presentation1.pptx
Presentation1.pptxPresentation1.pptx
Presentation1.pptx
VikramMagar1
 
Testing chapter updated (1)
Testing chapter updated (1)Testing chapter updated (1)
Testing chapter updated (1)
abdullah619
 
sst ppt.pptx
sst ppt.pptxsst ppt.pptx
sst ppt.pptx
PRIANKA R
 
Ch 2 Apraoaches Of Software Testing
Ch 2 Apraoaches Of Software Testing Ch 2 Apraoaches Of Software Testing
Ch 2 Apraoaches Of Software Testing
Prof .Pragati Khade
 
Software Testing
Software Testing Software Testing
Software Testing
CHANDAN CHATURVEDI
 
Software test life cycle
Software test life cycleSoftware test life cycle
Software testing strategies
Software testing strategiesSoftware testing strategies
Software testing strategies
Sophia Girls' College(Autonomous), Ajmer
 
What is integration testing
What is integration testingWhat is integration testing
What is integration testing
TestingXperts
 
S.t.
S.t.S.t.
Sftwre engg.testng
Sftwre engg.testngSftwre engg.testng
Sftwre engg.testng
kanika20071990
 
Fundamentals of software part 1
Fundamentals of software part 1Fundamentals of software part 1
Fundamentals of software part 1
Siddharth Sharma
 
Software Testing
Software Testing Software Testing
Software Testing
MD SALEEM QAISAR
 
unittesting-190620114546 (1).pptx document
unittesting-190620114546 (1).pptx documentunittesting-190620114546 (1).pptx document
unittesting-190620114546 (1).pptx document
AkshayaM79
 
Unit test Android
Unit test AndroidUnit test Android
Unit test Android
Qushay Bagas
 
Unit testing - what is its importance
Unit testing - what is its importanceUnit testing - what is its importance
Unit testing - what is its importance
TestingXperts
 

Similar to 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
 
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
 

Recently uploaded

GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
Sri Ambati
 
GraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge GraphGraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge Graph
Guy Korland
 
JMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and GrafanaJMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and Grafana
RTTS
 
How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...
Product School
 
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 previewState of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
Prayukth K V
 
"Impact of front-end architecture on development cost", Viktor Turskyi
"Impact of front-end architecture on development cost", Viktor Turskyi"Impact of front-end architecture on development cost", Viktor Turskyi
"Impact of front-end architecture on development cost", Viktor Turskyi
Fwdays
 
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdfFIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance
 
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
Product School
 
Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*
Frank van Harmelen
 
Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........
Alison B. Lowndes
 
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
Product School
 
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Tobias Schneck
 
The Future of Platform Engineering
The Future of Platform EngineeringThe Future of Platform Engineering
The Future of Platform Engineering
Jemma Hussein Allen
 
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdfFIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance
 
Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...
Product School
 
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Thierry Lestable
 
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Product School
 
Essentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with ParametersEssentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with Parameters
Safe Software
 
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdfFIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance
 
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdfFIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance
 

Recently uploaded (20)

GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
 
GraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge GraphGraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge Graph
 
JMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and GrafanaJMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and Grafana
 
How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...
 
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 previewState of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
 
"Impact of front-end architecture on development cost", Viktor Turskyi
"Impact of front-end architecture on development cost", Viktor Turskyi"Impact of front-end architecture on development cost", Viktor Turskyi
"Impact of front-end architecture on development cost", Viktor Turskyi
 
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdfFIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
 
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
 
Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*
 
Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........
 
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
 
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
 
The Future of Platform Engineering
The Future of Platform EngineeringThe Future of Platform Engineering
The Future of Platform Engineering
 
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdfFIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdf
 
Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...
 
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
 
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
 
Essentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with ParametersEssentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with Parameters
 
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdfFIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
 
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdfFIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.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.