As some folk know, I have a policy for yaffs that I call "Test
Tuesday". One day a week is devoted to improving test harnesses and
other process infrastructure. That's normally a Tuesday, but sometimes
ends up being a different day. Testing, of course happens all the time
which is something you can do a lot easier with automated test
harnesses. I have a quad core test box that sits maxed out running
tests most of the time. Automated testing is a good investment as once
you've set it up the tests run for free.
I'm always on the look out for new methods to do embedded system/ OS
testing and was interested to see that there's finally a book in the
works devoted to the subject.
The book is Test Driven Design for Embedded C from
www.pragprog.com.
http://pragprog.com/titles/jgade/test-driven-development-for-embedded-c
I've read a lot of Pragmatic Programmers books and they are generally
quite helpful.
The new TDD book is still in beta and can be bought as an ebook/pdf.
You get to download updates as they progress. The dead-tree version
will be available later this year. There is also a forum/feedback
where you can suggest improvements etc. If you want to spread your
embedded wisdom, here's an opportunity...
This book could be a useful political tool for those trying to
convince a development group/ management to adopt TDD as it does do a
reasonable job of explaining many of the benefits.
My impression so far is that the book will be helpful to those
exploring TDD but it is probably not going to significantly benefit
those that are already into TDD in a big way. Some of the areas that
look particularly interesting are still TODO. Perhaps those chapters
will really be more interesting.