The long way through Software Craftsmanship

GMaur code jam 2015: 01 - Mini-Power Swapper

Jan 12, 2015 - 1 minute read - Comments - code-jamgmaurkatakaizen

Last year we started the program 12 months, 12 katas (as inspired by this repository). This year we want to propose something different: an asynchronous code jam ##New problem: Mini-Power Swapper This post belongs to a series: code-jam Each month (or so) we at GMaur will publish a new problem (and announce it on twitter) and post a solution to the last problem. This month, the Mini-Power Swapper You can fork the repo, commit there and send a pull request.

Kata: Reverse Polish Notation in java

Jan 12, 2015 - 1 minute read - Comments - kataTDDjavaRPNreverse-polish-notationcalculatorusing-notes

I’ve written a RPN string calculator in java, using TDD with these: mockito, hamcrest, junit It’s close to the String Calculator kata, by Roy Osherove. This RPN is using mocks (so more difficult than the String calculator) I’ve tried to practice “Your tests are dragging you down” by J.B Rainsberger (mainly, to use something to write on). This behavior is also explained in the book Dirigido por tests (Spanish) by Carlos Blé.

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: Code review, comments, pull requests are more than welcome Source: Source:

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