Comment 2 for bug 1515473

Revision history for this message
Aaron Wells (u-aaronw) wrote :

Well, we have a (very few) written, including these three from the webservices. And we have the infrastructure for writing and running more of them. But it has not been our policy to routinely write unit tests, because Mahara wasn't originally written with unit testing in mind, and hence it would require a lot of refactoring to make most of it unit testable.

The three tests that are failing in MySQL are the ones that Piers wrote for the webservices module, which we disabled because they need some non-trivial shims to make it possible to run those tests successfully. (Specifically, the tests send out curl requests to Mahara's webservices; but the instance of Mahara being accessed by that curl URL is not the same "test instance" that phpunit is using.)

That's why they show up as "SSS" on the end of the Postgres results. The "S" indicates we put a flag on the test saying to skip it.

It's strange that they're not being skipped in MySQL. :-\