尊敬的 微信汇率:1円 ≈ 0.046166 元 支付宝汇率:1円 ≈ 0.046257元 [退出登录]
SlideShare a Scribd company logo
Group # 8
Represented By: Haris Jamil
Discipline: Information Technology
5th Semester
Review OOA and OOD models
Class testing after code is written
Integration testing within subsystems
Validation testing based on OOA use-
cases
 OO-Testing.
 Requirement Testing
 Analysis and Design Testing
 Code Testing
 User Testing
 Integration Tests
 System Tests
 Testing Methods
 Object-Oriented Testing is a collection of testing techniques to
verify and validate object-oriented software.
 Testing takes place
 To complete the OOT cycle mention below testing are required.
 Requirement Testing
 Analysis and Design Testing
 Code Testing
 Integration Tests
 System Tests
 User Testing
 It’s used to discuss test plans and execution for projects.
Analysis Design Code TestRequire
ment
FLOOT - Diagram
Requirement Testing
Analysis testing
Design Testing
Code testing
Integration Testing
Unit Testing
User Testing
System Testing
Requirements based Testing :
Requirements-based testing is a testing approach in which test
cases, conditions and data are derived from requirements. It
includes functional tests and also non-functional attributes such
as performance, reliability or usability.
Requirements Testing process:
 Testing must be carried out in a timely manner.
 Testing process should add value to the software life cycle, hence
it needs to be effective.
 Requirement testing process needs to be efficient as well.
 Testing must provide the overall status of the project, hence it
should be manageable.
Stages in Requirements based Testing:
 Defining Test Completion Criteria - Testing is completed
only when all the functional and non-functional testing is
complete.
 Design Test Cases - A Test case has five parameters namely
the initial state or precondition, data setup, the inputs,
expected outcomes and actual outcomes.
 Execute Tests - Execute the test cases against the system
under test and document the results.
 Verify Test Results - Verify if the expected and actual results
match each other.
 Verify Test Coverage - Verify if the tests cover both functional
and non-functional aspects of the requirement.
 Track and Manage Defects - Any defects detected during the
testing process goes through the defect life cycle and are
tracked to resolution. Defect Statistics are maintained which
will give us the overall status of the project.
Analysis Testing :
Analysis testing is the process of looking at
something that can be used to derive information.
In analysis we collect information that is needed in
order to start the test, In it we make documentation
on requirements, design specifications, product risk
analysis,
architecture and interfaces.
Analysis testing is used to understand what
the system should do once built.
Sometimes analysis testing can be based on user’s
experienced knowledge about system or software
which may not be documented.
Design Testing :
By design testing we create a plan how to
implement an idea and technique.
So, Design Testing creating a set of inputs
for the given software that will provide a set of
expected outputs.
They are two main Design Testing Techniques :
 Static Techniques
 Dynamic Techniques
Static & Dynamic Testing Techniques
•Static testing is the testing of
the software work products
manually, or with a set of tools,
but they are not executed.
•It starts early in the Life cycle
and so it is done during the
verification process.
•It does not need computer as
the testing of program is
done without executing the
program. For
example: reviewing, walk
through, inspection, etc.
•Most static testing techniques
can be used to ‘test’ any form of
document including source
code, design documents and
models, functional
specifications and requirement
specifications.
•Dynamic testing technique
needs computer for testing.
•It is done during Validation
process.
•The software is tested by
executing it on computer.
•Example of this Dynamic
Testing Technique: Unit
testing, integration
testing, system testing.
Code-Based Testing:
Code-based testing corresponds to the testing that is carried out on code
development, code inspection, unit testing in software development
process.
The Code-based testing consists of following testing:
 Dynamic Testing - Statement coverage, Branch coverage, Path
coverage.
 Checking for Complexity of Code using techniques like Cyclomatic
Complexity.
 Static Testing - Code Inspection, Code Walkthrough, Code Review, Code
Audit.
Unit testing, a testing technique in which individual modules or
units of source code are tested by the developer to find out the
issues and to make sure that code meets its design and
requirements and behaves as expected.
Unit Testing - Advantages:
 Reduces Defects in the Newly developed features or reduces
bugs when changing the existing functionality.
 Reduces Cost of Testing as defects are captured in very early
phase.
 Improves design and allows better refactoring of code.
 Unit Tests, when integrated gives the quality.
Unit Testing Techniques:
Black Box Testing
White Box Testing
Gray Box Testing
The software testing phase in which individual software modules are
combined and tested as a group. It occurs after unit testing and before
validation testing.
Purpose of Integration Testing :
The purpose of integration testing is to verify the functional, performance,
and reliability between the modules that are integrated.
Integration Strategies:
 Big-Bang Integration
 Top Down Integration
 Bottom Up Integration
 Hybrid Integration
The process of performing a variety of test on a system to
explore functionality or to identify problems.
Client test the system to find out the bugs in system/software.
For example : A tester may put a wrong input in a field that
basically designed to only accept states of USA , for just check
how the system will respond to the incorrect input.
Purposes of System Testing :
• System testing is most often the final test to verify that the system to be
delivered meets the specification and its purpose.
• System testing is carried out by specialists testers or independent
testers.
• System testing should investigate both functional and non-functional
requirements of the testing.
(UAT) is the last phase of the
software testing process.
It’s a testing methodology, clients/end
users involved in testing the product to
check or validate the software against their
requirements. It is performed at client
location at developer's site.
UAT - Diagram
Scenario Base testing :-
 Scenario testing is a software testing technique by which
we test the software activity that uses scenarios.
 If the scenario runs from start to finish, then it passes.
 Scenario is just a story which explains the usage of the
software by any end user.
e.g.
 Name must be in capital letters
 Length of letters is 20 charaters
 CNIC have 13 numbers with special letter of (-)
 Now user must log in by accepting its data
Any Question????

More Related Content

What's hot

Object oriented software engineering concepts
Object oriented software engineering conceptsObject oriented software engineering concepts
Object oriented software engineering concepts
Komal Singh
 
Cohesion and coupling
Cohesion and couplingCohesion and coupling
Cohesion and coupling
Aprajita (Abbey) Singh
 
Artificial Intelligence Notes Unit 1
Artificial Intelligence Notes Unit 1 Artificial Intelligence Notes Unit 1
Artificial Intelligence Notes Unit 1
DigiGurukul
 
Register allocation and assignment
Register allocation and assignmentRegister allocation and assignment
Register allocation and assignment
Karthi Keyan
 
Black box and white box testing
Black box and white box testingBlack box and white box testing
Black box and white box testing
AWADHESH PRATAP SINGH UNIVERSITY, REWA (M.P.)
 
Software process and project metrics
Software process and project metricsSoftware process and project metrics
Software process and project metrics
Indu Sharma Bhardwaj
 
Context model
Context modelContext model
Context model
Ubaid423
 
Software quality assurance
Software quality assuranceSoftware quality assurance
Software quality assurance
Aman Adhikari
 
Unit 4- Software Engineering System Model Notes
Unit 4- Software Engineering System Model Notes Unit 4- Software Engineering System Model Notes
Unit 4- Software Engineering System Model Notes
arvind pandey
 
Data Designs (Software Engg.)
Data Designs (Software Engg.)Data Designs (Software Engg.)
Data Designs (Software Engg.)
Arun Shukla
 
Uml in software engineering
Uml in software engineeringUml in software engineering
Uml in software engineering
Mubashir Jutt
 
Software Metrics
Software MetricsSoftware Metrics
Software Metrics
swatisinghal
 
Chapter 15 software product metrics
Chapter 15 software product metricsChapter 15 software product metrics
Chapter 15 software product metrics
SHREEHARI WADAWADAGI
 
Interface specification
Interface specificationInterface specification
Interface specification
maliksiddique1
 
CHAPTER 6 REQUIREMENTS MODELING: SCENARIO based Model , Class based moddel
CHAPTER 6 REQUIREMENTS MODELING: SCENARIO based Model , Class based moddelCHAPTER 6 REQUIREMENTS MODELING: SCENARIO based Model , Class based moddel
CHAPTER 6 REQUIREMENTS MODELING: SCENARIO based Model , Class based moddel
mohamed khalaf alla mohamedain
 
Black box software testing
Black box software testingBlack box software testing
Black box software testing
Rana Muhammad Asif
 
Symbol table in compiler Design
Symbol table in compiler DesignSymbol table in compiler Design
Symbol table in compiler Design
Kuppusamy P
 
Type Checking(Compiler Design) #ShareThisIfYouLike
Type Checking(Compiler Design) #ShareThisIfYouLikeType Checking(Compiler Design) #ShareThisIfYouLike
Type Checking(Compiler Design) #ShareThisIfYouLike
United International University
 
Unification and Lifting
Unification and LiftingUnification and Lifting
Unification and Lifting
Megha Sharma
 
Lecture 12 requirements modeling - (system analysis)
Lecture 12   requirements modeling - (system analysis)Lecture 12   requirements modeling - (system analysis)
Lecture 12 requirements modeling - (system analysis)
IIUI
 

What's hot (20)

Object oriented software engineering concepts
Object oriented software engineering conceptsObject oriented software engineering concepts
Object oriented software engineering concepts
 
Cohesion and coupling
Cohesion and couplingCohesion and coupling
Cohesion and coupling
 
Artificial Intelligence Notes Unit 1
Artificial Intelligence Notes Unit 1 Artificial Intelligence Notes Unit 1
Artificial Intelligence Notes Unit 1
 
Register allocation and assignment
Register allocation and assignmentRegister allocation and assignment
Register allocation and assignment
 
Black box and white box testing
Black box and white box testingBlack box and white box testing
Black box and white box testing
 
Software process and project metrics
Software process and project metricsSoftware process and project metrics
Software process and project metrics
 
Context model
Context modelContext model
Context model
 
Software quality assurance
Software quality assuranceSoftware quality assurance
Software quality assurance
 
Unit 4- Software Engineering System Model Notes
Unit 4- Software Engineering System Model Notes Unit 4- Software Engineering System Model Notes
Unit 4- Software Engineering System Model Notes
 
Data Designs (Software Engg.)
Data Designs (Software Engg.)Data Designs (Software Engg.)
Data Designs (Software Engg.)
 
Uml in software engineering
Uml in software engineeringUml in software engineering
Uml in software engineering
 
Software Metrics
Software MetricsSoftware Metrics
Software Metrics
 
Chapter 15 software product metrics
Chapter 15 software product metricsChapter 15 software product metrics
Chapter 15 software product metrics
 
Interface specification
Interface specificationInterface specification
Interface specification
 
CHAPTER 6 REQUIREMENTS MODELING: SCENARIO based Model , Class based moddel
CHAPTER 6 REQUIREMENTS MODELING: SCENARIO based Model , Class based moddelCHAPTER 6 REQUIREMENTS MODELING: SCENARIO based Model , Class based moddel
CHAPTER 6 REQUIREMENTS MODELING: SCENARIO based Model , Class based moddel
 
Black box software testing
Black box software testingBlack box software testing
Black box software testing
 
Symbol table in compiler Design
Symbol table in compiler DesignSymbol table in compiler Design
Symbol table in compiler Design
 
Type Checking(Compiler Design) #ShareThisIfYouLike
Type Checking(Compiler Design) #ShareThisIfYouLikeType Checking(Compiler Design) #ShareThisIfYouLike
Type Checking(Compiler Design) #ShareThisIfYouLike
 
Unification and Lifting
Unification and LiftingUnification and Lifting
Unification and Lifting
 
Lecture 12 requirements modeling - (system analysis)
Lecture 12   requirements modeling - (system analysis)Lecture 12   requirements modeling - (system analysis)
Lecture 12 requirements modeling - (system analysis)
 

Similar to Object oriented testing

Object Oriented Testing(OOT) presentation slides
Object Oriented Testing(OOT) presentation slidesObject Oriented Testing(OOT) presentation slides
Object Oriented Testing(OOT) presentation slides
Punjab University
 
Testing in Software Engineering.docx
Testing in Software Engineering.docxTesting in Software Engineering.docx
Testing in Software Engineering.docx
8759000398
 
Software Testing PPT | Software All Testing
Software Testing PPT | Software All TestingSoftware Testing PPT | Software All Testing
Software Testing PPT | Software All Testing
sankalpkumarsahoo174
 
Manual testing concepts course 1
Manual testing concepts course 1Manual testing concepts course 1
Manual testing concepts course 1
Raghu Kiran
 
Software testing
Software testingSoftware testing
Software testing
Ravi Dasari
 
testing.pptx
testing.pptxtesting.pptx
testing.pptx
jagadeeppapisettipal
 
Mca se chapter_07_software_validation
Mca se chapter_07_software_validationMca se chapter_07_software_validation
Mca se chapter_07_software_validation
Aman Adhikari
 
Software_Testing_ppt.pptx
Software_Testing_ppt.pptxSoftware_Testing_ppt.pptx
Software_Testing_ppt.pptx
BharathReddy615859
 
Solution Evaluation (BA Role)
Solution Evaluation (BA Role)   Solution Evaluation (BA Role)
Solution Evaluation (BA Role)
Shwetha-BA
 
Validation & verification software engineering
Validation & verification software engineeringValidation & verification software engineering
Validation & verification software engineering
Sweta Kumari Barnwal
 
Role of BA in Testing
Role of BA in TestingRole of BA in Testing
Role of BA in Testing
Shwetha-BA
 
Role of BA in Testing
Role of BA in TestingRole of BA in Testing
Role of BA in Testing
Lakshmi-BA
 
Role of BA in Testing
Role of BA in TestingRole of BA in Testing
Role of BA in Testing
Veneet-BA
 
Role of BA in Testing
Role of BA in TestingRole of BA in Testing
Role of BA in Testing
SwatiS-BA
 
Software-Testing-ppt.pptx
Software-Testing-ppt.pptxSoftware-Testing-ppt.pptx
Software-Testing-ppt.pptx
Sushilkumar744913
 
Testing
TestingTesting
Testing
trashqwerty
 
Software Quality Assurance
Software Quality AssuranceSoftware Quality Assurance
Software Quality Assurance
Saqib Raza
 
Software testing basic
Software testing basicSoftware testing basic
Software testing basic
Rohit Singh
 
Structured system analysis and design
Structured system analysis and design Structured system analysis and design
Structured system analysis and design
Jayant Dalvi
 
Software testing methods, levels and types
Software testing methods, levels and typesSoftware testing methods, levels and types
Software testing methods, levels and types
Confiz
 

Similar to Object oriented testing (20)

Object Oriented Testing(OOT) presentation slides
Object Oriented Testing(OOT) presentation slidesObject Oriented Testing(OOT) presentation slides
Object Oriented Testing(OOT) presentation slides
 
Testing in Software Engineering.docx
Testing in Software Engineering.docxTesting in Software Engineering.docx
Testing in Software Engineering.docx
 
Software Testing PPT | Software All Testing
Software Testing PPT | Software All TestingSoftware Testing PPT | Software All Testing
Software Testing PPT | Software All Testing
 
Manual testing concepts course 1
Manual testing concepts course 1Manual testing concepts course 1
Manual testing concepts course 1
 
Software testing
Software testingSoftware testing
Software testing
 
testing.pptx
testing.pptxtesting.pptx
testing.pptx
 
Mca se chapter_07_software_validation
Mca se chapter_07_software_validationMca se chapter_07_software_validation
Mca se chapter_07_software_validation
 
Software_Testing_ppt.pptx
Software_Testing_ppt.pptxSoftware_Testing_ppt.pptx
Software_Testing_ppt.pptx
 
Solution Evaluation (BA Role)
Solution Evaluation (BA Role)   Solution Evaluation (BA Role)
Solution Evaluation (BA Role)
 
Validation & verification software engineering
Validation & verification software engineeringValidation & verification software engineering
Validation & verification software engineering
 
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
 
Software-Testing-ppt.pptx
Software-Testing-ppt.pptxSoftware-Testing-ppt.pptx
Software-Testing-ppt.pptx
 
Testing
TestingTesting
Testing
 
Software Quality Assurance
Software Quality AssuranceSoftware Quality Assurance
Software Quality Assurance
 
Software testing basic
Software testing basicSoftware testing basic
Software testing basic
 
Structured system analysis and design
Structured system analysis and design Structured system analysis and design
Structured system analysis and design
 
Software testing methods, levels and types
Software testing methods, levels and typesSoftware testing methods, levels and types
Software testing methods, levels and types
 

Recently uploaded

Information and Communication Technology in Education
Information and Communication Technology in EducationInformation and Communication Technology in Education
Information and Communication Technology in Education
MJDuyan
 
78 Microsoft-Publisher - Sirin Sultana Bora.pptx
78 Microsoft-Publisher - Sirin Sultana Bora.pptx78 Microsoft-Publisher - Sirin Sultana Bora.pptx
78 Microsoft-Publisher - Sirin Sultana Bora.pptx
Kalna College
 
nutrition in plants chapter 1 class 7...
nutrition in plants chapter 1 class 7...nutrition in plants chapter 1 class 7...
nutrition in plants chapter 1 class 7...
chaudharyreet2244
 
(T.L.E.) Agriculture: "Ornamental Plants"
(T.L.E.) Agriculture: "Ornamental Plants"(T.L.E.) Agriculture: "Ornamental Plants"
(T.L.E.) Agriculture: "Ornamental Plants"
MJDuyan
 
Library news letter Kitengesa Uganda June 2024
Library news letter Kitengesa Uganda June 2024Library news letter Kitengesa Uganda June 2024
Library news letter Kitengesa Uganda June 2024
Friends of African Village Libraries
 
220711130088 Sumi Basak Virtual University EPC 3.pptx
220711130088 Sumi Basak Virtual University EPC 3.pptx220711130088 Sumi Basak Virtual University EPC 3.pptx
220711130088 Sumi Basak Virtual University EPC 3.pptx
Kalna College
 
The Science of Learning: implications for modern teaching
The Science of Learning: implications for modern teachingThe Science of Learning: implications for modern teaching
The Science of Learning: implications for modern teaching
Derek Wenmoth
 
Slides Peluncuran Amalan Pemakanan Sihat.pptx
Slides Peluncuran Amalan Pemakanan Sihat.pptxSlides Peluncuran Amalan Pemakanan Sihat.pptx
Slides Peluncuran Amalan Pemakanan Sihat.pptx
shabeluno
 
IoT (Internet of Things) introduction Notes.pdf
IoT (Internet of Things) introduction Notes.pdfIoT (Internet of Things) introduction Notes.pdf
IoT (Internet of Things) introduction Notes.pdf
roshanranjit222
 
Creation or Update of a Mandatory Field is Not Set in Odoo 17
Creation or Update of a Mandatory Field is Not Set in Odoo 17Creation or Update of a Mandatory Field is Not Set in Odoo 17
Creation or Update of a Mandatory Field is Not Set in Odoo 17
Celine George
 
Interprofessional Education Platform Introduction.pdf
Interprofessional Education Platform Introduction.pdfInterprofessional Education Platform Introduction.pdf
Interprofessional Education Platform Introduction.pdf
Ben Aldrich
 
Creativity for Innovation and Speechmaking
Creativity for Innovation and SpeechmakingCreativity for Innovation and Speechmaking
Creativity for Innovation and Speechmaking
MattVassar1
 
INTRODUCTION TO HOSPITALS & AND ITS ORGANIZATION
INTRODUCTION TO HOSPITALS & AND ITS ORGANIZATION INTRODUCTION TO HOSPITALS & AND ITS ORGANIZATION
INTRODUCTION TO HOSPITALS & AND ITS ORGANIZATION
ShwetaGawande8
 
Creating Images and Videos through AI.pptx
Creating Images and Videos through AI.pptxCreating Images and Videos through AI.pptx
Creating Images and Videos through AI.pptx
Forum of Blended Learning
 
CapTechTalks Webinar Slides June 2024 Donovan Wright.pptx
CapTechTalks Webinar Slides June 2024 Donovan Wright.pptxCapTechTalks Webinar Slides June 2024 Donovan Wright.pptx
CapTechTalks Webinar Slides June 2024 Donovan Wright.pptx
CapitolTechU
 
Opportunity scholarships and the schools that receive them
Opportunity scholarships and the schools that receive themOpportunity scholarships and the schools that receive them
Opportunity scholarships and the schools that receive them
EducationNC
 
A Quiz on Drug Abuse Awareness by Quizzito
A Quiz on Drug Abuse Awareness by QuizzitoA Quiz on Drug Abuse Awareness by Quizzito
A Quiz on Drug Abuse Awareness by Quizzito
Quizzito The Quiz Society of Gargi College
 
Science-9-Lesson-1-The Bohr Model-NLC.pptx pptx
Science-9-Lesson-1-The Bohr Model-NLC.pptx pptxScience-9-Lesson-1-The Bohr Model-NLC.pptx pptx
Science-9-Lesson-1-The Bohr Model-NLC.pptx pptx
Catherine Dela Cruz
 
What are the new features in the Fleet Odoo 17
What are the new features in the Fleet Odoo 17What are the new features in the Fleet Odoo 17
What are the new features in the Fleet Odoo 17
Celine George
 
How to stay relevant as a cyber professional: Skills, trends and career paths...
How to stay relevant as a cyber professional: Skills, trends and career paths...How to stay relevant as a cyber professional: Skills, trends and career paths...
How to stay relevant as a cyber professional: Skills, trends and career paths...
Infosec
 

Recently uploaded (20)

Information and Communication Technology in Education
Information and Communication Technology in EducationInformation and Communication Technology in Education
Information and Communication Technology in Education
 
78 Microsoft-Publisher - Sirin Sultana Bora.pptx
78 Microsoft-Publisher - Sirin Sultana Bora.pptx78 Microsoft-Publisher - Sirin Sultana Bora.pptx
78 Microsoft-Publisher - Sirin Sultana Bora.pptx
 
nutrition in plants chapter 1 class 7...
nutrition in plants chapter 1 class 7...nutrition in plants chapter 1 class 7...
nutrition in plants chapter 1 class 7...
 
(T.L.E.) Agriculture: "Ornamental Plants"
(T.L.E.) Agriculture: "Ornamental Plants"(T.L.E.) Agriculture: "Ornamental Plants"
(T.L.E.) Agriculture: "Ornamental Plants"
 
Library news letter Kitengesa Uganda June 2024
Library news letter Kitengesa Uganda June 2024Library news letter Kitengesa Uganda June 2024
Library news letter Kitengesa Uganda June 2024
 
220711130088 Sumi Basak Virtual University EPC 3.pptx
220711130088 Sumi Basak Virtual University EPC 3.pptx220711130088 Sumi Basak Virtual University EPC 3.pptx
220711130088 Sumi Basak Virtual University EPC 3.pptx
 
The Science of Learning: implications for modern teaching
The Science of Learning: implications for modern teachingThe Science of Learning: implications for modern teaching
The Science of Learning: implications for modern teaching
 
Slides Peluncuran Amalan Pemakanan Sihat.pptx
Slides Peluncuran Amalan Pemakanan Sihat.pptxSlides Peluncuran Amalan Pemakanan Sihat.pptx
Slides Peluncuran Amalan Pemakanan Sihat.pptx
 
IoT (Internet of Things) introduction Notes.pdf
IoT (Internet of Things) introduction Notes.pdfIoT (Internet of Things) introduction Notes.pdf
IoT (Internet of Things) introduction Notes.pdf
 
Creation or Update of a Mandatory Field is Not Set in Odoo 17
Creation or Update of a Mandatory Field is Not Set in Odoo 17Creation or Update of a Mandatory Field is Not Set in Odoo 17
Creation or Update of a Mandatory Field is Not Set in Odoo 17
 
Interprofessional Education Platform Introduction.pdf
Interprofessional Education Platform Introduction.pdfInterprofessional Education Platform Introduction.pdf
Interprofessional Education Platform Introduction.pdf
 
Creativity for Innovation and Speechmaking
Creativity for Innovation and SpeechmakingCreativity for Innovation and Speechmaking
Creativity for Innovation and Speechmaking
 
INTRODUCTION TO HOSPITALS & AND ITS ORGANIZATION
INTRODUCTION TO HOSPITALS & AND ITS ORGANIZATION INTRODUCTION TO HOSPITALS & AND ITS ORGANIZATION
INTRODUCTION TO HOSPITALS & AND ITS ORGANIZATION
 
Creating Images and Videos through AI.pptx
Creating Images and Videos through AI.pptxCreating Images and Videos through AI.pptx
Creating Images and Videos through AI.pptx
 
CapTechTalks Webinar Slides June 2024 Donovan Wright.pptx
CapTechTalks Webinar Slides June 2024 Donovan Wright.pptxCapTechTalks Webinar Slides June 2024 Donovan Wright.pptx
CapTechTalks Webinar Slides June 2024 Donovan Wright.pptx
 
Opportunity scholarships and the schools that receive them
Opportunity scholarships and the schools that receive themOpportunity scholarships and the schools that receive them
Opportunity scholarships and the schools that receive them
 
A Quiz on Drug Abuse Awareness by Quizzito
A Quiz on Drug Abuse Awareness by QuizzitoA Quiz on Drug Abuse Awareness by Quizzito
A Quiz on Drug Abuse Awareness by Quizzito
 
Science-9-Lesson-1-The Bohr Model-NLC.pptx pptx
Science-9-Lesson-1-The Bohr Model-NLC.pptx pptxScience-9-Lesson-1-The Bohr Model-NLC.pptx pptx
Science-9-Lesson-1-The Bohr Model-NLC.pptx pptx
 
What are the new features in the Fleet Odoo 17
What are the new features in the Fleet Odoo 17What are the new features in the Fleet Odoo 17
What are the new features in the Fleet Odoo 17
 
How to stay relevant as a cyber professional: Skills, trends and career paths...
How to stay relevant as a cyber professional: Skills, trends and career paths...How to stay relevant as a cyber professional: Skills, trends and career paths...
How to stay relevant as a cyber professional: Skills, trends and career paths...
 

Object oriented testing

  • 1. Group # 8 Represented By: Haris Jamil Discipline: Information Technology 5th Semester
  • 2. Review OOA and OOD models Class testing after code is written Integration testing within subsystems Validation testing based on OOA use- cases
  • 3.  OO-Testing.  Requirement Testing  Analysis and Design Testing  Code Testing  User Testing  Integration Tests  System Tests  Testing Methods
  • 4.  Object-Oriented Testing is a collection of testing techniques to verify and validate object-oriented software.  Testing takes place  To complete the OOT cycle mention below testing are required.  Requirement Testing  Analysis and Design Testing  Code Testing  Integration Tests  System Tests  User Testing  It’s used to discuss test plans and execution for projects. Analysis Design Code TestRequire ment
  • 6. Requirement Testing Analysis testing Design Testing Code testing Integration Testing Unit Testing User Testing System Testing
  • 7. Requirements based Testing : Requirements-based testing is a testing approach in which test cases, conditions and data are derived from requirements. It includes functional tests and also non-functional attributes such as performance, reliability or usability. Requirements Testing process:  Testing must be carried out in a timely manner.  Testing process should add value to the software life cycle, hence it needs to be effective.  Requirement testing process needs to be efficient as well.  Testing must provide the overall status of the project, hence it should be manageable.
  • 8. Stages in Requirements based Testing:  Defining Test Completion Criteria - Testing is completed only when all the functional and non-functional testing is complete.  Design Test Cases - A Test case has five parameters namely the initial state or precondition, data setup, the inputs, expected outcomes and actual outcomes.  Execute Tests - Execute the test cases against the system under test and document the results.  Verify Test Results - Verify if the expected and actual results match each other.  Verify Test Coverage - Verify if the tests cover both functional and non-functional aspects of the requirement.  Track and Manage Defects - Any defects detected during the testing process goes through the defect life cycle and are tracked to resolution. Defect Statistics are maintained which will give us the overall status of the project.
  • 9. Analysis Testing : Analysis testing is the process of looking at something that can be used to derive information. In analysis we collect information that is needed in order to start the test, In it we make documentation on requirements, design specifications, product risk analysis, architecture and interfaces. Analysis testing is used to understand what the system should do once built. Sometimes analysis testing can be based on user’s experienced knowledge about system or software which may not be documented.
  • 10. Design Testing : By design testing we create a plan how to implement an idea and technique. So, Design Testing creating a set of inputs for the given software that will provide a set of expected outputs. They are two main Design Testing Techniques :  Static Techniques  Dynamic Techniques
  • 11. Static & Dynamic Testing Techniques
  • 12. •Static testing is the testing of the software work products manually, or with a set of tools, but they are not executed. •It starts early in the Life cycle and so it is done during the verification process. •It does not need computer as the testing of program is done without executing the program. For example: reviewing, walk through, inspection, etc. •Most static testing techniques can be used to ‘test’ any form of document including source code, design documents and models, functional specifications and requirement specifications. •Dynamic testing technique needs computer for testing. •It is done during Validation process. •The software is tested by executing it on computer. •Example of this Dynamic Testing Technique: Unit testing, integration testing, system testing.
  • 13. Code-Based Testing: Code-based testing corresponds to the testing that is carried out on code development, code inspection, unit testing in software development process. The Code-based testing consists of following testing:  Dynamic Testing - Statement coverage, Branch coverage, Path coverage.  Checking for Complexity of Code using techniques like Cyclomatic Complexity.  Static Testing - Code Inspection, Code Walkthrough, Code Review, Code Audit.
  • 14.
  • 15. Unit testing, a testing technique in which individual modules or units of source code are tested by the developer to find out the issues and to make sure that code meets its design and requirements and behaves as expected. Unit Testing - Advantages:  Reduces Defects in the Newly developed features or reduces bugs when changing the existing functionality.  Reduces Cost of Testing as defects are captured in very early phase.  Improves design and allows better refactoring of code.  Unit Tests, when integrated gives the quality.
  • 16.
  • 17. Unit Testing Techniques: Black Box Testing White Box Testing Gray Box Testing
  • 18. The software testing phase in which individual software modules are combined and tested as a group. It occurs after unit testing and before validation testing. Purpose of Integration Testing : The purpose of integration testing is to verify the functional, performance, and reliability between the modules that are integrated. Integration Strategies:  Big-Bang Integration  Top Down Integration  Bottom Up Integration  Hybrid Integration
  • 19. The process of performing a variety of test on a system to explore functionality or to identify problems. Client test the system to find out the bugs in system/software. For example : A tester may put a wrong input in a field that basically designed to only accept states of USA , for just check how the system will respond to the incorrect input. Purposes of System Testing : • System testing is most often the final test to verify that the system to be delivered meets the specification and its purpose. • System testing is carried out by specialists testers or independent testers. • System testing should investigate both functional and non-functional requirements of the testing.
  • 20. (UAT) is the last phase of the software testing process. It’s a testing methodology, clients/end users involved in testing the product to check or validate the software against their requirements. It is performed at client location at developer's site.
  • 22. Scenario Base testing :-  Scenario testing is a software testing technique by which we test the software activity that uses scenarios.  If the scenario runs from start to finish, then it passes.  Scenario is just a story which explains the usage of the software by any end user. e.g.  Name must be in capital letters  Length of letters is 20 charaters  CNIC have 13 numbers with special letter of (-)  Now user must log in by accepting its data
  翻译: