Software_Testing_Final_Notes
Software_Testing_Final_Notes
1. Internal View: Focuses on the internal logic or structure (White Box Testing)
2. External View: Focuses on the functionality and behavior as seen by the user (Black Box Testing)
Definition:
Testing approach where tester knows internal structure, code logic, and design.
Also known as white box testing, glass box testing, structural testing.
Focus:
- Control flow
- Logic paths
Techniques:
- Statement coverage
- Branch coverage
- Condition coverage
Example:
Advantages:
Disadvantages:
Definition:
Focus:
- Inputs/outputs
- Functional requirements
- System behavior
- UI
Techniques:
- Equivalence partitioning
- Decision tables
Who Performs:
Example:
Advantages:
Disadvantages:
Comparison:
Introduction:
OOS uses classes, objects, encapsulation, inheritance, polymorphism-thus needs specific testing strategies.
Objectives:
Challenges:
Phases of OO Testing:
2. Integration Testing:
3. Validation Testing:
Techniques:
- State-Based Testing
- Class Testing
- Cluster Testing
- Scenario-Based Testing
- Mutation Testing
Example:
Best Practices:
Conclusion:
OO testing strategy ensures quality by validating both internal class behavior and inter-object collaboration.