views:

23

answers:

1

Hi,

I have some needs, for a specific test type:

I would like to check through phpunit tests, some webservices state, in a first time, and the file parsing, in a second.

I use Symfony and SFphpunit plugin, but didn't find tools in phpunit library which can help me to do it. I'm write, or anyone has an answer?

Thanks, Yan

A: 

Well, soap tests are more functional than unit.

I'm not sure if you can write functional tests with sfPHPUnitPlugin. Maybe you should check sfPHPUnit2Plugin for that:

ckWebServicePlugin offers base test classes for soap functional testing (check "Using ckTestSoapClient" part). Of course it uses lime but you could see how it's done and try to implement something similar with PHPUnit.

Good luck!

kuba
Thanks a lot,I look at this now :)
Yan