by Carlos Ble | Feb 10, 2012 | Software Development
Linq to Sql is a kind of ORM for .Net by Microsoft. Working with Linq to Sql can be a nightmare. The basics: In order to send or retrieve objects to or from the database, you need a DataContext instance. This is an instance of a class that inherits DataContext. It is...
by Carlos Ble | Jan 27, 2012 | Agile, Software Development, Test Driven Development
Hay un mal que se esta extendiendo por la aplicación en las últimas semanas. Es el ResponseDTO. Es un objeto plano, tiene un campo “success” de tipo boolean y un campo “message” de tipo string. Debía llamarse Response pero colisionaba, así que...
by Carlos Ble | Jan 26, 2012 | Software Development, Test Driven Development
Note: this post will probably evolve, the text will be updated as I need it. In order to write cleaner interaction tests (those which use test doubles; mocks, spies, stubs) you should understand how your test doubles framework works. Interaction tests can be extremely...
by Carlos Ble | Jan 22, 2012 | Software Development
Cuandó programaba en Delphi arrastrando componentes gráficos para programar las aplicaciones de escritorio, me parecía tan potente y tan sencillo que no quería cambiar de herramienta (allá por 2001). Por motivos de trabajo tuve que saltar a Gnome, con Gtk (en un...
by Carlos Ble | Jan 16, 2012 | Test Driven Development
Don’t be confused, the title is just to get your attention. This is not a benchmark between Mockito and Moq. I need to explain some differences to my teammates so that the transition between Mockito and Moq is softer for them. Typical way to stub out a method...
by Carlos Ble | Jan 1, 2012 | Software Development
Buscábamos a un artesano (o lo que a mi me vale por artesano) y hemos tenido la suerte de encontrarle. En enero se incorpora al equipo Ismael Ferrer (@ifolmedo). Tuvimos dos excelentes candidatos, la verdad. Afortunadamente la situación actual de Ismael se alinéa...