The long way through Software Craftsmanship

Listening to the tests

Jan 6, 2015 - 1 minute read - Comments - GOOSbookTDD

Specifically the chapter no. 20 (“Listening to the tests”) from Growing Object-Oriented Software Guided by Tests available here is so good to learn to hear to your tests. To hear what they’re trying to tell you, the authors (Steve Freeman and Nat Pryce) explain this to you: I Need to Mock an Object I Can’t Replace Logging Is a Feature Mocking Concrete Classes Don’t Mock Values Bloated Constructor Confused Object Too Many Dependencies Too Many Expectations To close, a quote:

Kata: prime factors

Jan 6, 2015 - 1 minute read - Comments - kataTDDjava

I just did the prime factors kata, in java using TDD. Results: https://github.com/alvarogarcia7/primeFactors Code review, comments, pull requests are more than welcome Source: http://craftsmanship.sv.cmu.edu/katas/prime-factors-kata Source: http://butunclebob.com/ArticleS.UncleBob.ThePrimeFactorsKata

Talk: 'Is TDD Dead? Of course not! But what´s all the fuzz about then?' by Emily Bache

Jan 6, 2015 - 2 minute read - Comments - TDDtalkvideoemily-bachedhhnotesdesign

I’ve just seen this talk: Is TDD dead? Of course not! But what´s all the fuzz about then? by Emily Bache ###My notes deliberate vs accidental learning (around minute 19) do not be an evangelist for tdd but rather “come learn tdd, come at a dojo with us!” points to Dan North’s talk (at the same foo café) points to her book - The Coding Dojo Handbook

Category: Goos

Jan 1, 2015 - 1 minute read - Comments - goosbookcategorymetanat-prycesteve-freeman

This category is mainly dedicated to anything related or included in the book ‘Growing Object-Oriented Software Guided by Tests’, by Nat Pryce and Steve Freeman Note: This has been created a posteriori with a previous date

Books read in 2014Q4

Dec 31, 2014 - 1 minute read - Comments - bookreading2014Q4self-study

Books I’ve read this quarter Q4 on 2014, as inspired by Manuel, on this post: ATDD by Example: A Practical Guide to Acceptance Test-Driven Development by Markus Gärtner Head First Design Patterns by Eric Freeman, Elisabeth Robson, Bert Bates, Kathy Sierra Apprenticeship Patterns, Guidance for the Aspiring Software Craftsman by Dave Hoover, Adewale Oshineye Diseño ágil con TDD, by Carlos Blé Jurado; again The Mythical Man-Month, Anniversary Edition: Essays On Software Engineering by Frederick P.

Should we start the TDD cycle on refactor?

Dec 29, 2014 - 4 minute read - Comments - TDDrefactoringCAS2k14new-ideahypothesis

In this lexical scope, TDD by example is referring to this book1, available on Amazon ###The TDD cycle Altough Kent Beck in his book Test-Driven Development by example explains in “Part I: the money example”2 that one should quickly add a test; run all the tests and see the new one fail […] Kent Beck Implying that the TDD cycle starts with the red. Later on he explains that the cycle continues with green and refactor and back to red.