by Carlos Ble | Mar 17, 2009 | Test Driven Development
Se acaba de crear una nueva lista sobre Test Driven Development en castellano: http://groups.google.com/group/tddev-sp Muchas gracias a Jose Ramón Diaz por la iniciativa. Esperemos que los recursos en castellano sigan aumentando.
by Carlos Ble | Mar 16, 2009 | Free/Libre Software
Leyendo la lista de ALT.Net hoy me he llevado una grata sorpresa. Hay una empresa de Madrid que ha liberado un framework open source para .Net. Se llama Signum Framework. La verdad que no lo he podido mirar pero la web está chula. Independientemente de que sea malo o...
by Carlos Ble | Mar 13, 2009 | Test Driven Development
Sometimes we (my team in our current project) have a single TestCase (class) holding tests for several SUTs (classes). That is not right as every class should have its own TestCase (It has to do with the fact that instantiating the tests to run them is a pain with...
by Carlos Ble | Mar 10, 2009 | Software Development
When it comes to version and API changes, Python optional arguments are evil. Say you define a function like this: def someFunction(param1, param2, optParam=None) # code And you are calling it from module whatever.py like this: retValue = someFunction(x, y, z) A few...
by Carlos Ble | Mar 10, 2009 | Software Development
Same behavior in Python and C#… Wrong code: try: # some code except Exception, e: # log the exception or whatever raise e Right code: try: # some code except Exception, e: # log the exception or whatever raise # JUST RAISE!!! Wrong code: try { // whatever }...