Warren Tang's Blog: PHP Unit Testing & Mock Objects with SimpleTest plugin for Eclipse
He breaks it down into a few simple steps (some including screeshots):
- Download the plugin
- Install and configure
- Create a basic test with an assertion
- Run the test via "Run As SimpleTest"
He also includes the option for running the test as a web page, but that requires a little bit more code. There's also a quick look at how to run a suite of tests from the IDE (as well as in the browser). for more about using SimpleTest, head over to the project's site.