Skip to main content
4 events
when toggle format what by license comment
Nov 1, 2012 at 2:41 comment added abellina Here's my two cents, and my reasoning behind the reusability aspect: most of the unit testing I've done dealt at some point or another with mock objects. This forces you to think on how to test your software later, but it also helps you think about the interfaces between your objects. These interfaces in turn, what a mock object would fake, IMHO could lead you to the path of more reusable code (this is kind of an art however). If you can clearly design lean interfaces, you could easily mock, and in turn get better code out of it.
Oct 31, 2012 at 21:10 comment added Doc Brown IMHO unit testing forces you to think in a unit-testable way, nothing more, nothing less. People often state that this will make the code more reusable, but in my opionion thats some kind of urban legend.
Oct 31, 2012 at 15:34 review First posts
Oct 31, 2012 at 15:43
Oct 31, 2012 at 15:19 history answered abellina CC BY-SA 3.0