Introduction to the Art of Unit Testing in PHP - Comments?
Posted: Mon Dec 03, 2007 11:48 am
I recently started fulfilling an agreement with Zend's Devzone to become a monthly article contributor. My writing style is decidedly verbose but I was wondering if anyone would care to review article #1 and let me know where you think I could improve things? I honestly trust folk here to critique me better than any other place around for PHP.
The first article is a short (at ~3200 words after editing - maybe not so short then) introduction to unit testing and a little TDD. Tends towards a discussion of theory with a few examples thrown in to keep it moving.
http://devzone.zend.com/article/2772-An ... ing-in-PHP
To keep things nice and simple for myself (I learned a lot on this forum over the years - payback time) I'm contributing 5-7% of my article fees to the Devnetwork forum monthly (whatever gets to an even Euro amount). I consider it a sort of free-for-all fund outside my normal salary so the other 95% is heading to various other donations for open source and charitable organisations. I could keep the cash, but it's not that much and I'd only be paying half it to Mr. Taxman anyway
.
The first article is a short (at ~3200 words after editing - maybe not so short then) introduction to unit testing and a little TDD. Tends towards a discussion of theory with a few examples thrown in to keep it moving.
http://devzone.zend.com/article/2772-An ... ing-in-PHP
To keep things nice and simple for myself (I learned a lot on this forum over the years - payback time) I'm contributing 5-7% of my article fees to the Devnetwork forum monthly (whatever gets to an even Euro amount). I consider it a sort of free-for-all fund outside my normal salary so the other 95% is heading to various other donations for open source and charitable organisations. I could keep the cash, but it's not that much and I'd only be paying half it to Mr. Taxman anyway