Hello,

I have these tests for model entities and other supporting classes
that are Javascript and/or serialization compatible.

I want to run these tests in my server side only JUnit tests, outside
of the container. (Spring based server so it's easy to do container-
less testing). These tests are run all days long by developers and
must run super fast (they use an embedded hsqldb database with test
data sourced at the beginning of each test class).

However, for these hybrid classes, I also want to run the same tests
in GWT hosted and web modes.

Question is:

How can I write these tests only once and be able to run them in pure
server-side JUnit tests and also in a GWT (Javascript) environment?

The best scenario would be:

* Write the server-side only test (compatible with JUnit 4 if
possible).
* Extends this test to make it run in JRE emulation and web modes by
implementing an interface thru aggregation of GWT helper classes?

Thank you for your help,

Remy

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to