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
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
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
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
Philip Thompson wrote:
Hi. I did some searching in the archives, but didn't quite find what I
was looking for. Maybe a few of you can assist me...
We have an application that's currently in production, but we're
constantly modifying/upgrading it. We did not do unit testing early on
because of
* 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
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
* mbneto <[EMAIL PROTECTED]>:
> I am trying the phpunit2 for unit testing but the examples found in
> the documentation are few and do not address, for example, tests when
> database access is involved.
>
> Perhaps this belongs to a more general question (i.e strategies for
> unit testing) so any u
Allmost forgot about this one:
http://www.phppatterns.com/index.php/article/articleview/33/1/2/
very well written ( phpPatterns() ) covers some other nice topics
as well, allways worth a read.
-- red
Red Wingate wrote:
Used all but 'Generic PHP Framework' and everything was quite fine and
worked o
Used all but 'Generic PHP Framework' and everything was quite fine and
worked out just as i expected. But i was still missing some features
which made me build my own small library to fit into my Framework.
-- red
Rick Fletcher wrote:
Has anyone done any PHP unit testing? I've been looking around
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
Rick Fletcher wrote:
Has anyone done any PHP unit testing? I've been looking around for a unit
testing library to try out. Below are the ones I've found so far:
SimpleTest: http://www.lastcraft.com/simple_test.php
PHPUnit (dead?): http://phpunit.sourceforge.net/
Pear PHPUnit: http://pear.php.net/pa
"Rick Fletcher" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Has anyone done any PHP unit testing? I've been looking around for a unit
> testing library to try out. Below are the ones I've found so far:
>
> SimpleTest: http://www.lastcraft.com/simple_test.php
> PHPUnit (dead?): htt
Check out.
http://www.phpbuilder.com/columns/reiersol20030126.php3
http://pear.php.net/manual/en/packages.phpunit.tutorial.php
Mark
"Karl Traunmueller" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi all,
>
> I've written some small Web applications with
14 matches
Mail list logo