We don't have a way to test web services automatically yet. Unit tests would need to be written.
We need to make difference between two things:
- test of external functions: external functions mainly are subjected to problems during validation against the ws description. There is also sometime some code around the core functions calls that require testing too.
- test of web service servers: we would need to emulate a client. Here we want to test the problems coming from the server layer, all communication problem. Specially responses that are most commonly to be a problem.
Do we need two different unit tests ?
What is the unit tests status in Moodle 2.0? Are we moving to PHP Unit?