Following up to the post about the new version of Google Test, there is the presentation available from its developers:
They cover not only the framework itself and samples of using it but also there is a couple of words about the test driven development methodology. There are some basic recommendations given for writing testable code.
In whole it would be not worse ten minutes to have a look and give it some thoughts.