Hi Chirag. Here is something that may help:
A an version of the RESTful compliance tests is available at
http://code.google.com/p/opensocial-resources/source/browse/tests/trunk/java/org/opensocial/restful/tests/AllTests.java

The code is in Java and has the following dependencies:

   - HttpClient: http://hc.apache.org/httpclient-3.x/
   - JSON: http://www.json.org/java/
   - TestNG: http://testng.org

To use it, first set up a configuration file with the BASE_URL and security
tokens:

<http://code.google.com/p/opensocial-resources/source/browse/tests/trunk/java/org/opensocial/restful/framework/config.properties?r=1037>
http://code.google.com/p/opensocial-resources/source/
browse/tests/trunk/java/org/opensocial/restful/framework/
config.properties?r=1037

To run the tests, refer to
http://testng.org/doc/documentation-main.html#running-testng. I've been told
that you can run it as normal Java application or inside of an IDE using
TestNG plug-ins.

I hope this helps,
- Jason

On Thu, Feb 5, 2009 at 9:53 AM, Chirag <chiragsh...@gmail.com> wrote:

> Hi,
>
> What's the best way a container can test if it's compliant with the
> OpenSocial 0.8.1 restful protocol. (http://www.opensocial.org/
> Technical-Resources/opensocial-spec-v081/restful-protocol)
>
> Thanks,
> Chirag
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Implementing OpenSocial Containers" group.
To post to this group, send email to opensocial-container@googlegroups.com
To unsubscribe from this group, send email to 
opensocial-container+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/opensocial-container?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to