Will close 412, I haven't used JsTester, but when it comes to wire protocols, I (personally) like testing on the wire. Eg bring up Jetty in a unit test and in another thread run a battery of HttpUnit tests. I cant remember if httpunit really needs a container or not, although I have tended to use it with one.
The other thing about HttpUnit it is enables a fully detached testing mode which can be written to the spec, rather than being tempted to bind to the implementation, and it also adds the opportunity to build rudimentary long running load tests, which can be run on separate cpu's. In one or 2 occasions I have found this identified concurrency issues there were hidden by OS level context switching. but, perhaps both have a place, can anyone comment on JsTester ? Ian 2008/7/3 Louis Ryan (JIRA) <[EMAIL PROTECTED]>: > > [ > https://issues.apache.org/jira/browse/SHINDIG-413?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12610279#action_12610279 > ] > > Louis Ryan commented on SHINDIG-413: > ------------------------------------ > > I think you can close 412 though we do need a testing framework that allows > for the kind of validation being performed there. In particular a test which > loads the canonical data, uses it to satisfy a RESTful request from the > reference JS and then compares the fields on the OpenSocial Javascript > objects to those on the Java model for equality and completeness of transfer. > JsTester seems like one solution to this, the other may be HttpUnit > > I alot of experience with either so Id love to hear thoughts on which we > should use? > >> A sample canonical DB of OpenSocial data in their JSON RESTful form >> ------------------------------------------------------------------- >> >> Key: SHINDIG-413 >> URL: https://issues.apache.org/jira/browse/SHINDIG-413 >> Project: Shindig >> Issue Type: Improvement >> Components: OpenSocial feature (Javascript), RESTful API (Java), >> Sample container & Examples >> Reporter: Louis Ryan >> Attachments: canonicaldb.json >> >> >> This is intended to be a canonical DB of Opensocial data for use in >> unit-tests and sample containers. It should also provide the following >> - Be reference data for inclusion in the RESTful specification >> - Used to validate the JSON structures in the RETful spec and their >> transformations to their implementation specific representations >> - Can be used to implement a RESTful service that supports mutability >> - Define a structure that can be used to represent other in-memory simple >> social networks >> The first step should be to review the structure and data-typing to ensure >> full compliance with the spec, then fill out the sample data to meet our >> testing needs... > > -- > This message is automatically generated by JIRA. > - > You can reply to this email to add a comment to the issue online. > >

