SlideShare a Scribd company logo
1 of 25
Software Testing Tecniques By Ersan BİLİK 13 Aug 2006
Why is it important ? ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Objectives ,[object Object],[object Object],[object Object],[object Object]
Principles ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Testability ,[object Object],[object Object]
Testability Key Points ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
TEST CASE DESIGN ,[object Object],[object Object],[object Object],[object Object],[object Object]
WHITE BOX TESTING ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
BASIS PATH TESTING ,[object Object],[object Object],[object Object]
Flow Graph Notation ,[object Object],[object Object],[object Object]
Cyclomatic Complexity
Cylomatic Complexity Cyclomatic complexity for addClass() Statement C# Java If…Else 0 0 Select…Case 0 0 For… 0 0 Do…While 1 1 For each… 0 0 Total Complexity 2 2 Results C# Java CC 2 2 Bad Fix Probability %5 %5 Risk Low Low Type of procedure A simple procedure A simple procedure Conclusion The CC results are stable.
Cyclomatic Complexity Cyclomatic complexity for addForm() Statement C# Java If…Else 16 18 Select…Case 0 0 For… 0 0 Do…While 0 0 For each… 0 0 Total Complexity 17 19 Results C# Java CC 17 19 Bad Fix Probability %10 %10 Risk Moderate Moderate Type of procedure A more complex procedure A more complex procedure Conclusion In C# language each event has their on method. Therefore Java uses only specific methods to the specific event. The event mechanism in java handled by if statement in the specific events methods by getting source of the objects name.
Deriving Test Cases ,[object Object],[object Object],[object Object],[object Object]
Graph Matrices ,[object Object],[object Object],[object Object],[object Object],[object Object]
Control Structure Testing ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
BLACK BOX TESTING ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Graph-Based Testing Methods ,[object Object],[object Object],[object Object],[object Object]
Equivalance Partitioning ,[object Object],[object Object],[object Object]
Boundary Value Analysis ,[object Object],[object Object],[object Object]
Comparsion Testing ,[object Object],[object Object],[object Object]
Specialized enviroments and applications ,[object Object],[object Object],[object Object],[object Object]
Common Test Findings
Conclusion ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Questions / Comments ,[object Object]

More Related Content

What's hot

What's hot (20)

Software Testing Techniques: An Overview
Software Testing Techniques: An Overview Software Testing Techniques: An Overview
Software Testing Techniques: An Overview
 
Testing techniques
Testing techniquesTesting techniques
Testing techniques
 
Black Box Testing
Black Box TestingBlack Box Testing
Black Box Testing
 
Unit testing
Unit testing Unit testing
Unit testing
 
Importance of Software testing in SDLC and Agile
Importance of Software testing in SDLC and AgileImportance of Software testing in SDLC and Agile
Importance of Software testing in SDLC and Agile
 
Black Box Testing
Black Box TestingBlack Box Testing
Black Box Testing
 
Unit testing
Unit testingUnit testing
Unit testing
 
Lesson 2....PPT 1
Lesson 2....PPT 1Lesson 2....PPT 1
Lesson 2....PPT 1
 
Software testing methods
Software testing methodsSoftware testing methods
Software testing methods
 
Unit Testing
Unit TestingUnit Testing
Unit Testing
 
Black box & white-box testing technique
Black box & white-box testing techniqueBlack box & white-box testing technique
Black box & white-box testing technique
 
White box & Black box testing
White box & Black box testingWhite box & Black box testing
White box & Black box testing
 
Top 15 Interview Questions for Manual Testers
Top 15 Interview Questions for Manual TestersTop 15 Interview Questions for Manual Testers
Top 15 Interview Questions for Manual Testers
 
An Insight into the Black Box and White Box Software Testing
An Insight into the Black Box and White Box Software Testing An Insight into the Black Box and White Box Software Testing
An Insight into the Black Box and White Box Software Testing
 
Tlc
TlcTlc
Tlc
 
Software Testing and Debugging
Software Testing and DebuggingSoftware Testing and Debugging
Software Testing and Debugging
 
Testing
TestingTesting
Testing
 
Learn Bug Reporting Techniques
Learn Bug Reporting TechniquesLearn Bug Reporting Techniques
Learn Bug Reporting Techniques
 
Structural and functional testing
Structural and functional testingStructural and functional testing
Structural and functional testing
 
Introduction to White box testing
Introduction to White box testingIntroduction to White box testing
Introduction to White box testing
 

Viewers also liked

Viewers also liked (11)

ESRA2015 course: Latent Class Analysis for Survey Research
ESRA2015 course: Latent Class Analysis for Survey ResearchESRA2015 course: Latent Class Analysis for Survey Research
ESRA2015 course: Latent Class Analysis for Survey Research
 
Reducing Complexity Of Large EPCs
Reducing Complexity Of Large EPCsReducing Complexity Of Large EPCs
Reducing Complexity Of Large EPCs
 
Business Process Model Wars
Business Process Model WarsBusiness Process Model Wars
Business Process Model Wars
 
Meronymy-based Aggregation of Activities in Business Process Models
Meronymy-based Aggregation of Activities in Business Process ModelsMeronymy-based Aggregation of Activities in Business Process Models
Meronymy-based Aggregation of Activities in Business Process Models
 
Structural Aspects Of Business Process Diagram Abstraction
Structural Aspects Of Business Process Diagram AbstractionStructural Aspects Of Business Process Diagram Abstraction
Structural Aspects Of Business Process Diagram Abstraction
 
Action Patterns in Business Process Models
Action Patterns in Business Process ModelsAction Patterns in Business Process Models
Action Patterns in Business Process Models
 
A WHITE BOX TESTING TECHNIQUE IN SOFTWARE TESTING : BASIS PATH TESTING
A WHITE BOX TESTING TECHNIQUE IN SOFTWARE TESTING : BASIS PATH TESTINGA WHITE BOX TESTING TECHNIQUE IN SOFTWARE TESTING : BASIS PATH TESTING
A WHITE BOX TESTING TECHNIQUE IN SOFTWARE TESTING : BASIS PATH TESTING
 
On Application Of Structural Decomposition For Process Model Abstraction
On Application Of Structural Decomposition For Process Model AbstractionOn Application Of Structural Decomposition For Process Model Abstraction
On Application Of Structural Decomposition For Process Model Abstraction
 
Business Process Model Abstraction Based On Behavioral Profiles
Business Process Model Abstraction Based On Behavioral ProfilesBusiness Process Model Abstraction Based On Behavioral Profiles
Business Process Model Abstraction Based On Behavioral Profiles
 
Introduction to Business Process Model and Notation (BPMN) - OSSCamp 2014
 Introduction to Business Process Model and Notation (BPMN) - OSSCamp 2014 Introduction to Business Process Model and Notation (BPMN) - OSSCamp 2014
Introduction to Business Process Model and Notation (BPMN) - OSSCamp 2014
 
BPMN 2.0 Fundamentals
BPMN 2.0 FundamentalsBPMN 2.0 Fundamentals
BPMN 2.0 Fundamentals
 

Similar to Software Testing Tecniques

Assessing Unit Test Quality
Assessing Unit Test QualityAssessing Unit Test Quality
Assessing Unit Test Quality
guest268ee8
 
software testing types jxnvlbnLCBNFVjnl/fknblb
software testing types jxnvlbnLCBNFVjnl/fknblbsoftware testing types jxnvlbnLCBNFVjnl/fknblb
software testing types jxnvlbnLCBNFVjnl/fknblb
jeyasrig
 

Similar to Software Testing Tecniques (20)

Chapter 8 Testing Tactics.ppt Software engineering
Chapter 8 Testing Tactics.ppt Software engineeringChapter 8 Testing Tactics.ppt Software engineering
Chapter 8 Testing Tactics.ppt Software engineering
 
Chapter 8 Testing Tactics.ppt
Chapter 8 Testing Tactics.pptChapter 8 Testing Tactics.ppt
Chapter 8 Testing Tactics.ppt
 
Testing
TestingTesting
Testing
 
Software testing (2)
Software testing (2)Software testing (2)
Software testing (2)
 
Testing ppt
Testing pptTesting ppt
Testing ppt
 
Testing
TestingTesting
Testing
 
Assessing Unit Test Quality
Assessing Unit Test QualityAssessing Unit Test Quality
Assessing Unit Test Quality
 
Slides chapters 13-14
Slides chapters 13-14Slides chapters 13-14
Slides chapters 13-14
 
Testing and Mocking Object - The Art of Mocking.
Testing and Mocking Object - The Art of Mocking.Testing and Mocking Object - The Art of Mocking.
Testing and Mocking Object - The Art of Mocking.
 
Blackbox
BlackboxBlackbox
Blackbox
 
Testing
Testing Testing
Testing
 
unittesting-190620114546 (1).pptx document
unittesting-190620114546 (1).pptx documentunittesting-190620114546 (1).pptx document
unittesting-190620114546 (1).pptx document
 
software testing types jxnvlbnLCBNFVjnl/fknblb
software testing types jxnvlbnLCBNFVjnl/fknblbsoftware testing types jxnvlbnLCBNFVjnl/fknblb
software testing types jxnvlbnLCBNFVjnl/fknblb
 
prova4
prova4prova4
prova4
 
provalast
provalastprovalast
provalast
 
test3
test3test3
test3
 
prova2
prova2prova2
prova2
 
testsfw2
testsfw2testsfw2
testsfw2
 
test2
test2test2
test2
 
testsfw7
testsfw7testsfw7
testsfw7
 

Recently uploaded

Hyatt driving innovation and exceptional customer experiences with FIDO passw...
Hyatt driving innovation and exceptional customer experiences with FIDO passw...Hyatt driving innovation and exceptional customer experiences with FIDO passw...
Hyatt driving innovation and exceptional customer experiences with FIDO passw...
FIDO Alliance
 
CORS (Kitworks Team Study 양다윗 발표자료 240510)
CORS (Kitworks Team Study 양다윗 발표자료 240510)CORS (Kitworks Team Study 양다윗 발표자료 240510)
CORS (Kitworks Team Study 양다윗 발표자료 240510)
Wonjun Hwang
 

Recently uploaded (20)

Human Expert Website Manual WCAG 2.0 2.1 2.2 Audit - Digital Accessibility Au...
Human Expert Website Manual WCAG 2.0 2.1 2.2 Audit - Digital Accessibility Au...Human Expert Website Manual WCAG 2.0 2.1 2.2 Audit - Digital Accessibility Au...
Human Expert Website Manual WCAG 2.0 2.1 2.2 Audit - Digital Accessibility Au...
 
JohnPollard-hybrid-app-RailsConf2024.pptx
JohnPollard-hybrid-app-RailsConf2024.pptxJohnPollard-hybrid-app-RailsConf2024.pptx
JohnPollard-hybrid-app-RailsConf2024.pptx
 
AI mind or machine power point presentation
AI mind or machine power point presentationAI mind or machine power point presentation
AI mind or machine power point presentation
 
Hyatt driving innovation and exceptional customer experiences with FIDO passw...
Hyatt driving innovation and exceptional customer experiences with FIDO passw...Hyatt driving innovation and exceptional customer experiences with FIDO passw...
Hyatt driving innovation and exceptional customer experiences with FIDO passw...
 
Portal Kombat : extension du réseau de propagande russe
Portal Kombat : extension du réseau de propagande russePortal Kombat : extension du réseau de propagande russe
Portal Kombat : extension du réseau de propagande russe
 
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontology
 
Vector Search @ sw2con for slideshare.pptx
Vector Search @ sw2con for slideshare.pptxVector Search @ sw2con for slideshare.pptx
Vector Search @ sw2con for slideshare.pptx
 
Event-Driven Architecture Masterclass: Challenges in Stream Processing
Event-Driven Architecture Masterclass: Challenges in Stream ProcessingEvent-Driven Architecture Masterclass: Challenges in Stream Processing
Event-Driven Architecture Masterclass: Challenges in Stream Processing
 
Event-Driven Architecture Masterclass: Integrating Distributed Data Stores Ac...
Event-Driven Architecture Masterclass: Integrating Distributed Data Stores Ac...Event-Driven Architecture Masterclass: Integrating Distributed Data Stores Ac...
Event-Driven Architecture Masterclass: Integrating Distributed Data Stores Ac...
 
UiPath manufacturing technology benefits and AI overview
UiPath manufacturing technology benefits and AI overviewUiPath manufacturing technology benefits and AI overview
UiPath manufacturing technology benefits and AI overview
 
AI in Action: Real World Use Cases by Anitaraj
AI in Action: Real World Use Cases by AnitarajAI in Action: Real World Use Cases by Anitaraj
AI in Action: Real World Use Cases by Anitaraj
 
Cyber Insurance - RalphGilot - Embry-Riddle Aeronautical University.pptx
Cyber Insurance - RalphGilot - Embry-Riddle Aeronautical University.pptxCyber Insurance - RalphGilot - Embry-Riddle Aeronautical University.pptx
Cyber Insurance - RalphGilot - Embry-Riddle Aeronautical University.pptx
 
Simplifying Mobile A11y Presentation.pptx
Simplifying Mobile A11y Presentation.pptxSimplifying Mobile A11y Presentation.pptx
Simplifying Mobile A11y Presentation.pptx
 
CORS (Kitworks Team Study 양다윗 발표자료 240510)
CORS (Kitworks Team Study 양다윗 발표자료 240510)CORS (Kitworks Team Study 양다윗 발표자료 240510)
CORS (Kitworks Team Study 양다윗 발표자료 240510)
 
Stronger Together: Developing an Organizational Strategy for Accessible Desig...
Stronger Together: Developing an Organizational Strategy for Accessible Desig...Stronger Together: Developing an Organizational Strategy for Accessible Desig...
Stronger Together: Developing an Organizational Strategy for Accessible Desig...
 
Design Guidelines for Passkeys 2024.pptx
Design Guidelines for Passkeys 2024.pptxDesign Guidelines for Passkeys 2024.pptx
Design Guidelines for Passkeys 2024.pptx
 
ERP Contender Series: Acumatica vs. Sage Intacct
ERP Contender Series: Acumatica vs. Sage IntacctERP Contender Series: Acumatica vs. Sage Intacct
ERP Contender Series: Acumatica vs. Sage Intacct
 
Top 10 CodeIgniter Development Companies
Top 10 CodeIgniter Development CompaniesTop 10 CodeIgniter Development Companies
Top 10 CodeIgniter Development Companies
 
Design and Development of a Provenance Capture Platform for Data Science
Design and Development of a Provenance Capture Platform for Data ScienceDesign and Development of a Provenance Capture Platform for Data Science
Design and Development of a Provenance Capture Platform for Data Science
 
Continuing Bonds Through AI: A Hermeneutic Reflection on Thanabots
Continuing Bonds Through AI: A Hermeneutic Reflection on ThanabotsContinuing Bonds Through AI: A Hermeneutic Reflection on Thanabots
Continuing Bonds Through AI: A Hermeneutic Reflection on Thanabots
 

Software Testing Tecniques

  • 1. Software Testing Tecniques By Ersan BİLİK 13 Aug 2006
  • 2.
  • 3.
  • 4.
  • 5.
  • 6.
  • 7.
  • 8.
  • 9.
  • 10.
  • 12. Cylomatic Complexity Cyclomatic complexity for addClass() Statement C# Java If…Else 0 0 Select…Case 0 0 For… 0 0 Do…While 1 1 For each… 0 0 Total Complexity 2 2 Results C# Java CC 2 2 Bad Fix Probability %5 %5 Risk Low Low Type of procedure A simple procedure A simple procedure Conclusion The CC results are stable.
  • 13. Cyclomatic Complexity Cyclomatic complexity for addForm() Statement C# Java If…Else 16 18 Select…Case 0 0 For… 0 0 Do…While 0 0 For each… 0 0 Total Complexity 17 19 Results C# Java CC 17 19 Bad Fix Probability %10 %10 Risk Moderate Moderate Type of procedure A more complex procedure A more complex procedure Conclusion In C# language each event has their on method. Therefore Java uses only specific methods to the specific event. The event mechanism in java handled by if statement in the specific events methods by getting source of the objects name.
  • 14.
  • 15.
  • 16.
  • 17.
  • 18.
  • 19.
  • 20.
  • 21.
  • 22.
  • 24.
  • 25.