Re: [PHP] Re: Unit Testing

2009-04-29 Thread Darren Karstens
You are right, when doing unit tests you only want to test the functionality of the current class and so if there are errors its easier to track down which class is causing the problem. I personally use an api called SimpleTest for my php testing and what you can do with this is create Mock object

Re: [PHP] Re: Unit Testing

2009-04-28 Thread Nathan Rixham
Philip Thompson wrote: On Apr 27, 2009, at 11:38 AM, Simon wrote: As a programmer, i always test what I'm coding as i code it (mostly to make sure i dont include typos), but i feel it is best to make proper testing once the component is ready and working fine. If your project is large, it migh

Re: [PHP] Re: Unit Testing

2009-04-27 Thread Philip Thompson
On Apr 27, 2009, at 11:38 AM, Simon wrote: As a programmer, i always test what I'm coding as i code it (mostly to make sure i dont include typos), but i feel it is best to make proper testing once the component is ready and working fine. If your project is large, it might be a good idea to brea

Re: [PHP] Re: Unit Testing

2009-04-27 Thread Simon
As a programmer, i always test what I'm coding as i code it (mostly to make sure i dont include typos), but i feel it is best to make proper testing once the component is ready and working fine. If your project is large, it might be a good idea to break it in several 'modules' or section if possib

Re: [PHP] Re: Unit testing ?

2005-06-07 Thread Matthew Weier O'Phinney
* mbneto <[EMAIL PROTECTED]> : > Thanks for the reply. Your email confirmed what I've read/thought > about the tests. > > I'll look this SimpleTest even tough PHPUnit2 seems to do the job fine. Use the unit testing framework with which you are most comfortable; the ideas remain the same, just the

Re: [PHP] Re: Unit testing ?

2005-06-05 Thread mbneto
Hi Matthew, Thanks for the reply. Your email confirmed what I've read/thought about the tests. I'll look this SimpleTest even tough PHPUnit2 seems to do the job fine. If you have more info (like books, urls, examples) please send me. regards. On 6/2/05, Matthew Weier O'Phinney <[EMAIL PROTEC

Re: [PHP] Re: Unit Testing

2004-06-16 Thread Trevor Nesbit
Hi I'm interested in locating something straight forward to teach to our programming students... Am appreciating the discussion so far... Trevor Nesbit MBS BSc BCom CA PGDipBusAdmin Degree Leader for Bachelor of ICT Programme Leader for Graduate Diploma in eCommerce School of Computing - www.cpi