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 <giallu@gmail.com> wrote:
On Mon, Apr 13, 2009 at 1:06 PM, Robert Munteanu
<robert.munteanu@gmail.com> wrote:
> I'm quite happy to see that starting with
> http://git.mantisbt.org/?p=mantisbt.git;a=commit;h=a6773fcd3fe5e8678913887dd01d3ff946891486
> 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...


[1] http://tinyurl.com/crxd2v


--
Gianluca Sforna

http://morefedora.blogspot.com
http://www.linkedin.com/in/gianlucasforna

------------------------------------------------------------------------------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
_______________________________________________
mantisbt-dev mailing list
mantisbt-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mantisbt-dev