Start networking and exchanging professional insights

Register now or log in to join your professional community.

Follow

What useful unit testing tool for php do you use?

Do you use any unit testing tools for PHP? from your experience which one you use and why you prefer this tool?

user-image
Question added by Fadi Alkhateeb , Senior Front End Developer , NexTwo
Date Posted: 2013/09/30
Mahmoud DEHAINI
by Mahmoud DEHAINI , Software Engineer , Mediatechnix

the simpleTest PHP class is the only class that i know....... use it

 

http://www.simpletest.org/

Muhammad Majid Saleem
by Muhammad Majid Saleem , Senior PHP Developer / Project Manager , SwaamTech

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.

Mohammad Rashid
by Mohammad Rashid , Freelance Developer , Developer, Research Officer

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!

 

George Dimitrov
by George Dimitrov , Unix System Administrator , ADVANCED.IO

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.

Faraz Khan
by Faraz Khan , ecommerce manager , Saudi Ceramics Company

Both SimpleTest and PHPunit has proven its usefulness when it comes to unit testing in PHP.

My personal favourite is PHPUnit.

 

Ahmed Galal
by Ahmed Galal , Senior Software Architect , Akhbar El Yom Foundation

PHPUnit for it's annotation and simplicity abilities.

More Questions Like This

Do you need help in adding the right keywords to your CV? Let our CV writing experts help you.