Nitin has posted 391 posts at DZone. View Full User Profile

OO Design for Testability

10.16.2009
| 7832 views |
  • submit to reddit

 

We design our code for performance, maintenance, simplicity, extensibility and other goals, but most of us do not think about testability as a design goal, yet verifying the correctness of our code is of great importance. What does it mean to have testable code, and what kind of trade offs does one have to think about when designing for testability. Turns out that testable code is well designed code, and it has many of the characteristics we search for such as low cohesion, separation of concerns, proper encapsulation and many others. Miško Hevery delves into these and other issues in this presentation.  

The slides for this presentation can be downloaded here

Published at DZone with permission of its author, Nitin Bharti.

(Note: Opinions expressed in this article and its replies are the opinions of their respective authors and not those of DZone, Inc.)