by Carlos Ble | Nov 21, 2010 | Software Development
This is a post rewrite. The original post can found at the bottom of this post. The reason why I am rewriting this post is because Patrick Chanezon (from Google), has added a kind and respectful comment to this post. Given the huge amount of traffic this post has...
by Carlos Ble | Nov 5, 2010 | Software Development, Test Driven Development
I believe it is important to categorize integration tests in terms of their granularity. I mean grouping the tests that are coarse-grained aside from the fine-grained ones. This way, when big changes are made (changing the framework/platform behind your app) and lots...
by Carlos Ble | Nov 2, 2010 | iExpertos, Test Driven Development
Me complace anunciar que los dias 25 y 26 de noviembre celebramos un curso abierto de TDD en Donosti. Abierto significa que puede asistir cualquier persona. El unico requisito es pagar la plaza. Todavia quedan plazas libres. Gracias a Mario Nunes y Luis Artola, hemos...
by Carlos Ble | Oct 21, 2010 | Test Driven Development
Hoy he visto los vídeos de Hernan Wilkinson que comparan la práctica de TDD cuando se lleva a cabo con un lenguaje estático y otro dinámico. En mi caso he practicado TDD con Java, C# y Python. Realmente encuentro que cuando uso Python voy más rápido que con los otros...
by Carlos Ble | Sep 23, 2010 | Test Driven Development
Muy bien. Has ido haciendo TDD y ya tienes un producto maduro y con miles de lines de código en producción. Tienes que añadir una nueva funcionalidad a un módulo y te dispones a escribir primero el ejemplo-especificación, como siempre. ¡No lo hagas en una clase nueva...
by Carlos Ble | Sep 22, 2010 | Software Development
¿Por donde empiezas a refactorizar una vieja aplicación de codigo legado? Lo primero en mi opinión es tratar de escribir tests automáticos de algún tipo, que nos ayuden a asegurar que no rompemos funcionalidad. Lo normal es que sean tests de extremo a extremo (tests...
by Carlos Ble | Sep 7, 2010 | Google App Engine, Software Development
Mapreduce API is great. We’ve got a tool now that can process tasks taking more than 30 seconds. Yeaaaahhh! This is a huge improvement. I wish we have had this tools months ago. All the examples in the documentation use the webapp framework, there aren’t...
by Carlos Ble | Sep 7, 2010 | Google App Engine
GAE Blobstore is a great way to manage big files. This post is about using the Blogstore with Python and the Django GAE Helper (appengine_django). Views.py: from google.appengine.ext import blobstore # import other django stuff def show_upload_form(request): template...
by Carlos Ble | Aug 22, 2010 | Software Development
Some posts ago I was complaining about how big Git learning curve is and some other inconveniences that we had been facing. Some of them were just kind of flaming, I know. The thing is that we switched to Mercurial and CodeBaseHq.com instead of Git and Github.com and...
by Carlos Ble | Aug 14, 2010 | Software Development, Test Driven Development
Some people ask me how Test Driven Development fits in MVC Frameworks like Django, Ruby on Rails, and all this kind of frameworks that use convention over configuration, and offer powerful tools for CRUD (Create-Read-Update-Delete) operations. Well, the solution...