PHP Object Unit Testing

June 5th, 2009  –  Category: PHP Programming, Webmaster Tools  –  No Comments »

  • Share/Bookmark

I recently found a PHP tool that might actually be useful to a lot of developers in helping to keep their PHP code clean and help with bug tracking and diagnosis.  With PHP 5, we now have the ability to delve quite heavily into OOP based scripting.  This basically means creating PHP code as Objects instead of spaghetti code.  The tool I found recently is a simple framework for testing your newly created PHP objects.  It is called SimpleTest.

Basically, you can build your PHP objects and use this tool to create test cases in order to ensure that future upgrades don’t break existing code. This is called Unit Testing.  Check it out.  I’d love to know how you like it.

Related Reading:

PHP Cookbook: Solutions and Examples for PHP Programmers
Beginning PHP and MySQL: From Novice to Professional, Third Edition
PHP for the World Wide Web, Third Edition
Wicked Cool PHP: Real-World Scripts That Solve Difficult Problems
PHP & MySQL For Dummies, 4th Edition

Feedback



Other Information:

Programming Related

Articles we've written related to the topic of PHP Programming.


Website Development Tips

Tips and strategies related to the development of great websites.


General Information & Resources

General information and resources from WarkenSoft Productions.