Title: Other Testing Techniques
1Other Testing Techniques
2Agenda
- Test Plan
- Lab 7 Demos
- TAs for next semester
- Lecture
3Other Testing
- Integration Testing
- GUI Testing
- VV
4Integration Testing
- Big Bang
- Top-Down
- Bottom-Up
- Sandwitch
- Feature Set
5Top-Down Strategy
Breadth-First Depth-First
Start with Main and Stubs Replace stubs
incrementally Test at each step Regression Test
Suite
DISADVANTAGE A lot of stub writing
6Bottom-Up Strategy
M5
M4
Start with driver and atomic module Replace
upper drivers with modules Test each
integration Build-up clusters
M3
M2
M1
DISADVANTAGE No program till integration
complete
7Feature-Set
M1
M4
M5
M2
Board Display
M3
Select Key Features Organize into
clusters Integrate/Test Feature
Load/Save Game
DISADVANTAGE May be hard to isolate features/
Feature Interaction Problem
8Integration Coverage
Code Coverage Static Call Graph Coverage
main
usage
parser
insertsymbol
scanner
getnoblank
getsymbol
9GUI Testing (Paul Gerrard)
- Test Challenges
- Event-Driven System
- Unsolicited Events
- OO with large number of objects
- Hidden Synchronization
- Hidden Dependencies
- Infinite Input Domain
- Many ways in and out
- Window Management
10GUI Testing
- Phases
- Low-level (Checklist, Navigation)
- Application(Equivalence, Boundary, State,
Decision Tables) - Integration (C/S Communications, Desktop
integration, Synchronization) - Non-Functional (Load test, Compatibility)
11Test Types
- Checklist Standards Conformance
- Navigation Reachability, Call/Event Handling
- Equivalence, Boundary - Input validation,
Rule-based processing - C/S Tests attaching to net/dbms
- Synchronization data integrity between windows
12Coverage Criteria
Problem in Non-Modal Windows
- Event-Flow Graphs
- Cover all events
Help
File
Contents
About
Save
Open
New
Print
Test data shows 92 statement coverage
Page Setup
13Pulling Testing Together (VV)
- Validation
- Customer review of use cases (Requirements
validation) - Traceability (match phases to requirements)
- Validation test suite
- Alpha/Beta Tests
14VV Continued
- Verification
- Reviews/Inspections
- Process Monitoring
- Unit Test Standards
- Integration Test Strategy
- Regression Testing
- System Testing
15Next Time
JUNIT Test Framework www.junit.org