views:

1397

answers:

3

I'm a big fan of simpletest because it's what I know. It has excellent support for mocking and web-testing.

But I'm always scared of stagnating so any compelling arguments to switch would be appreciated.

+1  A: 

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.

Ben Dowling
SimpleTest 1.0.1 beta+ seems supported by Phing 2.3.x as per their user guide: http://phing.info/docs/guide/current/chapters/Setup.html#SystemRequirements.
lpfavreau
+1  A: 

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.

troelskn
A: 

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

Till