Chris Hartjes has posted a quick example of a useful method for CakePHP developers - how to test components.
Using the test suite is actually quite easy: drop SimpleTest into your cake/vendors directly and you're ready to start writing your tests. Having written tests using SimpleTest before it wasn't going to be too hard for me to get them done. But there was one little problem: how do you test a component?
He includes an example of such a test, running it on his Email controller to try to send an email via SMTP.