News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

NETTUTS.com:
The Newbie's Guide to Test-Driven Development
August 17, 2010 @ 11:40:15

On NETTUTS.com today there's a new tutorial to help you get started with effective test-driven development in your PHP applications with SimpleTest.

Testing your code is annoying, but the impact of not doing so can be orders of magnitude more annoying! In this article, we'll use test-driven development to write and test our code more effectively.

They start with the basics - what test-driven development is, why it's a good idea and how the whole process works to improve your code. They opt for a bit simpler route for their testing tool and chose SimpleTest. They show you how to set it up and where to start. In order for TDD to work, you really have to plan out your application so you know what you're testing. They give you an example of a simple script and how to start from failing tests to a working app.

0 comments voice your opinion now!
testdriven development tdd tutorial simpletest


blog comments powered by Disqus

Similar Posts

MaltBlue.com: Use RouteMatch in Zend Framework 2 For Easy Routing

Gonzalo Ayuso: Combining Zend Framework2 and Symfony2 components with Composer to build PHP projects

I-Programmer.info: Building a Joomla component using Eclipse for PHP

PHPBuilder.com: AJAX and PHP Part 2 - XML Communication/Processing

PHPMaster.com: Using SPL Iterators, Part 1


Community Events





Don't see your event here?
Let us know!


list bugfix series developer introduction api podcast threedevsandamaybe install community configure language code release library laravel symfony application interview wordpress

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework