Brian Marick: Mocks lead to better design faster

Today at the GOOSgaggle event in London, Brian Marick gave the presentation “I Think I Finally Understand Mocks”. Nat Pryce said that I was the person most likely to bother with entering the wireless key (64 character random code, they really do take their security seriously at Zuhlke), in order to blog in real time. In order not to disappoint Nat, here goes… Continue reading

Dark arts of TDD explained

Growing Object Oriented Software, Guided by Tests, by Steve Freeman and Nat Pryce is a TDD book, but unlike any other on the market today. First of all, the book deals mostly with advanced unit testing topics, such as designing tests for readability and mocking, and addresses many common stumbling points that people experience with unit testing a few years after they started their journey, such as applying unit testing in multi-threaded and asynchronous environments. Second, it explains and demonstrates in practice the dynamics of designing software through TDD, which is still a dark art for many programmers. And third, it gives the reader insight into Freeman’s and Pryce’s brains, which is why this book is a must-read for anyone serious about unit testing, even to people that have been doing it in the last century. Continue reading