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:

Programming PHP: Creating Dynamic Web PagesProgramming PHP: Creating Dynamic Web Pages

Why is PHP the most widely used programming language on the web? This updated edition teaches everything you need to know to create effective web a... Read More >

PHP, MySQL, & JavaScript All-in-One For Dummies (For Dummies (Computer/Tech))PHP, MySQL, & JavaScript All-in-One For Dummies (For Dummies (Computer/Tech))

Explore the engine that drives the internet

It takes a powerful suite of technologies to drive the most-visited websites in the world. PHP, ... Read More >

PHP Objects, Patterns, and PracticePHP Objects, Patterns, and PracticeAided by three key elements: object fundamentals, design principles, and best practices, you'll learn how to develop elegant and rock solid systems us... Read More >
Filed in: PHP Programming, Webmaster Tools

Comments are closed.