PHP Object Unit Testing

 –  Comments Off on PHP Object Unit Testing

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: Learn PHP in 24 Hours or Less - A Beginner's Guide To Learning PHP Programming Now (PHP, PHP Programming, PHP Course)PHP: Learn PHP in 24 Hours or Less - A Beginner's Guide To Learning PHP Programming Now (PHP, PHP Programming, PHP Course)Learn PHP In 24 Hours Or Less!
In this book you will find detailed instructions on how to learn the basics of the PHP language.

This eBook w... Read More >
PHP and MySQL Web Development (5th Edition) (Developer's Library)PHP and MySQL Web Development (5th Edition) (Developer's Library)

PHP and MySQL Web Development, Fifth Edition

The definitive guide to building database-driven We... Read More >

Murach's PHP and MySQL, 2nd EditionMurach's PHP and MySQL, 2nd Edition

"I can't count how many PHP books I have purchased over the years trying to learn the language. Murach's was the first book that helped me grasp th... Read More >

Filed in: PHP Programming, Webmaster Tools

Comments are closed.