PHP Object Unit Testing

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

  • Share

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:

Murach's PHP and MySQL (Murach: Training & Reference)Murach's PHP and MySQL (Murach: Training & Reference)This book was developed by the same team that authored Murach's JavaScript and DOM Scripting, and it has the same strong content organization that let... Read More >
PHP and MySQL Web Development (4th Edition)PHP and MySQL Web Development (4th Edition)PHP and MySQL are popular open-source technologies that are ideal for quickly developing database-driven Web applications. PHP is a powerful scripting... Read More >
Head First PHP & MySQLHead First PHP & MySQL

If you're ready to create web pages more complex than those you can build with HTML and CSS, Head First PHP & MySQL is the ultimate learning guide ... Read More >

Feedback


Recommended:

Wordpress Themes the Top Rated and Most Useful Themes - Intro PriceWordpress Themes the Top Rated and Most Useful Themes - Intro PriceNote: Intro Price will be going up soon!

If you’re using Wordpress on your websites, you can’t afford to miss out on this exciting offe... Read More >
WordPress All-in-One For DummiesWordPress All-in-One For DummiesA convenient how-to guide for maximizing your WordPress experience

WordPress is a state-of-the-art blog publishing platform with nearly ten million ... Read More >

Website Design and Development: 100 Questions to Ask Before Building a WebsiteWebsite Design and Development: 100 Questions to Ask Before Building a WebsiteA helpful book-and-video package for building and maintaining a successful Web site

How do you know that you've done everything possible to create a... Read More >


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.