[Ocs] Started working on OCS API tests

Henri Bergius henri.bergius at iki.fi
Thu Jun 16 02:53:10 PDT 2011


On Tue, Jun 14, 2011 at 2:10 PM, Henri Bergius <henri.bergius at iki.fi> wrote:
> As discussed in the OCS 2.0 sprint, I'm now working on API tests to
> verify spec compliance of OCS implementations.

Here we go:
https://github.com/bergie/ocs-test#readme

Now only one API call is tested (content distributions list), but more
are easy to add. To see how API calls are tested, check out:
https://github.com/bergie/ocs-test/blob/master/v1/content.coffee

The test suite starts by fetching the provider file of a service. Then
it adds the corresponding tests (based on service module and version)
to the suite and runs the tests.

-- 
Henri Bergius
Motorcycle Adventures and Free Software
http://bergie.iki.fi/

Jabber: henri.bergius at gmail.com
Microblogs: @bergie


More information about the Ocs mailing list