SlideShare uma empresa Scribd logo
1 de 23
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????

Mais conteúdo relacionado

Mais procurados

Uml in software engineering
Uml in software engineeringUml in software engineering
Uml in software engineeringMubashir Jutt
 
Object oriented methodologies
Object oriented methodologiesObject oriented methodologies
Object oriented methodologiesnaina-rani
 
Object oriented-systems-development-life-cycle ppt
Object oriented-systems-development-life-cycle pptObject oriented-systems-development-life-cycle ppt
Object oriented-systems-development-life-cycle pptKunal Kishor Nirala
 
Overview of UML Diagrams
Overview of UML DiagramsOverview of UML Diagrams
Overview of UML DiagramsManish Kumar
 
Design Concept software engineering
Design Concept software engineeringDesign Concept software engineering
Design Concept software engineeringDarshit Metaliya
 
Object Oriented Design in Software Engineering SE12
Object Oriented Design in Software Engineering SE12Object Oriented Design in Software Engineering SE12
Object Oriented Design in Software Engineering SE12koolkampus
 
Software testing & Quality Assurance
Software testing & Quality Assurance Software testing & Quality Assurance
Software testing & Quality Assurance Webtech Learning
 
Unit 4 designing classes
Unit 4  designing classesUnit 4  designing classes
Unit 4 designing classesgopal10scs185
 
Principles of Software testing
Principles of Software testingPrinciples of Software testing
Principles of Software testingMd Mamunur Rashid
 
Algorithm and pseudocode conventions
Algorithm and pseudocode conventionsAlgorithm and pseudocode conventions
Algorithm and pseudocode conventionssaranyatdr
 
Seven step model of migration into the cloud
Seven step model of migration into the cloudSeven step model of migration into the cloud
Seven step model of migration into the cloudRaj Raj
 
Importance & Principles of Modeling from UML Designing
Importance & Principles of Modeling from UML DesigningImportance & Principles of Modeling from UML Designing
Importance & Principles of Modeling from UML DesigningABHISHEK KUMAR
 
Control Flow Testing
Control Flow TestingControl Flow Testing
Control Flow TestingHirra Sultan
 
Research issues in object oriented software testing
Research issues in object oriented software testingResearch issues in object oriented software testing
Research issues in object oriented software testingAnshul Vinayak
 
Coupling and cohesion
Coupling and cohesionCoupling and cohesion
Coupling and cohesionSutha31
 

Mais procurados (20)

Uml in software engineering
Uml in software engineeringUml in software engineering
Uml in software engineering
 
Object oriented methodologies
Object oriented methodologiesObject oriented methodologies
Object oriented methodologies
 
Object oriented-systems-development-life-cycle ppt
Object oriented-systems-development-life-cycle pptObject oriented-systems-development-life-cycle ppt
Object oriented-systems-development-life-cycle ppt
 
Staffing level estimation
Staffing level estimation Staffing level estimation
Staffing level estimation
 
Overview of UML Diagrams
Overview of UML DiagramsOverview of UML Diagrams
Overview of UML Diagrams
 
Design Concept software engineering
Design Concept software engineeringDesign Concept software engineering
Design Concept software engineering
 
Object Oriented Design in Software Engineering SE12
Object Oriented Design in Software Engineering SE12Object Oriented Design in Software Engineering SE12
Object Oriented Design in Software Engineering SE12
 
Software Metrics
Software MetricsSoftware Metrics
Software Metrics
 
Testing web application
Testing web applicationTesting web application
Testing web application
 
Software testing & Quality Assurance
Software testing & Quality Assurance Software testing & Quality Assurance
Software testing & Quality Assurance
 
Unit 4 designing classes
Unit 4  designing classesUnit 4  designing classes
Unit 4 designing classes
 
Principles of Software testing
Principles of Software testingPrinciples of Software testing
Principles of Software testing
 
Type Checking(Compiler Design) #ShareThisIfYouLike
Type Checking(Compiler Design) #ShareThisIfYouLikeType Checking(Compiler Design) #ShareThisIfYouLike
Type Checking(Compiler Design) #ShareThisIfYouLike
 
Algorithm and pseudocode conventions
Algorithm and pseudocode conventionsAlgorithm and pseudocode conventions
Algorithm and pseudocode conventions
 
Seven step model of migration into the cloud
Seven step model of migration into the cloudSeven step model of migration into the cloud
Seven step model of migration into the cloud
 
Ooad unit – 1 introduction
Ooad unit – 1 introductionOoad unit – 1 introduction
Ooad unit – 1 introduction
 
Importance & Principles of Modeling from UML Designing
Importance & Principles of Modeling from UML DesigningImportance & Principles of Modeling from UML Designing
Importance & Principles of Modeling from UML Designing
 
Control Flow Testing
Control Flow TestingControl Flow Testing
Control Flow Testing
 
Research issues in object oriented software testing
Research issues in object oriented software testingResearch issues in object oriented software testing
Research issues in object oriented software testing
 
Coupling and cohesion
Coupling and cohesionCoupling and cohesion
Coupling and cohesion
 

Semelhante a 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 slidesPunjab University
 
Testing in Software Engineering.docx
Testing in Software Engineering.docxTesting in Software Engineering.docx
Testing in Software Engineering.docx8759000398
 
Manual testing concepts course 1
Manual testing concepts course 1Manual testing concepts course 1
Manual testing concepts course 1Raghu Kiran
 
Software testing
Software testingSoftware testing
Software testingRavi Dasari
 
Mca se chapter_07_software_validation
Mca se chapter_07_software_validationMca se chapter_07_software_validation
Mca se chapter_07_software_validationAman Adhikari
 
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 engineeringSweta Kumari Barnwal
 
Role of BA in Testing
Role of BA in TestingRole of BA in Testing
Role of BA in TestingShwetha-BA
 
Role of BA in Testing
Role of BA in TestingRole of BA in Testing
Role of BA in TestingLakshmi-BA
 
Role of BA in Testing
Role of BA in TestingRole of BA in Testing
Role of BA in TestingSwatiS-BA
 
Role of BA in Testing
Role of BA in TestingRole of BA in Testing
Role of BA in TestingVeneet-BA
 
Software Quality Assurance
Software Quality AssuranceSoftware Quality Assurance
Software Quality AssuranceSaqib Raza
 
Software testing basic
Software testing basicSoftware testing basic
Software testing basicRohit Singh
 
Structured system analysis and design
Structured system analysis and design Structured system analysis and design
Structured system analysis and design Jayant Dalvi
 
IT8076 – Software Testing Intro
IT8076 – Software Testing IntroIT8076 – Software Testing Intro
IT8076 – Software Testing IntroJohnSamuel280314
 

Semelhante a 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
 
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
 
IT8076 – Software Testing Intro
IT8076 – Software Testing IntroIT8076 – Software Testing Intro
IT8076 – Software Testing Intro
 
Software testing career
Software testing careerSoftware testing career
Software testing career
 

Último

Barangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptxBarangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptxCarlos105
 
Judging the Relevance and worth of ideas part 2.pptx
Judging the Relevance  and worth of ideas part 2.pptxJudging the Relevance  and worth of ideas part 2.pptx
Judging the Relevance and worth of ideas part 2.pptxSherlyMaeNeri
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxiammrhaywood
 
Choosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for ParentsChoosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for Parentsnavabharathschool99
 
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTSGRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTSJoshuaGantuangco2
 
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdfInclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdfTechSoup
 
Grade 9 Q4-MELC1-Active and Passive Voice.pptx
Grade 9 Q4-MELC1-Active and Passive Voice.pptxGrade 9 Q4-MELC1-Active and Passive Voice.pptx
Grade 9 Q4-MELC1-Active and Passive Voice.pptxChelloAnnAsuncion2
 
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...JhezDiaz1
 
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...Nguyen Thanh Tu Collection
 
How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17Celine George
 
Science 7 Quarter 4 Module 2: Natural Resources.pptx
Science 7 Quarter 4 Module 2: Natural Resources.pptxScience 7 Quarter 4 Module 2: Natural Resources.pptx
Science 7 Quarter 4 Module 2: Natural Resources.pptxMaryGraceBautista27
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTiammrhaywood
 
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxINTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxHumphrey A Beña
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxthorishapillay1
 
Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Celine George
 

Último (20)

Barangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptxBarangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptx
 
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptxFINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
 
Judging the Relevance and worth of ideas part 2.pptx
Judging the Relevance  and worth of ideas part 2.pptxJudging the Relevance  and worth of ideas part 2.pptx
Judging the Relevance and worth of ideas part 2.pptx
 
LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptxLEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
 
Choosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for ParentsChoosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for Parents
 
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTSGRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
 
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptxYOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
 
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdfInclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
 
Grade 9 Q4-MELC1-Active and Passive Voice.pptx
Grade 9 Q4-MELC1-Active and Passive Voice.pptxGrade 9 Q4-MELC1-Active and Passive Voice.pptx
Grade 9 Q4-MELC1-Active and Passive Voice.pptx
 
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
 
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
 
How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17
 
Science 7 Quarter 4 Module 2: Natural Resources.pptx
Science 7 Quarter 4 Module 2: Natural Resources.pptxScience 7 Quarter 4 Module 2: Natural Resources.pptx
Science 7 Quarter 4 Module 2: Natural Resources.pptx
 
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
 
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptxYOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
 
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxINTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptx
 
Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17
 

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