On Tuesday, February 12, 2019 at 4:10:42 PM UTC-5, Jens wrote: > > You have to create a a subclass of GwtTestCase which requires you to > specify a GWT module. > > Here an example for java.util.Random emulation within GWT SDK: > https://github.com/gwtproject/gwt/blob/master/user/test/com/google/gwt/emultest/java/util/RandomTest.java > > Thanks. It took a lot of experimenting but I finally got tests to work.
My challenge now is where to put the tests. Using tbroyer's gwt-maven-plugin, the emulated sources go in src/main/super and there is a provision for src/test/super but when I put tests there they do not run (either in eclipse or via 'mvn test'). So far I've had to put the test code in src/test/java. What should to go into src/test/super? -- You received this message because you are subscribed to the Google Groups "GWT Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout.
