Posts

Showing posts with the label agile programming

Automated testing

Here is what I will watch today while I eat my pasta :-)

Plotting the execution times of tests

Image
After a message in the extreme programming mailing list, I sent the execution times of PAFlow unit tests to Kent Beck. He used google charts to plot the results, and here are the data :-) Just to explain what is going on: the x are the execution times, and the y are the number of tests which have that execution times. Both scales are logarithmic, with the y which is 1 at start and 1000 at top. 4096 actually means 4096 millisec.

User Stories (really) Applied

I don't remember the first book I read on Extreme Programming, but I clearly remember two sensations: enthusiasm and confusion. Indeed, I felt there was something great in it, but I was unable to grasp many of the real practices they were talking about; it was like I was looking at them through a thick fog; user stories was one of those practices. Many years have passed from that day, five, maybe more; my understanding of user stories expanded from a shape in the fog to a paper card. However, as many things you learn on the Net, some parts of the card were very clear, while other were still difficult to discern: for example I was not sure how big the card should have been or how many details I should have put on it. Less confusion and a little more enthusiasm. Then my twin brother brought me this book, and told me "read it". And as I always do with everything he gives me to read, I put in on the shelf, and I forgot it. You may wonder why I do it; you're welcome: I won...

Pair Programming con Paolo

A seguito degli ultimi eventi in Icube, mi sono ritrovato a dover lavorare molto di più per la parte dello sviluppo assieme a Paolo, mio fratello (nonché mio gemello). Abbiamo sviluppato un metodo di lavoro che rassomiglia al Pair Programming, ma è diverso in alcuni punti abbastanza fondamentali. Per adesso, lo abbiamo applicato al Refactoring di PAFlow . Come è andata? In pratica, un pomeriggio, ci siamo ritrovati entrambi al computer, io a casa mia e lui a casa sua. Entrando in chat, mi ha iniziato a segnalare delle parti di codice che potevano essere facilmente rifattorizzabili su PAFlow. La cosa si è quindi sviluppata con lui che esplorava e cercava le cose da eliminare e rifattorizzare, ed io che eliminavo, facevo girare i test e committavo. L'esperienza è stata estremamente produttiva, e sicuramente da ripetere.  Nel frattempo, ho (ri)iniziato a leggere il libro di Eric Evans, Domain Driven Design . Mi era piaciuto molto quando avevo iniziato a leggerlo la prima volta, sper...