What's the state of PHP unit testing frameworks in 2010?

Posted by Pekka on Stack Overflow See other posts from Stack Overflow or by Pekka
Published on 2010-03-09T12:15:08Z Indexed on 2010/03/28 16:13 UTC
Read the original article Hit count: 214

Filed under:
|
|

As far as I can see, PHPUnit is the only serious product in the field at the moment. It is widely used, is integrated into Continuous Integration suites like phpUnderControl, and well regarded.

The thing is, I don't really like working with PHPUnit. I find it hard to set up (PEAR is the only officially supported installation method, and I hate PEAR), sometimes complicated to work with and, correct me if I'm wrong, lacking executability from a web page context (i.e. no CLI, which would really be nice when developing a web app.)

The only competition to I can see is Simpletest, which looks very nice but hasn't seen a new release for almost two years, which tends to rule it out for me - Unit Testing is quite a static field, true, but as I will be deploying those tests alongside web applications, I would like to see active development on the project, at least for security updates and such.

There is a SO question that pretty much confirms what I'm saying: Simple test vs PHPunit Seeing that that is almost two years old as well, though, I think it's time to ask again:

  • Does anybody know any other serious feature-complete unit testing frameworks?

  • Am I wrong in my criticism of PHPUnit?

  • Is there still development going on for SimpleTest?

© Stack Overflow or respective owner

Related posts about php

Related posts about TDD