GWTTestCase based tests (and GWTTestSuite, which is a great time
saver) can be run by ant, yes.  Ant, after all, can run the test
runner the same way the junitcreator generated shell script does.
Your issue is probably related to the source path or classpath.

Make sure you either put your test classes in your "client" package,
or modify the module "source-path" so the SOURCE (even of the tests)
can be compiled by GWT.  (Remember, the default GWT source path is the
"client" package for your module.)

Also, make sure the source itself, even the test source, is on the
classpath.



On Sep 18, 9:12 am, pfiction <[EMAIL PROTECTED]> wrote:
> Hi,
>
> Is there a possibility to run Gwt Tests in ant by junit ?
>
> I am trying to do this but following exception stops me:
>
> The test class 'xxx.xxx.xxx.UserCommandExecutorTest' was not found in
> module 'xxx.xxx.xxx.MainModule'; no compilation unit for that type was
> seen
>
> It will be great if someone can help me.
>
> pfiction
--~--~---------~--~----~------------~-------~--~----~
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