Re: stop! .. time for unit tests

Lukas Kahwe Smith <[email protected]> Wed, 24 Aug 2005 14:16:59 +0200
Newsgroups gmane.comp.php.pear.liveuser
Message-ID <[email protected]>
Arnaud Limbourg wrote:
> So, what tool should be used for testing ?
> 
> A way we could approach that is having three people writing a basic set 
> of test
> in phpt, phpunit and simpletest and compare results. Thoughts ?

Like I said I already did some basics in simpletest and I have
experience with PHPUnit. Personally I would prefer phpt over all
solutions though since it seems the most in the php spirit. Helgi seems
to have the same perference.

However in that case we will have to figure out how to deal with the
session handling. Following is a patch that Marcus Boerger send me a
while ago that supposedly allows testing with different SAPI's:
http://pooteeweet.org/phpt/server-tests.phps

regards,
Lukas