SlideShare a Scribd company logo
2
Most read
4
Most read
12
Most read
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.
Object oriented testing
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.
Object oriented testing
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

PPT
Test Levels & Techniques
PPTX
Software testing ppt
PPTX
Software Testing and Quality Assurance unit1
PPT
Software coding and testing
PPTX
Unit 1 OOSE
PPTX
Object Oriented Testing
PPTX
Integration testing
PPT
Advanced topics in software engineering
Test Levels & Techniques
Software testing ppt
Software Testing and Quality Assurance unit1
Software coding and testing
Unit 1 OOSE
Object Oriented Testing
Integration testing
Advanced topics in software engineering

What's hot (20)

PPT
Black box & white-box testing technique
PDF
Black Box Testing
PDF
Software engineering lecture notes
PPTX
System testing
PPTX
Software testing life cycle
PDF
Software testing methods, levels and types
PPT
Software Metrics
PPTX
Software Engineering Unit 1
PDF
Software Engineering : Requirement Analysis & Specification
PDF
Software Process Models
DOCX
Notes of Software engineering and Project Management
PPTX
Checkpoints of the Process
PPTX
Software Engineering Layered Technology Software Process Framework
PPT
Chapter 13 software testing strategies
PPTX
Overview of UML Diagrams
PPTX
Software quality assurance
PPTX
White box testing
PPTX
Software Quality Attributes
PPT
Path testing, data flow testing
PDF
Types of software testing
Black box & white-box testing technique
Black Box Testing
Software engineering lecture notes
System testing
Software testing life cycle
Software testing methods, levels and types
Software Metrics
Software Engineering Unit 1
Software Engineering : Requirement Analysis & Specification
Software Process Models
Notes of Software engineering and Project Management
Checkpoints of the Process
Software Engineering Layered Technology Software Process Framework
Chapter 13 software testing strategies
Overview of UML Diagrams
Software quality assurance
White box testing
Software Quality Attributes
Path testing, data flow testing
Types of software testing
Ad

Similar to Object oriented testing (20)

PPTX
Object Oriented Testing(OOT) presentation slides
PPT
Manual testing concepts course 1
PPTX
Software Testing Strategies ,Validation Testing and System Testing.
PDF
Testing Interview Questions.pdf
PPTX
SDET UNIT 2.pptx
PPTX
Sftwre engg.testng
PPTX
Fundamentals of software part 1
PPTX
Software Testing Ni Boni
PPTX
Software testing ppt
PDF
manualtesting-170218090020 (1).pdf
PPTX
Software Testing Strategies
PPTX
Software testing basic
PDF
Manual Testing software testing all slide
PPTX
CTFL Module 02
PPSX
Introduction to software testing
PPTX
Software testing a guide from experience
PDF
Quality assurance tests
PPTX
Testing Concepts and Manual Testing
PPTX
Testing Concepts and Manual Testing
Object Oriented Testing(OOT) presentation slides
Manual testing concepts course 1
Software Testing Strategies ,Validation Testing and System Testing.
Testing Interview Questions.pdf
SDET UNIT 2.pptx
Sftwre engg.testng
Fundamentals of software part 1
Software Testing Ni Boni
Software testing ppt
manualtesting-170218090020 (1).pdf
Software Testing Strategies
Software testing basic
Manual Testing software testing all slide
CTFL Module 02
Introduction to software testing
Software testing a guide from experience
Quality assurance tests
Testing Concepts and Manual Testing
Testing Concepts and Manual Testing
Ad

Recently uploaded (20)

PDF
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
PPTX
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
PDF
RMMM.pdf make it easy to upload and study
PDF
Abdominal Access Techniques with Prof. Dr. R K Mishra
PDF
Complications of Minimal Access Surgery at WLH
PDF
01-Introduction-to-Information-Management.pdf
PDF
Module 4: Burden of Disease Tutorial Slides S2 2025
PDF
Classroom Observation Tools for Teachers
PPTX
Pharma ospi slides which help in ospi learning
PDF
Computing-Curriculum for Schools in Ghana
PDF
Insiders guide to clinical Medicine.pdf
PPTX
Pharmacology of Heart Failure /Pharmacotherapy of CHF
PDF
Sports Quiz easy sports quiz sports quiz
PPTX
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
PPTX
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
PPTX
Cell Types and Its function , kingdom of life
PPTX
Lesson notes of climatology university.
PDF
O5-L3 Freight Transport Ops (International) V1.pdf
PDF
Pre independence Education in Inndia.pdf
PPTX
human mycosis Human fungal infections are called human mycosis..pptx
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
RMMM.pdf make it easy to upload and study
Abdominal Access Techniques with Prof. Dr. R K Mishra
Complications of Minimal Access Surgery at WLH
01-Introduction-to-Information-Management.pdf
Module 4: Burden of Disease Tutorial Slides S2 2025
Classroom Observation Tools for Teachers
Pharma ospi slides which help in ospi learning
Computing-Curriculum for Schools in Ghana
Insiders guide to clinical Medicine.pdf
Pharmacology of Heart Failure /Pharmacotherapy of CHF
Sports Quiz easy sports quiz sports quiz
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
Cell Types and Its function , kingdom of life
Lesson notes of climatology university.
O5-L3 Freight Transport Ops (International) V1.pdf
Pre independence Education in Inndia.pdf
human mycosis Human fungal infections are called human mycosis..pptx

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.
  • 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.
  • 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