SlideShare a Scribd company logo
Represented By : Zain Raza, Haris Jameel &
Ateeq Butt.
Discipline : Information Technology .
5th Semester.
Group # 8.
 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.
There are two main Design Testing Techniques :
 Static Testing.
 Dynamic Testing.
Static & Dynamic Testing Techniques
•It does not need computer as
the testing of program is
done without executing the
program. For
example: reviewing the code.
•It starts early in the Life cycle
and so it is done during the
verification process.
•Most static testing techniques
can be used to test documents
like source code, design
documents and models,
functional specifications and
requirement specifications.
•Dynamic testing technique
needs computer for testing.
•It is done during Validation
process.
•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(OOT) presentation slides
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 with build gives the quality of the
build as well.
Object Oriented Testing(OOT) presentation slides
Unit Testing Techniques:
Black Box Testing - Using in which the
user interface, input and output are tested.
White Box Testing - used to test each
functions behavior of the software.
Gray Box Testing - Used to execute tests,
risks and assessment methods.
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.
Following are the steps involved in in-house UAT:
 Planning: The UAT strategy is outlined during the planning step.
 Designing test cases: Test cases are designed to cover all the functional
scenarios of the software in real-world usage. They are designed in a simple
language and manner to make the test process easier for the testers.
 Selection of testing team: The testing team is comprised of real world end-
users.
 Executing test cases and documenting: The testing team executes the
designed test cases. Sometimes it also executes some relevant random
tests. All bugs are logged in a testing document with relevant comments.
 Bug fixing: Responding to the bugs found by the testing team, the software
development team makes final adjustments to the code to make the
software bug-free.
 Sign-off: When all bugs have been fixed, the testing team indicates
acceptance of the software application. This shows that the application
meets user requirements and is ready to be rolled out in the market.
UAT - Diagram
Fault based testing.
Scenario based testing.
Scenario Base testing :-
Scenario testing is a software testing technique by which we test the software
activity that uses scenarios. concentrate on the principal objectives and
requirements. 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.
Characteristics of Good Scenarios:-
0-Scenario testing helps testers to explore how the software will work in the hands of an
end user.
1- It's helps to test the complex system in a better way.
2- It's credible or reliable.
3- Easy to evaluate or understandable.
4- It's helps in finding lot of defects which cannot be found with other types of testing.
Scenario Testing Risks:-
1-When the product is unstable, scenario testing becomes complicated.
2-Scenario testing are not designed for test coverage.
3-Time-consuming to generate.
4-Difficult to manage.
Fault Base Testing :
• best reserved for operations and the class level
• uses the inheritance structure
• tester examines the OOA model and hypothesizes a set of plausible
• defects that may be encountered in operation calls and message
connections and
• builds appropriate test cases
• misses incorrect specification and errors in subsystem interactions
State-Based Testing :-
A program moves from state to state. In a given state,
some inputs are valid, and others are ignored or rejected.
In response to a valid input, the program under test does something
that it can do and does not attempt something that it cannot do.
In state-based testing, we walk the program through a large set of state
transitions
and check the results carefully, every time.

More Related Content

What's hot (20)

PPTX
Multithreading and concurrency in android
Rakesh Jha
 
PPT
android layouts
Deepa Rani
 
PDF
Functional Testing Tutorial | Edureka
Edureka!
 
PDF
Istqb ctfl-series - Black Box Testing
Disha Srivastava
 
PDF
Types of software testing
Prachi Sasankar
 
PPTX
Decision Table Based Testing
Himani Solanki
 
PPTX
White box testing
Neethu Tressa
 
PPTX
Interactive debugging system
Florence priyadarshini
 
PPT
14. Query Optimization in DBMS
koolkampus
 
PPTX
Ch 04 asp.net application
Madhuri Kavade
 
PDF
Jetpack Compose a new way to implement UI on Android
Nelson Glauber Leal
 
PPTX
Java- Nested Classes
Prabhdeep Singh
 
PPTX
STLC
Karuna Thakur
 
PPTX
Automation Testing & TDD
Nhật Nguyễn Khắc
 
PDF
500 istqb-sample-papers-2010-2011
Helen Nguyễn
 
PPT
Most Asked Java Interview Question and Answer
TOPS Technologies
 
PPTX
Bug Tracking System
Kishan Acharya
 
PPTX
Validation testing
Slideshare
 
PDF
VB.Net-Controls and events
Prachi Sasankar
 
Multithreading and concurrency in android
Rakesh Jha
 
android layouts
Deepa Rani
 
Functional Testing Tutorial | Edureka
Edureka!
 
Istqb ctfl-series - Black Box Testing
Disha Srivastava
 
Types of software testing
Prachi Sasankar
 
Decision Table Based Testing
Himani Solanki
 
White box testing
Neethu Tressa
 
Interactive debugging system
Florence priyadarshini
 
14. Query Optimization in DBMS
koolkampus
 
Ch 04 asp.net application
Madhuri Kavade
 
Jetpack Compose a new way to implement UI on Android
Nelson Glauber Leal
 
Java- Nested Classes
Prabhdeep Singh
 
Automation Testing & TDD
Nhật Nguyễn Khắc
 
500 istqb-sample-papers-2010-2011
Helen Nguyễn
 
Most Asked Java Interview Question and Answer
TOPS Technologies
 
Bug Tracking System
Kishan Acharya
 
Validation testing
Slideshare
 
VB.Net-Controls and events
Prachi Sasankar
 

Similar to Object Oriented Testing(OOT) presentation slides (20)

PDF
Objectorientedtesting 160320132146
vidhyyav
 
PPTX
Software Testing Strategies ,Validation Testing and System Testing.
Tanzeem Aslam
 
PPTX
Software testing basic
Rohit Singh
 
PPTX
Fundamentals of software part 1
Siddharth Sharma
 
PPTX
UNIT DEVELOPMENT AND TESTING IN AUTOMOTIVE AREA
Marius Crisan
 
PPT
Manual testing concepts course 1
Raghu Kiran
 
PPTX
Sftwre engg.testng
kanika20071990
 
PPTX
Software testing ppt
Heritage Institute Of Tech,India
 
PDF
Testing Interview Questions.pdf
PradeepaKannan6
 
PDF
Software testing methods, levels and types
Confiz
 
PDF
Best online software testing Institution
qatraininghub1
 
PPTX
SDET UNIT 2.pptx
Dr. Pallawi Bulakh
 
PPTX
Software Engg - Wk 11 - Lec 12 - Software_Testing Part-1.pptx
241579
 
PPTX
Testing strategies part -1
Divya Tiwari
 
PPTX
Computer science lecture for Software Engineering
proficienttechnologi
 
PDF
Quality assurance tests
amitzore
 
PDF
The Role of System Testing in the Software Development Life Cycle (SDLC)
khushnuma khan
 
PPTX
Testing level
zahid7578
 
Objectorientedtesting 160320132146
vidhyyav
 
Software Testing Strategies ,Validation Testing and System Testing.
Tanzeem Aslam
 
Software testing basic
Rohit Singh
 
Fundamentals of software part 1
Siddharth Sharma
 
UNIT DEVELOPMENT AND TESTING IN AUTOMOTIVE AREA
Marius Crisan
 
Manual testing concepts course 1
Raghu Kiran
 
Sftwre engg.testng
kanika20071990
 
Software testing ppt
Heritage Institute Of Tech,India
 
Testing Interview Questions.pdf
PradeepaKannan6
 
Software testing methods, levels and types
Confiz
 
Best online software testing Institution
qatraininghub1
 
SDET UNIT 2.pptx
Dr. Pallawi Bulakh
 
Software Engg - Wk 11 - Lec 12 - Software_Testing Part-1.pptx
241579
 
Testing strategies part -1
Divya Tiwari
 
Computer science lecture for Software Engineering
proficienttechnologi
 
Quality assurance tests
amitzore
 
The Role of System Testing in the Software Development Life Cycle (SDLC)
khushnuma khan
 
Testing level
zahid7578
 
Ad

Recently uploaded (20)

DOCX
DLL english grade five goof for one week
FlordelynGonzales1
 
PDF
Rapid Mathematics Assessment Score sheet for all Grade levels
DessaCletSantos
 
PPTX
Photo chemistry Power Point Presentation
mprpgcwa2024
 
PPTX
How to Setup Automatic Reordering Rule in Odoo 18 Inventory
Celine George
 
PPTX
How to Add New Item in CogMenu in Odoo 18
Celine George
 
PPTX
JSON, XML and Data Science introduction.pptx
Ramakrishna Reddy Bijjam
 
DOCX
MUSIC AND ARTS 5 DLL MATATAG LESSON EXEMPLAR QUARTER 1_Q1_W1.docx
DianaValiente5
 
PPTX
How to Configure Refusal of Applicants in Odoo 18 Recruitment
Celine George
 
PPTX
Urban Hierarchy and Service Provisions.pptx
Islamic University of Bangladesh
 
PDF
VCE Literature Section A Exam Response Guide
jpinnuck
 
PPT
M&A5 Q1 1 differentiate evolving early Philippine conventional and contempora...
ErlizaRosete
 
DOCX
ANNOTATION on objective 10 on pmes 2022-2025
joviejanesegundo1
 
PPTX
How to use grouped() method in Odoo 18 - Odoo Slides
Celine George
 
PPT
M&A5 Q1 1 differentiate evolving early Philippine conventional and contempora...
ErlizaRosete
 
PPTX
2025 Completing the Pre-SET Plan Form.pptx
mansk2
 
PPTX
SYMPATHOMIMETICS[ADRENERGIC AGONISTS] pptx
saip95568
 
PPTX
ESP 10 Edukasyon sa Pagpapakatao PowerPoint Lessons Quarter 1.pptx
Sir J.
 
PDF
Andreas Schleicher_Teaching Compass_Education 2040.pdf
EduSkills OECD
 
PPTX
Tanja Vujicic - PISA for Schools contact Info
EduSkills OECD
 
PPTX
Martyrs of Ireland - who kept the faith of St. Patrick.pptx
Martin M Flynn
 
DLL english grade five goof for one week
FlordelynGonzales1
 
Rapid Mathematics Assessment Score sheet for all Grade levels
DessaCletSantos
 
Photo chemistry Power Point Presentation
mprpgcwa2024
 
How to Setup Automatic Reordering Rule in Odoo 18 Inventory
Celine George
 
How to Add New Item in CogMenu in Odoo 18
Celine George
 
JSON, XML and Data Science introduction.pptx
Ramakrishna Reddy Bijjam
 
MUSIC AND ARTS 5 DLL MATATAG LESSON EXEMPLAR QUARTER 1_Q1_W1.docx
DianaValiente5
 
How to Configure Refusal of Applicants in Odoo 18 Recruitment
Celine George
 
Urban Hierarchy and Service Provisions.pptx
Islamic University of Bangladesh
 
VCE Literature Section A Exam Response Guide
jpinnuck
 
M&A5 Q1 1 differentiate evolving early Philippine conventional and contempora...
ErlizaRosete
 
ANNOTATION on objective 10 on pmes 2022-2025
joviejanesegundo1
 
How to use grouped() method in Odoo 18 - Odoo Slides
Celine George
 
M&A5 Q1 1 differentiate evolving early Philippine conventional and contempora...
ErlizaRosete
 
2025 Completing the Pre-SET Plan Form.pptx
mansk2
 
SYMPATHOMIMETICS[ADRENERGIC AGONISTS] pptx
saip95568
 
ESP 10 Edukasyon sa Pagpapakatao PowerPoint Lessons Quarter 1.pptx
Sir J.
 
Andreas Schleicher_Teaching Compass_Education 2040.pdf
EduSkills OECD
 
Tanja Vujicic - PISA for Schools contact Info
EduSkills OECD
 
Martyrs of Ireland - who kept the faith of St. Patrick.pptx
Martin M Flynn
 
Ad

Object Oriented Testing(OOT) presentation slides

  • 1. Represented By : Zain Raza, Haris Jameel & Ateeq Butt. Discipline : Information Technology . 5th Semester. Group # 8.
  • 2.  OO-Testing.  Requirement Testing  Analysis and Design Testing  Code Testing  User Testing  Integration Tests  System Tests  Testing Methods
  • 3.  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
  • 5. Requirement Testing Analysis Testing Design Testing Code testing Integration Testing Unit Testing User Testing System Testing
  • 6. 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.
  • 7. 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.
  • 8. 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.
  • 9. 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. There are two main Design Testing Techniques :  Static Testing.  Dynamic Testing.
  • 10. Static & Dynamic Testing Techniques
  • 11. •It does not need computer as the testing of program is done without executing the program. For example: reviewing the code. •It starts early in the Life cycle and so it is done during the verification process. •Most static testing techniques can be used to test documents like source code, design documents and models, functional specifications and requirement specifications. •Dynamic testing technique needs computer for testing. •It is done during Validation process. •Example of this Dynamic Testing Technique: Unit testing, integration testing, system testing.
  • 12.
  • 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 with build gives the quality of the build as well.
  • 17. Unit Testing Techniques: Black Box Testing - Using in which the user interface, input and output are tested. White Box Testing - used to test each functions behavior of the software. Gray Box Testing - Used to execute tests, risks and assessment methods.
  • 18. 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.
  • 21. Following are the steps involved in in-house UAT:  Planning: The UAT strategy is outlined during the planning step.  Designing test cases: Test cases are designed to cover all the functional scenarios of the software in real-world usage. They are designed in a simple language and manner to make the test process easier for the testers.  Selection of testing team: The testing team is comprised of real world end- users.  Executing test cases and documenting: The testing team executes the designed test cases. Sometimes it also executes some relevant random tests. All bugs are logged in a testing document with relevant comments.  Bug fixing: Responding to the bugs found by the testing team, the software development team makes final adjustments to the code to make the software bug-free.  Sign-off: When all bugs have been fixed, the testing team indicates acceptance of the software application. This shows that the application meets user requirements and is ready to be rolled out in the market.
  • 24. Scenario Base testing :- Scenario testing is a software testing technique by which we test the software activity that uses scenarios. concentrate on the principal objectives and requirements. 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. Characteristics of Good Scenarios:- 0-Scenario testing helps testers to explore how the software will work in the hands of an end user. 1- It's helps to test the complex system in a better way. 2- It's credible or reliable. 3- Easy to evaluate or understandable. 4- It's helps in finding lot of defects which cannot be found with other types of testing. Scenario Testing Risks:- 1-When the product is unstable, scenario testing becomes complicated. 2-Scenario testing are not designed for test coverage. 3-Time-consuming to generate. 4-Difficult to manage.
  • 25. Fault Base Testing : • best reserved for operations and the class level • uses the inheritance structure • tester examines the OOA model and hypothesizes a set of plausible • defects that may be encountered in operation calls and message connections and • builds appropriate test cases • misses incorrect specification and errors in subsystem interactions State-Based Testing :- A program moves from state to state. In a given state, some inputs are valid, and others are ignored or rejected. In response to a valid input, the program under test does something that it can do and does not attempt something that it cannot do. In state-based testing, we walk the program through a large set of state transitions and check the results carefully, every time.