SlideShare a Scribd company logo
1 of 23
Download to read offline
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 Test
Require
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

What's hot (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 and types of Testing
Testing and types of TestingTesting and types of Testing
Testing and types of Testing
 
SoftwareTesting
SoftwareTestingSoftwareTesting
SoftwareTesting
 
Software testing
Software testingSoftware testing
Software testing
 
Test case design
Test case designTest case design
Test case design
 
Software Testing Strategies, Method and Life Cycle
Software Testing Strategies, Method and Life CycleSoftware Testing Strategies, Method and Life Cycle
Software Testing Strategies, Method and Life Cycle
 
Software Testing Techniques: An Overview
Software Testing Techniques: An Overview Software Testing Techniques: An Overview
Software Testing Techniques: An Overview
 
Testing
TestingTesting
Testing
 
Fundamentals of software testing
Fundamentals of software testingFundamentals of software testing
Fundamentals of software testing
 
Testing methodology
Testing methodologyTesting methodology
Testing methodology
 
Verification and Validation with Innoslate
Verification and Validation with InnoslateVerification and Validation with Innoslate
Verification and Validation with Innoslate
 
software testing methodologies
software testing methodologiessoftware testing methodologies
software testing methodologies
 
System testing
System testingSystem testing
System testing
 
Software testing basic
Software testing basicSoftware testing basic
Software testing basic
 
Software testing
Software testingSoftware testing
Software testing
 
Software quality and testing (func. & non func.)
Software quality and testing (func. & non   func.)Software quality and testing (func. & non   func.)
Software quality and testing (func. & non func.)
 
Learn Basic Of Software testing
Learn Basic Of Software testingLearn Basic Of Software testing
Learn Basic Of Software testing
 
STLC– software testing life cycle
STLC– software testing life cycleSTLC– software testing life cycle
STLC– software testing life cycle
 
ISTQB - What's testing
ISTQB - What's testingISTQB - What's testing
ISTQB - What's testing
 
Learn Bug Reporting Techniques
Learn Bug Reporting TechniquesLearn Bug Reporting Techniques
Learn Bug Reporting Techniques
 

Similar to Objectorientedtesting 160320132146

Testing in Software Engineering.docx
Testing in Software Engineering.docxTesting in Software Engineering.docx
Testing in Software Engineering.docx
8759000398
 
Manual testing concepts course 1
Manual testing concepts course 1Manual testing concepts course 1
Manual testing concepts course 1
Raghu Kiran
 
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 Objectorientedtesting 160320132146 (20)

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
 
testing.pptx
testing.pptxtesting.pptx
testing.pptx
 
Software_Testing_ppt.pptx
Software_Testing_ppt.pptxSoftware_Testing_ppt.pptx
Software_Testing_ppt.pptx
 
Software testing
Software testingSoftware testing
Software testing
 
Mca se chapter_07_software_validation
Mca se chapter_07_software_validationMca se chapter_07_software_validation
Mca se chapter_07_software_validation
 
Solution Evaluation (BA Role)
Solution Evaluation (BA Role)   Solution Evaluation (BA Role)
Solution Evaluation (BA Role)
 
Software-Testing-ppt.pptx
Software-Testing-ppt.pptxSoftware-Testing-ppt.pptx
Software-Testing-ppt.pptx
 
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
 
Validation & verification software engineering
Validation & verification software engineeringValidation & verification software engineering
Validation & verification software engineering
 
Testing
TestingTesting
Testing
 
Software Quality Assurance
Software Quality AssuranceSoftware Quality Assurance
Software Quality Assurance
 
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
 
Software Testing or Quality Assurance
Software Testing or Quality AssuranceSoftware Testing or Quality Assurance
Software Testing or Quality Assurance
 
Software testing career
Software testing careerSoftware testing career
Software testing career
 

Recently uploaded

Call Girls in Uttam Nagar (delhi) call me [🔝9953056974🔝] escort service 24X7
Call Girls in  Uttam Nagar (delhi) call me [🔝9953056974🔝] escort service 24X7Call Girls in  Uttam Nagar (delhi) call me [🔝9953056974🔝] escort service 24X7
Call Girls in Uttam Nagar (delhi) call me [🔝9953056974🔝] escort service 24X7
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 

Recently uploaded (20)

Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and Modifications
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17
 
OSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & SystemsOSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & Systems
 
Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)
 
Philosophy of china and it's charactistics
Philosophy of china and it's charactisticsPhilosophy of china and it's charactistics
Philosophy of china and it's charactistics
 
Call Girls in Uttam Nagar (delhi) call me [🔝9953056974🔝] escort service 24X7
Call Girls in  Uttam Nagar (delhi) call me [🔝9953056974🔝] escort service 24X7Call Girls in  Uttam Nagar (delhi) call me [🔝9953056974🔝] escort service 24X7
Call Girls in Uttam Nagar (delhi) call me [🔝9953056974🔝] escort service 24X7
 
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxHMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - English
 
FICTIONAL SALESMAN/SALESMAN SNSW 2024.pdf
FICTIONAL SALESMAN/SALESMAN SNSW 2024.pdfFICTIONAL SALESMAN/SALESMAN SNSW 2024.pdf
FICTIONAL SALESMAN/SALESMAN SNSW 2024.pdf
 
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptx
 
How to Manage Call for Tendor in Odoo 17
How to Manage Call for Tendor in Odoo 17How to Manage Call for Tendor in Odoo 17
How to Manage Call for Tendor in Odoo 17
 
Interdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptxInterdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptx
 
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
 
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfUnit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptxExploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
 

Objectorientedtesting 160320132146

  • 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 Test Require 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