Blog personal
Cuando escribo, entiendo mejor el mundo.
Blog personal
Cuando escribo, entiendo mejor el mundo.
When to use mock() and proxy()
This is about Python Mocker features. In order to pass in a mock as a parameter to the SUT (subject under test) you might think of creating the mock using either, "mock()" method or...
Lista de TDD en castellano!
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...
Signum Framework, opensource y made in Spain
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...
Run just a group of tests
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...
Optional arguments are evil
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...
Catch the exception and throw it again
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...
When tests gets too complex to write (and read)
I've realized that test code difficult to write and read is sometimes a code smell. It could mean the test code is wrong or the SUT (subject under test) itself is wrong. I've got myself thinking of...
Continuous Integration on Python
Hudson and Cruise Control are very popular among Java/.Net developers but when it comes to Python, ... Hudson also seems to work on python!. Open source tools for Python continuous integration:...
TDD Efficacy and enemies
Part of this information has been got from the testdrivendevelopment group. The main enemy of TDD is.... the lazy developer. I'd rather say, the lazy programmer. It's good to read that it is just...
A bunch of cool links
What I've got browsing today: REST Explained Web services VS REST Free book: Scrum and XP from the Trenches. Traducido al castellano tambien!!!!: Proyectalis.com
Pensando en Generics
Dar el salto a los generics de .Net 2.0 supone un cambio en la forma de pensar. Como dicen en inglés, un "mind shift". En este artículo voy a tratar de explicar los generics mediante reglas que...
Antipatrones en TDD
Esta es una traducción del artículo de James Carr, TDD Anti-Patterns. En dicho artículo algunos antipatrones han sido escritos por Frank Carver, Tim Ottinger, Cory Foy, Joakim Ohlrogge y Kelly...
Mocker passthrough
Another nice feature in mocker is passthrough. It is perfect when you want to ask if a given call was performed but calling the real object rather than the mock so getting a real result. This is an...
SOA in Practice
Just done reading this nice book: SOA in Practice, by Nicolai M. Josuttis. I find it a good book to ask yourself if your architecture smells good or stinks. It does not include source code so it is...
Awesome!: Netobjectives webinars
Looking for training on agile software development? So far, the webinars at netobjectives.com are the best resources I've found. The quality of the lessons is just brilliant. Speakers are great and...
Free Online Lean Training
Through the Agile-Spain group I've noticed that there is a new online training course on Lean Software Development. It sounds really interesting. You can sign up here to join the training:...
Recursos en castellano sobre TDD, Refactoring y otras cosas ágiles
Si Maoma no va a la montaña, la montaña irá a Maoma. Cada vez veo más necesaria la existencia de recursos en castellano para la formación de desarrolladores. Ultimamente me veo en la situación de...
Instalación de Mono y MonoDevelop
Aquí os pongo lo que os comenté en el curso para probar Mono y MonoDevelop desde Bardinux 2.6 o Ubuntu Hardy: Abrir gnome-terminal o konsole $> sudo su #> apt-get update #> apt-get install...
Los Mocks no son Stubs
Mi buen amigo Eladio López me envió la revisión de la traduccion de Mocks aren't Stubs de Martin Fowler. Ahora la traduccion ha quedado mucho mejor. La teneis aqui:...
Curso ISLA de C# y Mono
Este mes de noviembre arrancan denuevo los Cursos ISLA, organizados por nosotros, la Oficina de Software Libre de la ULL. Los sábados 22 y 29 de este mes, impartiré un curso de C# en Mono donde...