> 1. How do you verify that a Javascript client works the way a
Javascript
> program would use it?
> IOW, even if you could call JS from Java, what you'd be verifying is that
> whichever contorsionate way of calling JS from Java works, which might not
> necessarily mean it works when a real JS program calls it.
I think the user workflow can be verified separately. Being able to verify the functional
behavior of clients written in multiple languages using a single test suite would be a
huge win, IMO. I agree with you though that this should be coupled with an actual end-user
test where the Javascript client is run against a real node server, a C++ client is
installed from RPMs and built into an application, etc for a complete certification of a
client.
That was my thinking too, often TCK based tools also have a separate
test suite. You could have a common TCK for behavior and a separate test
suite for each client to make sure it works as expected between the
chair and the API.