SlideShare une entreprise Scribd logo
1  sur  50
Importance of Testing in SDLC & Various Kinds of Testing
Software Development Lifecycle ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Waterfall Model Analysis Design Code Test System/information engineering
The Prototyping Model   Listen to customer Build/revise mock-up Customer test-drives mock-up
The RAD Model Team #1 Team #2 Team #3 Business modeling Data modeling  Process   modeling Application modeling Test and turnover Business modeling Data modeling  Process   modeling Application modeling Test and turnover Business modeling Data modeling  Process   modeling Application modeling Test and turnover
Boehm’s Spiral Model
V- Model SRS Unit test Tested modules Integration Test Integrated software System  Integration Test Tested software System Test, AcceptanceTest Requirements Specification System Design Detailed Design Coding System  Design SRS Module designs Code User Manual
Importance of Software testing in SDLC ,[object Object],[object Object],[object Object],[object Object],[object Object]
Different Types of Testing ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Dynamic v/s static ,[object Object],[object Object]
Development v/s independent testing ,[object Object],[object Object],[object Object]
Black v/s white box testing ,[object Object],[object Object]
Behavioral v/s structural testing ,[object Object],[object Object]
Automated v/s manual ,[object Object],[object Object]
Sanity, Acceptance and Smoke testing ,[object Object],[object Object],[object Object]
Regression testing ,[object Object],[object Object]
Exploratory and monkey testing ,[object Object],[object Object]
Debugging v/s bebugging ,[object Object],[object Object]
Black Box & White Box Testing Techniques
Black-Box Testing ,[object Object],[object Object]
Functional Test-Case Design Techniques ,[object Object],[object Object],[object Object],[object Object]
Equivalence Class Partitioning ,[object Object],[object Object],[object Object],[object Object]
Example ,[object Object],[object Object],[object Object],[object Object]
Guidelines for Identifying Equivalence Classes ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Guidelines for Identifying Equivalence Classes ,[object Object],[object Object],[object Object],[object Object],[object Object]
Identifying Test Cases for Equivalence Classes ,[object Object],[object Object],[object Object]
Boundary Value Analysis ,[object Object],[object Object],[object Object],[object Object]
Cause Effect Graphing ,[object Object]
Cause Effect Graphing Technique ,[object Object],[object Object],[object Object]
Example ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Example: Cause-Effect Graph C1 C2 C3 C4 E1 E2 E3 E5 E4 and and or and not and and not and and not not
Example: Cause-Effect Graph C1 C2 C 3 C4 E1 E2 E5 E4 not not not not and E3 and and or and and and and
Example ,[object Object],[object Object],Example:   C1 C2 C3 C4 0 0 - - 1 - 0 - - 1 1 0 - 1 1 1 1 - 1 1 E1 E2 E3 E4 E5 1 1 1 1 1
Error Guessing ,[object Object]
White Box Testing ,[object Object],[object Object],[object Object],[object Object],[object Object]
White Box Test-Case Design ,[object Object],[object Object],[object Object],[object Object]
Example ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],White Box Test-Case Design
Example ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],2)  A = 2,  B = 1,  X = 1  ( abe ) 1)  A = 3,  B = 0, X = 3  (acd) A > 1 and B = 0 A = 2 or X > 1 X = X+1 X = X/ A a c T F b e T F d
Example ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],X = X+1 a c T F b e T F d A > 1 and B = 0 A = 2 or X > 1 X = X/ A
White Box Test-Case Design ,[object Object],[object Object],[object Object],[object Object]
Example ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],X = X+1 a c T F b e T F d A > 1 and B = 0 A = 2 or X > 1 X = X/ A
Example ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Basis Path Testing ,[object Object],[object Object],[object Object],[object Object],[object Object]
Example 1 2 3 4 5 10 6 7 8 9 R4 R3 R2 11 12 13 R1 R6 R5 V(G)  =  6 regions V(G) = #Edges - #Nodes + 2 = 17 - 13 + 2 = 6 V(G) = 5 predicate-nodes + 1 = 6 6 linearly  independent paths
Basis Path Testing ( contd ) ,[object Object],[object Object],[object Object]
Loop Testing ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Loop Testing ,[object Object],[object Object],[object Object],[object Object],[object Object]
Data Flow Testing ,[object Object],[object Object]
Thank You… ,[object Object]

Contenu connexe

Tendances (20)

Introduction to Software Test Automation
Introduction to Software Test AutomationIntroduction to Software Test Automation
Introduction to Software Test Automation
 
Types of testing
Types of testingTypes of testing
Types of testing
 
Basic software-testing-concepts
Basic software-testing-conceptsBasic software-testing-concepts
Basic software-testing-concepts
 
STLC
STLCSTLC
STLC
 
Software testing.ppt
Software testing.pptSoftware testing.ppt
Software testing.ppt
 
Test cases
Test casesTest cases
Test cases
 
Software testing & Quality Assurance
Software testing & Quality Assurance Software testing & Quality Assurance
Software testing & Quality Assurance
 
Software Testing
Software TestingSoftware Testing
Software Testing
 
Software testing life cycle
Software testing life cycleSoftware testing life cycle
Software testing life cycle
 
Software Testing Introduction
Software Testing IntroductionSoftware Testing Introduction
Software Testing Introduction
 
Automation testing
Automation testingAutomation testing
Automation testing
 
Types of software testing
Types of software testingTypes of software testing
Types of software testing
 
Software Testing - Part 1 (Techniques, Types, Levels, Methods, STLC, Bug Life...
Software Testing - Part 1 (Techniques, Types, Levels, Methods, STLC, Bug Life...Software Testing - Part 1 (Techniques, Types, Levels, Methods, STLC, Bug Life...
Software Testing - Part 1 (Techniques, Types, Levels, Methods, STLC, Bug Life...
 
TESTING LIFE CYCLE PPT
TESTING LIFE CYCLE PPTTESTING LIFE CYCLE PPT
TESTING LIFE CYCLE PPT
 
Testing fundamentals
Testing fundamentalsTesting fundamentals
Testing fundamentals
 
Software testing methods, levels and types
Software testing methods, levels and typesSoftware testing methods, levels and types
Software testing methods, levels and types
 
Non Functional Testing
Non Functional TestingNon Functional Testing
Non Functional Testing
 
Software test life cycle
Software test life cycleSoftware test life cycle
Software test life cycle
 
Software testing
Software testingSoftware testing
Software testing
 
Software Testing
Software TestingSoftware Testing
Software Testing
 

En vedette

Basis path testing
Basis path testingBasis path testing
Basis path testingHoa Le
 
New software testing-techniques
New software testing-techniquesNew software testing-techniques
New software testing-techniquesFincy V.J
 
Boundary and equivalnce systematic test design
Boundary and equivalnce   systematic test designBoundary and equivalnce   systematic test design
Boundary and equivalnce systematic test designIan McDonald
 
Real time Scheduling in Operating System for Msc CS
Real time Scheduling in Operating System for Msc CSReal time Scheduling in Operating System for Msc CS
Real time Scheduling in Operating System for Msc CSThanveen
 
Equivalence partinioning and boundary value analysis
Equivalence partinioning and boundary value analysisEquivalence partinioning and boundary value analysis
Equivalence partinioning and boundary value analysisniharika5412
 
Boundary value analysis
Boundary value analysisBoundary value analysis
Boundary value analysisVadym Muliavka
 
Software Engineering ppt
Software Engineering pptSoftware Engineering ppt
Software Engineering pptshruths2890
 

En vedette (10)

Basis path testing
Basis path testingBasis path testing
Basis path testing
 
New software testing-techniques
New software testing-techniquesNew software testing-techniques
New software testing-techniques
 
Boundary and equivalnce systematic test design
Boundary and equivalnce   systematic test designBoundary and equivalnce   systematic test design
Boundary and equivalnce systematic test design
 
Real time Scheduling in Operating System for Msc CS
Real time Scheduling in Operating System for Msc CSReal time Scheduling in Operating System for Msc CS
Real time Scheduling in Operating System for Msc CS
 
Black & White Box testing
Black & White Box testingBlack & White Box testing
Black & White Box testing
 
Equivalence partinioning and boundary value analysis
Equivalence partinioning and boundary value analysisEquivalence partinioning and boundary value analysis
Equivalence partinioning and boundary value analysis
 
Boundary value analysis
Boundary value analysisBoundary value analysis
Boundary value analysis
 
Black Box Testing
Black Box TestingBlack Box Testing
Black Box Testing
 
Software testing ppt
Software testing pptSoftware testing ppt
Software testing ppt
 
Software Engineering ppt
Software Engineering pptSoftware Engineering ppt
Software Engineering ppt
 

Similaire à Types of Software Testing

White box & black box testing
White box & black box testingWhite box & black box testing
White box & black box testingSaket Khopkar
 
software testing types jxnvlbnLCBNFVjnl/fknblb
software testing types jxnvlbnLCBNFVjnl/fknblbsoftware testing types jxnvlbnLCBNFVjnl/fknblb
software testing types jxnvlbnLCBNFVjnl/fknblbjeyasrig
 
Software testing
Software testingSoftware testing
Software testingSengu Msc
 
Software testing
Software testingSoftware testing
Software testingSengu Msc
 
Software testing
Software testingSoftware testing
Software testingEng Ibrahem
 
Software testing basic
Software testing basicSoftware testing basic
Software testing basicRohit Singh
 
Testing in Software Engineering.docx
Testing in Software Engineering.docxTesting in Software Engineering.docx
Testing in Software Engineering.docx8759000398
 
SWE-401 - 10. Software Testing Overview
SWE-401 - 10. Software Testing OverviewSWE-401 - 10. Software Testing Overview
SWE-401 - 10. Software Testing Overviewghayour abbas
 
10. Software testing overview
10. Software testing overview10. Software testing overview
10. Software testing overviewghayour abbas
 
Chapter 10 Testing and Quality Assurance1Unders.docx
Chapter 10 Testing and Quality Assurance1Unders.docxChapter 10 Testing and Quality Assurance1Unders.docx
Chapter 10 Testing and Quality Assurance1Unders.docxketurahhazelhurst
 
Sdd Testing & Evaluating
Sdd Testing & EvaluatingSdd Testing & Evaluating
Sdd Testing & Evaluatingmary_ramsay
 
Unit testing
Unit testingUnit testing
Unit testingmedsherb
 
SOFTWARE TESTING.pptx
SOFTWARE TESTING.pptxSOFTWARE TESTING.pptx
SOFTWARE TESTING.pptxssrpr
 
black and white Box testing.pptx
black and white Box testing.pptxblack and white Box testing.pptx
black and white Box testing.pptxPavanNikhil3
 
Glossary of Testing Terms and Concepts
Glossary of Testing Terms and ConceptsGlossary of Testing Terms and Concepts
Glossary of Testing Terms and Conceptsmqamarhayat
 
Testing terms & definitions
Testing terms & definitionsTesting terms & definitions
Testing terms & definitionsSachin MK
 
Testing Software Solutions
Testing Software SolutionsTesting Software Solutions
Testing Software Solutionsgavhays
 

Similaire à Types of Software Testing (20)

White box & black box testing
White box & black box testingWhite box & black box testing
White box & black box testing
 
Testing
TestingTesting
Testing
 
software testing types jxnvlbnLCBNFVjnl/fknblb
software testing types jxnvlbnLCBNFVjnl/fknblbsoftware testing types jxnvlbnLCBNFVjnl/fknblb
software testing types jxnvlbnLCBNFVjnl/fknblb
 
Software testing
Software testingSoftware testing
Software testing
 
Software testing
Software testingSoftware testing
Software testing
 
Software testing
Software testingSoftware testing
Software testing
 
Software testing basic
Software testing basicSoftware testing basic
Software testing basic
 
Software testing strategies
Software testing strategiesSoftware testing strategies
Software testing strategies
 
Testing in Software Engineering.docx
Testing in Software Engineering.docxTesting in Software Engineering.docx
Testing in Software Engineering.docx
 
SWE-401 - 10. Software Testing Overview
SWE-401 - 10. Software Testing OverviewSWE-401 - 10. Software Testing Overview
SWE-401 - 10. Software Testing Overview
 
10. Software testing overview
10. Software testing overview10. Software testing overview
10. Software testing overview
 
Chapter 10 Testing and Quality Assurance1Unders.docx
Chapter 10 Testing and Quality Assurance1Unders.docxChapter 10 Testing and Quality Assurance1Unders.docx
Chapter 10 Testing and Quality Assurance1Unders.docx
 
Software Testing
Software TestingSoftware Testing
Software Testing
 
Sdd Testing & Evaluating
Sdd Testing & EvaluatingSdd Testing & Evaluating
Sdd Testing & Evaluating
 
Unit testing
Unit testingUnit testing
Unit testing
 
SOFTWARE TESTING.pptx
SOFTWARE TESTING.pptxSOFTWARE TESTING.pptx
SOFTWARE TESTING.pptx
 
black and white Box testing.pptx
black and white Box testing.pptxblack and white Box testing.pptx
black and white Box testing.pptx
 
Glossary of Testing Terms and Concepts
Glossary of Testing Terms and ConceptsGlossary of Testing Terms and Concepts
Glossary of Testing Terms and Concepts
 
Testing terms & definitions
Testing terms & definitionsTesting terms & definitions
Testing terms & definitions
 
Testing Software Solutions
Testing Software SolutionsTesting Software Solutions
Testing Software Solutions
 

Dernier

Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxhariprasad279825
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii SoldatenkoFwdays
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek SchlawackFwdays
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piececharlottematthew16
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteDianaGray10
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyAlfredo García Lavilla
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity PlanDatabarracks
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clashcharlottematthew16
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Enterprise Knowledge
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo DayH2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo DaySri Ambati
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024Lorenzo Miniero
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionDilum Bandara
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsPixlogix Infotech
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brandgvaughan
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 

Dernier (20)

Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptx
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piece
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test Suite
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easy
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity Plan
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clash
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo DayH2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An Introduction
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and Cons
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 

Types of Software Testing

  • 1. Importance of Testing in SDLC & Various Kinds of Testing
  • 2.
  • 3. Waterfall Model Analysis Design Code Test System/information engineering
  • 4. The Prototyping Model Listen to customer Build/revise mock-up Customer test-drives mock-up
  • 5. The RAD Model Team #1 Team #2 Team #3 Business modeling Data modeling Process modeling Application modeling Test and turnover Business modeling Data modeling Process modeling Application modeling Test and turnover Business modeling Data modeling Process modeling Application modeling Test and turnover
  • 7. V- Model SRS Unit test Tested modules Integration Test Integrated software System Integration Test Tested software System Test, AcceptanceTest Requirements Specification System Design Detailed Design Coding System Design SRS Module designs Code User Manual
  • 8.
  • 9.
  • 10.
  • 11.
  • 12.
  • 13.
  • 14.
  • 15.
  • 16.
  • 17.
  • 18.
  • 19. Black Box & White Box Testing Techniques
  • 20.
  • 21.
  • 22.
  • 23.
  • 24.
  • 25.
  • 26.
  • 27.
  • 28.
  • 29.
  • 30.
  • 31. Example: Cause-Effect Graph C1 C2 C3 C4 E1 E2 E3 E5 E4 and and or and not and and not and and not not
  • 32. Example: Cause-Effect Graph C1 C2 C 3 C4 E1 E2 E5 E4 not not not not and E3 and and or and and and and
  • 33.
  • 34.
  • 35.
  • 36.
  • 37.
  • 38.
  • 39.
  • 40.
  • 41.
  • 42.
  • 43.
  • 44.
  • 45. Example 1 2 3 4 5 10 6 7 8 9 R4 R3 R2 11 12 13 R1 R6 R5 V(G) = 6 regions V(G) = #Edges - #Nodes + 2 = 17 - 13 + 2 = 6 V(G) = 5 predicate-nodes + 1 = 6 6 linearly independent paths
  • 46.
  • 47.
  • 48.
  • 49.
  • 50.

Notes de l'éditeur

  1. Waterfall Model: Sometime called the linear sequential or classic life cycle model, the waterfall model suggest symmetric, sequential approach to software development the begins at the system level and progress through analysis, design, coding, testing, and support. Figure 1 illustrates the waterfall model for software engineering. The waterfall model encompasses the following activates: System/information engineering and modeling. Because software is always part of a large system (or business), work begins by establishing requirements for all system elements and then allocating some subset of these requirements to software. System engineering and analysis encompass requirements gathering at the system level with a small amount of top level design and analysis. Information engineering encompass requirements gathering at the strategic level and at the business area level. Software requirements analysis. The requirement gathering process is intensified and focused specifically on software. To understand the nature of the program(s) to be built, the software engineering (analyst) must understand the information domain for the software, as well as required function, behavior, performance and interface. Design. Software design is actually a multistep process that focuses on four distinct attributes of a program: data structure, software architecture, interface representation, and procedural (algorithmic) details. The design process translates requirements into a representation of the software the can be assessed for quality before coding begins. Code generation. The design must be translated in to a machine-readable form. The code generation step performs this task. If design is performed in a detailed manner, code generation can be accomplished mechanically. Testing. Once code has been generated, program testing begins. The testing process focuses on the logic internals of the software, ensuring that all statement have been tested, and on the functional externals; that is, conducting test to uncover errors and ensure that defined input will produced actual results that agree with required results. Support. Software will undoubtedly undergo change after it is delivered to the customer (a person exception is embedded software). Change will occur because errors have been encountered, because the software must be adapted to accommodate changes in external environment (changes in Operating system, peripheral devices etc), or because customer requirement, functional or performance enhancement.
  2. The prototype paradigm begins with requirement gathering. Developing and customer meet and define the overall objective for the software, identify whatever requirement are known, and outline areas where further definition is mandatory. A “quick design” then occurs. The quick design focuses on a representation of those aspects of the software that will be visible to the customer/user (e.g. input approaches and output format). The quick design leads to the construction of a prototype. The prototype is evaluated by the customer/user and used to refine requirement for the software to be developed. Iteration occurs as the prototype is tuned to satisfy the needs of the customer, while at the same time enabling the development to better understand what needs to be done.
  3. Rapid application development (RAD) is an incremental software development process model the emphasizes an extremely short development cycle. The RAD model is a “high-speed” adaptation of the linear sequential model in which rapid development is achieved by using component-based-construction. If requirement are well understood and project scope is constrained, the RAD process enables a development team to create a “fully functional system” within very short time periods. Used primarily for information system application, the RAD approach encompasses the following phases: Business Modeling. The information flow among business function is modeled in a way that following question. What information drives the business process? What information is generated? Who generated it? Where does the information go? Who process it? Data Modeling. The flow defined as a part of the business-modeling phase is refined into a set of data object that are need to support the business. The characteristics of each object are identified and the relationship between these objects defined. Process Modeling. The data objects defined in the data-modeling phase are transformed to achieve the information flow necessary to implement a business function. Process descriptions are created for adding modifying, deleting, or retrieving a data object. Application generation. RAD assumes the use of fourth generation techniques. Rather that creating software using conventional third generation programming languages the RAD process works to reuse existing program components or create reusable components. Testing and turnover. Since the RAD process emphasizes reuse, many of the program components have already been tested. This reduces overall testing time.
  4. The analogy for this is inspecting a car without running it.
  5. Boris Beizer gives the following explanation of the different objective that independent testing has over developer testing: "The purpose of independent testing is to provide a different perspective and, therefore, different tests; furthermore to conduct those tests in a richer [...] environment than is possible for the developer." [ BEI95 ]
  6. The four areas the structural or white box testing encompasses are: Directly testing low-level functions, Procedure, Subroutines, or libraries. In MS Windows these are called APIs Testing the software at the top level, as a completed program, but adjusting your test cases based on what you know about the software’s operation. Gaining access to read variables and state information form the software to help you determine whether your tests are doing what you thought. And being able to force the software to do things that would be difficult if you tested it normally. Measuring how much of the code and specifically what code you hit when you run your tests and then adjusting your tests to remove the redundant test cases and add missing ones.