Revenue Source

Welcome to the Revenue Source affiliate marketing forums.

You are viewing our internet marketing and SEO forums as a guest which gives you limited access to most of our discussions.  By joining our free community, you will have access to post affiliate marketing topics, communicate privately with other members (PM), exchange SEO strategies, and access many other special features.  Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems, please don't hesitate to contact us.

Go Back   Revenue Source > Site Design & Development > Programming Help
Reload this Page PHPit.net: An introduction to Test Driven Development with PHP
Tags: , , , , ,

Reply
 
LinkBack Thread Tools Search this Thread
Old
  (#1 (permalink))
Affiliate Blogs is Offline
Revenue Source Veteran
Affiliate Blogs has a brilliant future here!
 
Affiliate Blogs's Avatar
 
Join Date: Oct 2005
Posts: 9,222
Jack of All Trades
CyberSpace United States
   
PHPit.net: An introduction to Test Driven Development with PHP - 11-28-2006

PHPit.net has posted yet another PHP-related tutorial, this time with a focus on test driven development.
There are several different ways of developing something. Most of us tend to simply start with a script, and gradually move along. Perhaps we've even laid out our script before hand, but we tend to stay at the developing phase, and don't really start testing when it's necessary. Basically, we develop first, and test later.
But this might not be the best way, and might lead to problems later. That's why some developers advocate a different way of developing called Test Driven Development (TDD), where by you test first, and develop later.
He uses the SimpleTest frameork to illustrate his points. He starts off with a simple example - settin g up the framework and creating a class to test a class, Biter. The testing class first just looks to see if the Biter class exists, failing before they create the class file it's looking for. With the help of a bit more code and a few more test examples, you get a good jumping off point for creating your own tests to evaluate your code.


PHPit.net: An introduction to Test Driven Development with PHP - Read More...
  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads for: PHPit.net: An introduction to Test Driven Development with PHP
Thread Thread Starter Forum Replies Last Post
Web Site Design Development Affiliate Blogs Affiliate Marketing 0 11-15-2006 06:37 AM
Advanced Program Development Affiliate Marketing News Commission Junction 0 11-02-2006 04:43 PM
Wikipedia, YouTube Driven By Heavy Traffic Affiliate Marketing News Internet Marketing Articles 0 10-27-2006 02:28 AM
Merchant 9982 - Test Country - 10% Off All Products at Test Country Affiliate Marketi Affiliate Marketing News Shareasale Affiliate Deals 0 10-23-2006 12:22 PM
Advanced Program Development Affiliate Marketing News Commission Junction 0 10-17-2006 07:48 PM



© 2004-6 RevenueSource.com.  All rights reserved.  Do not duplicate or redistribute in any form.
This website and its logos/design are property of RevenueSource.com.  All rights reserved. vBSEO 3.2.0 RC7


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34