Search code examples
unit-testingtestinggwtgwt-platform

How to test GWT/GWTP project?


I am currently building a web application using GWT, GWTP.

And I have some questions about testings:

  • Is there a Lint-like tool for GWTP or GWT?
  • How to test presenters? (GWTP with Mockito)
  • How to test views?

Thanks.


Solution

  • Google put out a great article about using different testing methodologies with GWT. Definitely check it out. Personally, I use JUnit when I'm testing back-end stuff like business logic, and Selenium for testing the UI and application as a whole from the browser's perspective.