I have a JUnit test that I run on the same class, but recently I wrote an emulated version for GWT. Since the specification is the same, I would like to use the same test case, but I want it to run in the GWT environment, which is usually done by extending the GWTTestCase.
I really want to avoid the pointlessness of copying / pasting, because in the future, tests will probably be added that I should not burden with copying later.
How can I import / inherit my standard unit test to run as a regular test case or GWT test case?
source
share