You need to have the PHP5 soap extension installed.  I also typically run phpunit from inside the tests/soap/ path with the filename to run as a parameter.

On Wed, Apr 15, 2009 at 7:27 AM, Gianluca Sforna <> wrote:
On Mon, Apr 13, 2009 at 1:06 PM, Robert Munteanu
<> wrote:
> I'm quite happy to see that starting with
> we're getting automated tests for the SOAP API.

Me too :)

> I've tried running them using phpunit, but I've had little luck with
> setting the include path right.

Confirmed, I was not able to run the new tests:
[giallu@bingo tests]$ phpunit soap/
PHPUnit 3.3.2 by Sebastian Bergmann.

FPHP Fatal error:  Class 'SoapClient' not found in
/var/www/mantis/mantisbt/tests/soap/SoapBase.php on line 40

> I've resorted to hacking a bootstrap file like:

And that reminds me I somewhat improved the tests directory layout as
part of my work the the new layout[1], I should really ask for
comments and decide how to proceed...


Gianluca Sforna

This email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
mantisbt-dev mailing list