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 6 and MySQL 5 for Dynamic Web Sites: Visual QuickPro Guide
PHP and MySQL Web Development (4th Edition)
Head First PHP & MySQL
PHP for the World Wide Web, Third Edition
PHP Solutions: Dynamic Web Design Made Easy

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.