SimpleTest 1.0.1 beta release is the latest version. It's very stable although PHP5 users will find it doesn't run with E_STRICT : it's still fully PHP4 compatible.

Familiar with unit testing ? Just dive directly into SimpleTest with the one-page starter and the complete API.
Otherwise see the ongoing documentation.
And for example test cases check out the tutorial.

Need help on your testing strategy ? Feel free to join the SimpleTest support mailing-list.

If you need some new functionnality in SimpleTest, you may want to look at the features tracker. Also the bug and patches trackers can be useful.

SimpleTest v1.0.1beta is available for download.

The SimpleTest PHP unit tester is available for download from your nearest SourceForge. It is a PHP unit test and web test framework. Users of JUnit will be familiar with most of the interface. The JWebUnit style functionality is more complete now. It has support for SSL, forms, frames, proxies and basic authentication. The current CVS code should become the 1.0.1 release real soon now and includes file upload and many small improvements. The idea is that common but fiddly PHP tasks, such as logging into a site, can be tested easily.


Here's what the result of your first test would look like :

test with 1 pass

Well not quite. In true TDD fashion, you should see a failing test case :

test with 1 fail

You may also prefer doing your testing with the command-line :

test in cli


While (still) very scattered around different sites, the SimpleTest documentation is quite dense and thorough.

Other type of interesting stuff while starting out with Test Driven Development and SimpleTest include :

A couple of books do use SimpleTest quite extensively :


For translators the documentation is available in XML format : we're always please to add new languages to our code base.

And while we do try our best keeping this tool bug-free, detecting defects and submitting failing test cases and/or patches can come very handy ! Interested ? Drop by the mailing-list, most things tend to happen there...