Blog de Francisco Velázquez

otro blog personal

Archive for September 2013

Pruebas unitarias y Dependency injection

leave a comment »

No soy un “abusón” de las pruebas unitarias pero no puedo estar más de acuerdo con lo que dice:

Unit tests don’t uncover all design problems, but they are effective with respect to cohesion and coupling issues and the rather significant principals that relate to these.

I’m no fan of the ceremony surrounding Inversion of Control and the impact some of the most popular types, like Dependency Injection, has on production code. But, having never learned the cost of low cohesion and tight coupling from unit testing, dynamic programmers often violate sound design.


Written by fravelgue

September 19, 2013 at 6:31 pm

Posted in development

Tagged with , ,