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, MySQL, JavaScript & HTML5 All-in-One For DummiesPHP, MySQL, JavaScript & HTML5 All-in-One For DummiesGet the basics on four key web programming tools in one great book!

PHP, JavaScript, and HTML5 are essential programming languages for creating dy... Read More >

Learn PHP: The Complete Beginner’s Guide To Learn PHP Programming (PHP Guide)Learn PHP: The Complete Beginner’s Guide To Learn PHP Programming (PHP Guide)Do you want to learn PHP Programming?
Are you looking for an easy answer to what looks like a complex problem?
PHP programming can be used for w... Read More >
PHP and MySQL Web Development (4th Edition)PHP and MySQL Web Development (4th Edition)PHP and MySQL Web Development, Fourth Edition
The definitive guide to building database-drive Web applications with PHP and MySQL

PHP ... Read More >
Filed in: PHP Programming, Webmaster Tools

Comments are closed.