First ensure the "test" directory is a source folder:  right-click the
directory, go to "Build Path", and select "Use as source folder".  Next,
populate this with unit tests like usual.  You'll be able to right-click and
select "Run As > GWT JUnit test" after that.

If you want to run these from the command-line, your best bet is probably
create a new dummy project with webAppCreator and copy the relevant parts of
the build.xml test target into a build.xml for your project.

jason

On Sat, Feb 20, 2010 at 2:45 PM, Jaap <[email protected]> wrote:

> Hi,
>
> How do I add easily unit tests to a GWT/AppEngine project that I
> already created a while ago. If I start from scratch I know I can use
> webAppCreator like described here [1] but I already have my project. I
> also noticed that when I create a New Web Application Project in
> Eclipse that a test directory is created but what do I do to make
> tests run that are in there.
>
> Thanks
>
> Jaap
>
>
> [1] http://code.google.com/webtoolkit/doc/latest/tutorial/JUnit.html
>
> --
> 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]<google-web-toolkit%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>
>

-- 
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