| | Test of Object-oriented Programs - slide 32 : 35 |
Test of Object-oriented programs
What are the basic challenges of testing object-oriented programs?
- Button-up OOP development
- Makes it natural to test the classes bottom-up
- Bottom-up testing of classes relieves the need for stubs
- Information hiding
- Makes it difficult/impossible to directly observe the effect of operations on an object
- Dynamic binding and polymorphism
- May contribute with a lot additional independent paths
- It is difficult to identify these paths on a static basis
- Complicates white box testing considerably