EmellanĂ„t stĂ€lls frĂ„gan om det pĂ„visats att testdriven utveckling verkligen kan ge nĂ„gra konkreta, positiva resultat utanför skolprojekt, dvs i industrin. ”Ja, men det finns inte jĂ€ttemĂ„nga som jag kĂ€nner till”, Ă€r det svar jag brukar ge. IBM och Microsoft har publicerat en studie dĂ€r man sett att TDD minskat antalet buggar med mellan 40 och 90 procent. De skriver:
Test-driven development (TDD) is a software development practice that has been used sporadically for decades. [...] However, little empirical evidence supports or refutes the utility of this practice in an industrial context. Case studies were conducted with three development teams at Microsoft and one at IBM that have adopted TDD. The results of the case studies indicate that the pre-release defect density of the four products decreased between 40% and 90% relative to similar projects that did not use the TDD practice. Subjectively, the teams experienced a 15â35% increase in initial development time after adopting TDD.
PÄ tisdag kör vi igÄng en ny omgÄng av JDojo dÀr vi genom övningar övar upp TDD-fÀrdigheterna. Utöver JDojon kommer vi ocksÄ i vÄr genomföra motsvarande koncept ute hos kund i deras lokaler.
