Register now or log in to join your professional community.
Do you use any unit testing tools for PHP? from your experience which one you use and why you prefer this tool?
Yes. You are right. SimpleTest and PHPUnit are really good for unit testing in PHP. I also like both of them but I didn't use so much because I work in CodeIgniter mostly so I use its own Unit Testing Class for this purpose.
I agree with the comments posted, PHPunit and simple test are great php testing classes. however for smaller projects, such as the SilaTech startup (Edutechnoz) where we made interacvite games to teach arabic we just did manual testing, which is called functional testing.Unit testing might be more useful if you have an automated scripts esp. for refractoring. YOu can easily find guides/blogs/videos on how to try unit tests if you are new to them. Hope this helped!
PHPUnit is one of the best out there, CodeSniffer will keep you in good coding standarts combined with PHP Mess Director you can stay in good quality borders. And of caurse not last Selenium will provide a good web browser testint tool. Some more to go is Jenkins, xdebug, zend debugger.
Both SimpleTest and PHPunit has proven its usefulness when it comes to unit testing in PHP.
My personal favourite is PHPUnit.
PHPUnit for it's annotation and simplicity abilities.