SlideShare a Scribd company logo
1 of 22
1
SoftwareTesting
Presented by: Group H
Subject: Software Engineering
Presented to: Mr. Bilal Janjua
2
Muhammad
Taha
(20021519-
012)
M. Abdullah
Hashmi
(20021519-
016)
Usama Zafar
(20021519-
092)
Sheharyar
Tariq Butt
(20021519-
108)
Ghulam
Murtaza
(20021519-
128)
Members
3
4
Table of Content
• Introduction to SoftwareTesting ……….……………………………………..1
• Development testing..…………………………………………………………….2
• Unit testing……………………………………………………………………………3
• Choosing unit test cases……………………………………………….……....…4
• Component testing……………………………………………….……………..…5
• System testing……………………………………………………………………….6
Introduction to Software Testing
• Software Testing is a method to check whether the actual software product matches
expected requirements and to ensure that software product is Defect free.
• The purpose of software testing is to identify errors, gaps or missing requirements in
contrast to actual requirements.
• The responsibility of testing is to point out the issues of bugs and give Dev (Developers) a
clue to help them fix it right following the requirements.
5
Software Testing Objectives
• Uncover as many as errors (or bugs) as possible in a given product.
• Demonstrate a given software product matching its requirement specifications.
• Validate the quality of a software using the minimum cost and efforts.
• Generate high-quality test cases, perform effective tests, and issue correct and helpful
problem reports.
6
Software Testing Division
• Software testing is often divided into 2 main processes:
• Verification in software testing is the process when your team just need to check
whether the software, system or framework consistent, aligned with the requirements
of a documentation. It is done by Developers.
• Validation is the process that your team needs to verify the accuracy of the system. In
this process, you will look back to the product, system and think about what users
actually want and what has been done. It is done byTesters.
7
DevelopmentTesting
• Development testing (DevTest) is an approach in software development that aims to
bring the development and testing phases closer together.
• In DevTest code that is being written and checked in is automatically tested. In this way,
problems can be more quickly discovered and addressed.
8
Benefits of DevelopmentTesting
Using a DevTest software development methodology can deliver numerous benefits.
The most significant benefits are:
Higher code quality at any given time because new code is continually being tested.
Shortened time to market for new features.
9
Why is DevTest important?
DevTest is important because:
It enables higher levels of efficiency in the software development life cycle (SDLC)
It helps to reduce the effect of software errors
It speed the delivery of new features and bug fixes to customers.
10
UnitTesting
• Unit Testing is a type of software testing where
individual units or components of a software are
tested.
• The purpose is to validate that each unit of the
software code performs as expected.
• Unit Testing is done during the development
(coding phase) of an application by the developers.
• Unit Tests isolate a section of code and verify its
correctness.
• A unit may be an individual function, method,
procedure, module, or object.
11
UnitTesting Advantages
• Unit testing allows the programmer to refactor code at a later date, and make sure the
module still works correctly .
• The procedure is to write test cases for all functions and methods so that whenever a
change causes a fault, it can be quickly identified and fixed.
• Due to the modular nature of the unit testing, we can test parts of the project without
waiting for others to be completed.
12
UnitTesting Disadvantages
• Unit testing can’t be expected to catch every error in a program.
• Unit testing by its very nature focuses on a unit of code. Hence it can’t catch integration
errors or broad system level errors.
Note:
• Don'tTry to Minimize the Number ofTest Cases.
• Write Code FromTop to Bottom.
13
ComponentTesting
• Component testing is a sub-category of software testing in which each individual
component of the software is separately tested without integrating with other
components. It is also known as module testing, when viewed from an architecture
perspective.
• Unit testing is generally done by developers, while component testing is done by
testers. Component testing is done after unit testing is completely performed by the
developing team. This build is known as UT (Unit Testing) build. In this phase, the testers
test all the major functionalities of the software components.
14
Objectives of ComponentTesting
• The primary objective of performing component testing is to check whether the
input/output behavior of the test object or component is working as expected.
Component testing ensures that the functionality of the component is working properly
and as specified.
To reduce risks.
Discover bugs in the component.
Validate the functional as well as non-functional performance of the component.
To improve quality of the component.
To prevent bugs from escaping to higher testing levels.
15
Objectives of ComponentTesting
• The primary objective of performing component testing is to check whether the
input/output behavior of the test object or component is working as expected.
Component testing ensures that the functionality of the component is working properly
and as specified.
To reduce risks.
Discover bugs in the component.
Validate the functional as well as non-functional performance of the component.
To improve quality of the component.
To prevent bugs from escaping to higher testing levels.
16
UnitTesting vs ComponentTesting
17
UnitTesting ComponentTesting
• Testing of individual programs, modules
to verify that they execute as per the
specifications
• Testing of each object or component of
the software individually with or without
isolating other components
• Validates design documents • Validates test requirements, and use
cases
• Performed by developers • Performed by testers
• It is performed first • It is performed after the completion of
unit testing
Why ComponentTesting is Important?
• Detailed evaluation − Component testing of each individual component enables the
detailed evaluation after all the components have been acquired.
• Early Bug Identification − Component testing can be executed at any stage, so we can
identify and fix bug sooner.
• Certified Contract − Component testing helps us certify the contract; component testing
is reliable.
18
SystemTesting
System Testing is a level of testing that
validates the complete and fully integrated
software product. The purpose of a system test
is to evaluate the end-to-end system
specifications. Usually, the software is only one
element of a larger computer-based system.
Ultimately, the software is interfaced with
other software/hardware systems. System
Testing is actually a series of different tests
whose sole purpose is to exercise the full
computer-based system.
19
Advantages of SystemTesting
• The testers do not require more knowledge of programming to carry out this testing.
• It will test the entire product or software so that we will easily detect the errors or defects
which cannot be identified during the unit testing and integration testing.
• It checks the entire functionality of the system with different test scripts and also it covers
the technical and business requirements of clients.
• After this testing, the product will almost cover all the possible bugs or errors and hence
the development team will confidently go ahead with acceptance testing.
20
Disadvantages of SystemTesting
• This testing is time consuming process than another testing techniques since it checks the
entire product or software.
• The cost for the testing will be high since it covers the testing of entire software.
• It needs good debugging tool otherwise the hidden errors will not be found.
21
22

More Related Content

Similar to SE Group H.pptx

Software testing methods, levels and types
Software testing methods, levels and typesSoftware testing methods, levels and types
Software testing methods, levels and typesConfiz
 
Basic Guide to Manual Testing
Basic Guide to Manual TestingBasic Guide to Manual Testing
Basic Guide to Manual TestingHiral Gosani
 
SOFTWARE TESTING
SOFTWARE TESTINGSOFTWARE TESTING
SOFTWARE TESTINGacemindia
 
Software testing
Software testingSoftware testing
Software testingMohdVais1
 
Objectorientedtesting 160320132146
Objectorientedtesting 160320132146Objectorientedtesting 160320132146
Objectorientedtesting 160320132146vidhyyav
 
unit-2_20-july-2018 (1).pptx
unit-2_20-july-2018 (1).pptxunit-2_20-july-2018 (1).pptx
unit-2_20-july-2018 (1).pptxPriyaFulpagare1
 
Object oriented testing
Object oriented testingObject oriented testing
Object oriented testingHaris Jamil
 
Fundamentals of software part 1
Fundamentals of software part 1Fundamentals of software part 1
Fundamentals of software part 1Siddharth Sharma
 
Module V - Software Testing Strategies.pdf
Module V - Software Testing Strategies.pdfModule V - Software Testing Strategies.pdf
Module V - Software Testing Strategies.pdfadhithanr
 
Solution Evaluation (BA Role)
Solution Evaluation (BA Role)   Solution Evaluation (BA Role)
Solution Evaluation (BA Role) Shwetha-BA
 
Software testing and software development process
Software testing and software development processSoftware testing and software development process
Software testing and software development processGen Aloys Ochola Badde
 
Testing strategies,techniques & test case SE
Testing strategies,techniques & test case SETesting strategies,techniques & test case SE
Testing strategies,techniques & test case SEMeet1020
 
Role of BA in Testing
Role of BA in TestingRole of BA in Testing
Role of BA in TestingShwetha-BA
 
Role of BA in Testing
Role of BA in TestingRole of BA in Testing
Role of BA in TestingLakshmi-BA
 
Role of BA in Testing
Role of BA in TestingRole of BA in Testing
Role of BA in TestingSwatiS-BA
 
Role of BA in Testing
Role of BA in TestingRole of BA in Testing
Role of BA in TestingVeneet-BA
 
Week 14 Unit Testing.pptx
Week 14  Unit Testing.pptxWeek 14  Unit Testing.pptx
Week 14 Unit Testing.pptxmianshafa
 

Similar to SE Group H.pptx (20)

Software testing methods, levels and types
Software testing methods, levels and typesSoftware testing methods, levels and types
Software testing methods, levels and types
 
Basic Guide to Manual Testing
Basic Guide to Manual TestingBasic Guide to Manual Testing
Basic Guide to Manual Testing
 
SOFTWARE TESTING
SOFTWARE TESTINGSOFTWARE TESTING
SOFTWARE TESTING
 
Software testing
Software testingSoftware testing
Software testing
 
Objectorientedtesting 160320132146
Objectorientedtesting 160320132146Objectorientedtesting 160320132146
Objectorientedtesting 160320132146
 
unit-2_20-july-2018 (1).pptx
unit-2_20-july-2018 (1).pptxunit-2_20-july-2018 (1).pptx
unit-2_20-july-2018 (1).pptx
 
Object oriented testing
Object oriented testingObject oriented testing
Object oriented testing
 
Fundamentals of software part 1
Fundamentals of software part 1Fundamentals of software part 1
Fundamentals of software part 1
 
Software testing
Software testingSoftware testing
Software testing
 
SDLCTesting
SDLCTestingSDLCTesting
SDLCTesting
 
Module V - Software Testing Strategies.pdf
Module V - Software Testing Strategies.pdfModule V - Software Testing Strategies.pdf
Module V - Software Testing Strategies.pdf
 
Software testing
Software testingSoftware testing
Software testing
 
Solution Evaluation (BA Role)
Solution Evaluation (BA Role)   Solution Evaluation (BA Role)
Solution Evaluation (BA Role)
 
Software testing and software development process
Software testing and software development processSoftware testing and software development process
Software testing and software development process
 
Testing strategies,techniques & test case SE
Testing strategies,techniques & test case SETesting strategies,techniques & test case SE
Testing strategies,techniques & test case SE
 
Role of BA in Testing
Role of BA in TestingRole of BA in Testing
Role of BA in Testing
 
Role of BA in Testing
Role of BA in TestingRole of BA in Testing
Role of BA in Testing
 
Role of BA in Testing
Role of BA in TestingRole of BA in Testing
Role of BA in Testing
 
Role of BA in Testing
Role of BA in TestingRole of BA in Testing
Role of BA in Testing
 
Week 14 Unit Testing.pptx
Week 14  Unit Testing.pptxWeek 14  Unit Testing.pptx
Week 14 Unit Testing.pptx
 

Recently uploaded

Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxiammrhaywood
 
MARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized GroupMARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized GroupJonathanParaisoCruz
 
Roles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceRoles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceSamikshaHamane
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentInMediaRes1
 
Capitol Tech U Doctoral Presentation - April 2024.pptx
Capitol Tech U Doctoral Presentation - April 2024.pptxCapitol Tech U Doctoral Presentation - April 2024.pptx
Capitol Tech U Doctoral Presentation - April 2024.pptxCapitolTechU
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxthorishapillay1
 
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...M56BOOKSTORE PRODUCT/SERVICE
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Educationpboyjonauth
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for BeginnersSabitha Banu
 
Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...jaredbarbolino94
 
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxEPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxRaymartEstabillo3
 
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfSumit Tiwari
 
DATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersDATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersSabitha Banu
 
internship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developerinternship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developerunnathinaik
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxOH TEIK BIN
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17Celine George
 

Recently uploaded (20)

Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
 
OS-operating systems- ch04 (Threads) ...
OS-operating systems- ch04 (Threads) ...OS-operating systems- ch04 (Threads) ...
OS-operating systems- ch04 (Threads) ...
 
MARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized GroupMARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized Group
 
Roles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceRoles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in Pharmacovigilance
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media Component
 
Capitol Tech U Doctoral Presentation - April 2024.pptx
Capitol Tech U Doctoral Presentation - April 2024.pptxCapitol Tech U Doctoral Presentation - April 2024.pptx
Capitol Tech U Doctoral Presentation - April 2024.pptx
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptx
 
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Education
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for Beginners
 
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
 
Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...
 
ESSENTIAL of (CS/IT/IS) class 06 (database)
ESSENTIAL of (CS/IT/IS) class 06 (database)ESSENTIAL of (CS/IT/IS) class 06 (database)
ESSENTIAL of (CS/IT/IS) class 06 (database)
 
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxEPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
 
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
 
DATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersDATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginners
 
internship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developerinternship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developer
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptx
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17
 

SE Group H.pptx

  • 1. 1
  • 2. SoftwareTesting Presented by: Group H Subject: Software Engineering Presented to: Mr. Bilal Janjua 2
  • 4. 4 Table of Content • Introduction to SoftwareTesting ……….……………………………………..1 • Development testing..…………………………………………………………….2 • Unit testing……………………………………………………………………………3 • Choosing unit test cases……………………………………………….……....…4 • Component testing……………………………………………….……………..…5 • System testing……………………………………………………………………….6
  • 5. Introduction to Software Testing • Software Testing is a method to check whether the actual software product matches expected requirements and to ensure that software product is Defect free. • The purpose of software testing is to identify errors, gaps or missing requirements in contrast to actual requirements. • The responsibility of testing is to point out the issues of bugs and give Dev (Developers) a clue to help them fix it right following the requirements. 5
  • 6. Software Testing Objectives • Uncover as many as errors (or bugs) as possible in a given product. • Demonstrate a given software product matching its requirement specifications. • Validate the quality of a software using the minimum cost and efforts. • Generate high-quality test cases, perform effective tests, and issue correct and helpful problem reports. 6
  • 7. Software Testing Division • Software testing is often divided into 2 main processes: • Verification in software testing is the process when your team just need to check whether the software, system or framework consistent, aligned with the requirements of a documentation. It is done by Developers. • Validation is the process that your team needs to verify the accuracy of the system. In this process, you will look back to the product, system and think about what users actually want and what has been done. It is done byTesters. 7
  • 8. DevelopmentTesting • Development testing (DevTest) is an approach in software development that aims to bring the development and testing phases closer together. • In DevTest code that is being written and checked in is automatically tested. In this way, problems can be more quickly discovered and addressed. 8
  • 9. Benefits of DevelopmentTesting Using a DevTest software development methodology can deliver numerous benefits. The most significant benefits are: Higher code quality at any given time because new code is continually being tested. Shortened time to market for new features. 9
  • 10. Why is DevTest important? DevTest is important because: It enables higher levels of efficiency in the software development life cycle (SDLC) It helps to reduce the effect of software errors It speed the delivery of new features and bug fixes to customers. 10
  • 11. UnitTesting • Unit Testing is a type of software testing where individual units or components of a software are tested. • The purpose is to validate that each unit of the software code performs as expected. • Unit Testing is done during the development (coding phase) of an application by the developers. • Unit Tests isolate a section of code and verify its correctness. • A unit may be an individual function, method, procedure, module, or object. 11
  • 12. UnitTesting Advantages • Unit testing allows the programmer to refactor code at a later date, and make sure the module still works correctly . • The procedure is to write test cases for all functions and methods so that whenever a change causes a fault, it can be quickly identified and fixed. • Due to the modular nature of the unit testing, we can test parts of the project without waiting for others to be completed. 12
  • 13. UnitTesting Disadvantages • Unit testing can’t be expected to catch every error in a program. • Unit testing by its very nature focuses on a unit of code. Hence it can’t catch integration errors or broad system level errors. Note: • Don'tTry to Minimize the Number ofTest Cases. • Write Code FromTop to Bottom. 13
  • 14. ComponentTesting • Component testing is a sub-category of software testing in which each individual component of the software is separately tested without integrating with other components. It is also known as module testing, when viewed from an architecture perspective. • Unit testing is generally done by developers, while component testing is done by testers. Component testing is done after unit testing is completely performed by the developing team. This build is known as UT (Unit Testing) build. In this phase, the testers test all the major functionalities of the software components. 14
  • 15. Objectives of ComponentTesting • The primary objective of performing component testing is to check whether the input/output behavior of the test object or component is working as expected. Component testing ensures that the functionality of the component is working properly and as specified. To reduce risks. Discover bugs in the component. Validate the functional as well as non-functional performance of the component. To improve quality of the component. To prevent bugs from escaping to higher testing levels. 15
  • 16. Objectives of ComponentTesting • The primary objective of performing component testing is to check whether the input/output behavior of the test object or component is working as expected. Component testing ensures that the functionality of the component is working properly and as specified. To reduce risks. Discover bugs in the component. Validate the functional as well as non-functional performance of the component. To improve quality of the component. To prevent bugs from escaping to higher testing levels. 16
  • 17. UnitTesting vs ComponentTesting 17 UnitTesting ComponentTesting • Testing of individual programs, modules to verify that they execute as per the specifications • Testing of each object or component of the software individually with or without isolating other components • Validates design documents • Validates test requirements, and use cases • Performed by developers • Performed by testers • It is performed first • It is performed after the completion of unit testing
  • 18. Why ComponentTesting is Important? • Detailed evaluation − Component testing of each individual component enables the detailed evaluation after all the components have been acquired. • Early Bug Identification − Component testing can be executed at any stage, so we can identify and fix bug sooner. • Certified Contract − Component testing helps us certify the contract; component testing is reliable. 18
  • 19. SystemTesting System Testing is a level of testing that validates the complete and fully integrated software product. The purpose of a system test is to evaluate the end-to-end system specifications. Usually, the software is only one element of a larger computer-based system. Ultimately, the software is interfaced with other software/hardware systems. System Testing is actually a series of different tests whose sole purpose is to exercise the full computer-based system. 19
  • 20. Advantages of SystemTesting • The testers do not require more knowledge of programming to carry out this testing. • It will test the entire product or software so that we will easily detect the errors or defects which cannot be identified during the unit testing and integration testing. • It checks the entire functionality of the system with different test scripts and also it covers the technical and business requirements of clients. • After this testing, the product will almost cover all the possible bugs or errors and hence the development team will confidently go ahead with acceptance testing. 20
  • 21. Disadvantages of SystemTesting • This testing is time consuming process than another testing techniques since it checks the entire product or software. • The cost for the testing will be high since it covers the testing of entire software. • It needs good debugging tool otherwise the hidden errors will not be found. 21
  • 22. 22