which unit-test framework for PHP: simpletest, phpunit or? [closed] which unit-test framework for PHP: simpletest, phpunit or? [closed] php php

which unit-test framework for PHP: simpletest, phpunit or? [closed]


I don't think either is going away anytime soon. Simpletest is maintained by a small, but involved group of people.

PHPUnit seems to have a bigger userbase, which may count as an argument for switching. I'm quite happy with Simpletest though.


I haven't used SimpleTest myself, so I can't say much in a way of comparison. Just by observation though, the PHPUnit syntax seems much more verbose.

The PHPUnit Manual is a great source of documentation, and covers most areas of the framework. My only complaint about the manual is that some areas lack detail.

My main reason for using PHPUnit over SimpleTest is that it has great Phing integration.


I just answered a similar question and added that there's phpt. phpt also integrates into PHPUnit.