The document discusses the fundamentals of software testing, emphasizing the importance of understanding verification, validation, and software defects. It outlines the objectives and limitations of testing, the role of developers as testers, and various testing types and methodologies, including white box testing and path coverage. Additionally, it covers the creation of test cases and the concept of cyclomatic complexity.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
10 views
week 11
The document discusses the fundamentals of software testing, emphasizing the importance of understanding verification, validation, and software defects. It outlines the objectives and limitations of testing, the role of developers as testers, and various testing types and methodologies, including white box testing and path coverage. Additionally, it covers the creation of test cases and the concept of cyclomatic complexity.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 46
Software Testing
• To understand the concept of
software testing correctly, we need to understand a few related concepts. • Verification and Validation Verification and Validation Defect • software defect is that phenomenon in which software deviates from its expected behavior. This is non- compliance from the expected behavior with respect to written specifications or the stakeholder needs. Software Testing Objective Software Testing Objective Limitation of Testing Limitation of Testing Code Limitation of Testing Limitation of Testing Test Cases and Test Data • Input and output specification plus a statement of the function under test. • Steps to perform the function Expected results that the software application produces Testing vs Development Developer as the Tester Testing and Software Phases Testing Types Guidelines for Finding Equivalence Classes Example – is StringsEqual Example – is StringsEqual Example – is StringsEqual Test Cases – Unequal Strings Test Cases – Unequal Strings Flow Graph Notation Flow Graph for a Sort Procedure Flow Graph for a Sort Procedure White Box Testing White Box Testing White Box Testing White Box Testing Path Coverage Path Coverage Path Coverage Path Coverage Path Coverage Path Coverage Cyclomatic Complexity Cyclomatic Complexity Cyclomatic Complexity Cyclomatic Complexity Cyclomatic Complexity (Example Cyclomatic Complexity (Example Cyclomatic Complexity (Example) Infeasible Paths Path Coverage Path Coverage Developer as the Tester