Okay, so since the first book has been a pretty good success for me, I’ve been thinking about writing a second book. Will be the same format: PDF, under 100 pages, selling for between $10 and $20. So that got me to thinking “what topic could I go on and on about like an idiot in regards to programming and CakePHP in general?”
I’ve become a believer in Test Driven Development and TATFT practices (thanks to Giles Bowkett for his blog posts espousing the concept. So why not combine that with my knowledge (no jokes from Nate allowed) of CakePHP and produce another inexpensive book. Thus, the seeds of “Test Driven Development Using CakePHP” have been planted in my mind.
Of course, the book will be made easier by the fact that I have a CakePHP project on the go at work where I am using TDD, so once again I will be producing a book with code examples and comments about what I was doing. So, I am asking *you* what sort of things would you like to see in this book about TDD and CakePHP?
Tags: book, CakePHP, TDD, testing

Awesome! This is exactly the kind of thing needed to, er augment the Cake docs on the subject. You should get into SimpleTest’s webtesting abilities as well.
Sounds great, but I need it today!
It would be awesome if you could include some tips on how to properly unit test a plugin.
At work we use a very large Cake plugin as the base for all our projects, but we haven’t been able to properly unit test it.
Love the idea. TDD is something that I’d really like to get into, but it seems like every time I try I run into issues with getting the test db properly built/configured, getting fixtures created and populated properly, etc. To date, I haven’t had (or cared to take) the time that would be required to fight through these issues to make it part of my process. Anything that breaks through that learning curve and “just works” (at the risk of further over-using that phrase) would be a real help.
It would also be nice to see how TDD is applied to a real daily workflow with examples. From there, a progression into more advanced topics like mock objects, etc. would be outstanding.
wow it’s will be great man
but Please talking about some full app in you book and please make it far away from the Blog app
thanks man for Every thing
Nice idea! I’ve been searching for such a book/tutorial and couldn’t find anything.
Personally, I would like to have a step-by-step Tutorial without any auto-generated code from the cake shell/console. And I’m especially interested in WebTesting, because it is a real struggle for me to get along with that.
Recently I read about “Factory instead Fixtures”. It’s not directly related to TDD but I think the idea of avoiding fixtures makes totally sense. So maybe you want to try to avoid fixtures, too.
P.S. Keep up the good work!