How is testing affected by object-oriented designs?
Well-engineered object-oriented design can make it easier to trace from code to internal design to functional design to requirements. While there will be little affect on black box testing (where an understanding of the internal design of the application is unnecessary), white-box testing can be oriented to the application's objects. If the application was well-designed this can simplify test design.
面向对象的设计对测试具有什么样的影响?
面向对象的工程能够比较容易的从内部代码设计跟踪到功能设计和需求。然而,这是对白盒测试而言,而对黑盒测试则影响很小(因为黑盒测试没有必要理解应用程序的内部设计)。如果应用程序软件设计比较好则可以简化测试设计。