tdd

Recursos de programación de tdd
Hace 15 años nació Autentia, empresa de desarrollo de software de la mano de Roberto Canales, Alejandro Pérez y José María Toribio. Nació con el objetivo de desarrollar un código más artesano, humano y de calidad junto a otras compañías de software que empezaban a hacer las cosas de forma diferente. La empresa ha evolucionado a la vez que lo hacía el mercado y las necesidades que se demandaban. Presumimos de utilizar metodologías ágiles, TDD y de un proceso de selección bastante exhaustivo. Nuestra obsesión por la mejora continua se plasma en nuestro interés por la transformación digital. Abrazamos múltiples metodologías como el Agilismo, Lean Startup, Design Thinking y también apostamos con una comunicación con nuestra audiencia más instantánea (redes sociales, loyalties) que hemos descubierto como parte de la transformación digital a la que nos enfrentamos a las puertas de un futuro cada vez más digital.
Yesterday I facilitated the Ohce kata in a Barcelona Software Craftsmanship event. Since I was facilitating, I didn't have the opportunity to write any code. So, when I got home, I did the kata in Java using outside-in TDD and jMock. I committed after each passing test and each tiny refactoring, so that you can follow the process if you feel like. You can check the commits step by step here. You can find the resulting code in this GitHub repository. Thanks to all the attendees and to Magento Ba...
I've recorded myself using outside-in TDD to code the Printing Account Statement subset of the Bank Account kata in Java using jMock, in order to be able to later watch me and detect problems to correct. This is the recording of what I did: Bank Account kata recordingIf you decide to watch it, please do it at 2x speed (I still write slowly). These are the commits after each green and every refactoring step. You can see the code in this GitHub repository. I recently did another version of this ka...
Le moderne applicazioni web ormai spostano la logica di interfaccia lato client, rendendo JavaScript assoluto protagonista dello sviluppo. Si rende quindi necessario poter testare in maniera automatica questa componente e in questa sessione vedremo, con un approccio molto pratico, tools e tecniche per farlo in maniera sostenibile. Partiremo dai principali framework di testing confrontando l'approccio TDD e BDD; analizzeremo framework e tecniche di mocking; vedremo come rendere testabile codice già scritto e come AngularJS semplifichi notevolmente gli scenari di test.
I did again the Printing Account Statement subset of the Bank Account kata in Java using jMock. This time, I managed to do it using outside-in TDD without big problems, (see the problems I had the first time). The only thing I didn't like was that some steps felt too big. This time I committed after each green and each refactoring steps. Check the commits here. I think I'm starting to see how this goes. You can find the resulting code in this GitHub repository. - por Garajeando
I've recorded myself using TDD to code the Brownish Greenfield Gilded Rose kata in order to be able to later watch me and detect problems to correct. This is the recording of what I did: Brownish Greenfield Gilded Rose kata recordingIf you decide to watch it, please do it at 2x speed (I still write slowly). These are the commits after each green and every refactoring step. You can see the code in this GitHub repository. I also did this kata in JavaScript last week. - por Garajeando
Web
18-05-2016
http , tdd
I created this short and simple kata to practice outside-in TDD using test doubles for the mentoring Álvaro and I are doing in Magento Barcelona: I hope you enjoy doing it. - por Garajeando
I did the Brownish Greenfield Gilded Rose kata in JavaScript. I started working on it with Jordi Masramon at the last Software Craftsmanship Barcelona event. Today I did it again from scratch. In this variant of the Gilded Rose kata you use TDD but you're "forced" to use Item which you can't modify or inherit from. To avoid having to put up with Item limitations, I used the Adapter pattern. I also used the Decorator pattern for the Conjured items. However, their implementations can seem a bit...
I've recorded myself using TDD to code the Mars Rover kata in order to be able to later watch me and detect problems to correct. This is the recording of what I've done so far (all the possible movements of the rover): Mars Rover kata recordingIf you decide to watch it, please do it at 2x speed (I still write slowly). These are the commits after each green and every refactoring step. You can see the code in the using_java_enum branch of this GitHub repository. - por Garajeando
Web
27-04-2016
http , tdd
I've just watched this wonderful interview with Nat Pryce TDD is evolving - por Garajeando