Jul 18, 2008

TDD: Growing Object-Oriented Sofware

If you have experience with TDD or are interested in TDD then you'll want to give Growing Object-Oriented Software a look. It's a book being written by Nat Pryce and Steve Freeman of MockObjects. The table of contents and the first chapter are online, and you can discuss the content on the Yahoo forum.

Contents (as of July 18th): [source]

I. Introduction
1. What's the point of Test Driven Development?
2. Test-Driven Development with Objects
3. Kick-Starting the Test-Driven Cycle
4. An Introduction to the Tools
5. Review
II. A Worked Example
6. Commissioning an Auction Sniper
7. The Walking Skeleton
8. Passing the First Test
9. Getting ready to bid
10. The Sniper makes a bid
11. The Sniper wins the Auction
12. Towards a real user interface
13. Sniping for Multiple Items
III. Style Notes
14. On Test-Driven Development
15. On Object-Oriented Design
IV. TDD with Mock Objects In Depth
16. The Readability of Tests
17. Constructing Complex Test Data
18. Designing to Fail: the Importance of Diagnostics
19. Brittle and Flexible Tests
20. What Not to Mock
21. Listening to the Tests
22. Time and Testing
23. Unit Testing Concurrent Code with Mock Objects
24. Testing Asynchronous Code
25. Testing Random Behaviour
26. Test-Driven Debugging
V. Appendices
A. Mock Objects from Scratch
B. Case Study. TDD with mocks in Embedded C
C. jMock 2 Cheat Sheet
D. A Comparison of Mock Object Frameworks

3 comments:

Cliff said...

Merlyn, did you know your blog comes up first on a Google search for tdd objective c? See:
http://www.google.com/search?sourceid=mozclient&ie=utf-8&oe=utf-8&q=tdd+objective+c

At any rate, I'm looking for some TDD refernces on Phone devlopment and here you are! What's up man???

Curious Attempt Bunny said...

What's up with that? The only objective c stuff that I see are on the side-bar from my rss subscriptions. Random google noise perhaps?

Sidu said...

Hmm. That's how I got here too - Objective C TDD...