inicio
mail me!
sindicaci;ón
 
N
E
W
B
I
E
 
G
A
M
E
 
P
R
O
G
R
A
M
M
E
R
S
 

The Art of Unit Testing in PHP

As you may have read in previous posts, I am a Newbie in PHP, although I do have a C/C++ background, I think should be easier for me to get into PHP.  I have an idea of an Online MMO (text based) that I want to create (ala WW2GAME.NET) but before I start, I want to make sure I read up plenty on PHP.

One area of development that people sometimes forget (besides Commenting well) is Testing.  This is were I ran across this great article An Introduction to the Art of Unit Testing in PHP.

The article makes mention of the main reasons why testing usually takes a back seat to development, mainly it is major boring compared to the rest of the production of developing. The author gives several examples of the types of Unit testing, then goes on to give you a bunch of benefits for Unit testing. My favorite being, Unit Testing is Fun =) I think the author will have a difficult time convincing us of that, but you can’t argue with the points made in the article. Unit Testing will save you lots of time in the end, and keep bugs out of production. Which is what we all want in the end.

Leave a Comment

You must be logged in to post a comment.