File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Testing and the fly likes gwt junit in dynamic web project Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Testing
Bookmark "gwt junit in dynamic web project" Watch "gwt junit in dynamic web project" New topic

gwt junit in dynamic web project

riaz mahsha mohamed

Joined: Aug 18, 2010
Posts: 16

i am new to gwt j unit ,i am using eclipse as IDE. In an existing web project i have to write test cases, problem is that the developers while creating the project, they create new dynamic web project and they add gwt dependencies rather than creating gwt web project . problem is that when i try to run the test cases in the project i doesn't runs.

I am unable to run the test cases please suggest me how to run the test cases.

I guess it is because of creating the project as dynamic web project and adding the GWT dependencies rather than creating GWT web project.

give me suggestion .
Jeanne Boyarsky
author & internet detective

Joined: May 26, 2003
Posts: 33124

Does it work if you change it to a GWT project? You can create a new GWT project and copy the project nature.

Does the GWT itself work? If so, your problem wouldn't be the project nature/type. If not, that is a strong contender for the error.

[OCA 8 book] [Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Other Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, TOGAF part 1 and part 2
Chandrasekar Venkatraman

Joined: Aug 23, 2010
Posts: 22

I too have problems when I need to test GWT applications.

In my case, I am searching for a tool that would do Load Testing on my GWT application.
As I am an Linux user, getting a tool is becoming difficult.

Still searching..

Learn to live.. Live to learn..
I agree. Here's the link:
subject: gwt junit in dynamic web project
jQuery in Action, 3rd edition