hi Eric & team,
I'm really enjoying GWT unit tests run wizard,
What do you think about either integrating GWT designer with toolkit jUnitCreator tool or providing new JUnitTest creator wizard which do the same thing as jUnitCreator (test case stub file creation and class-path setup)?
http://code.google.com/webtoolkit/documentation/com.google.gwt.doc.DeveloperGuide.JUnitIntegration.html
(more here in non-yet released docs: http://code.google.com/p/bunsenandbeaker/wiki/DevGuideJUnitCreation)
Currently in GWT Designer I quickly setup GWTTestCases that way (following GWT Toolkit contributor test cases guideline):
- add "test" source folder in project (optionally setup required package structer by hand, e.g. com.google.gwt.user.client.ui)
- use JUnit wizard to create test class based on existing class in "src" package (e.g. com.google.gwt.user.client.ui.RootPanelTest)
- change inheritance to GWTTestCase
- fix errors
- move created class to correct package (e.g. com.google.gwt.user.client.ui);
- fill required getModuleName() by hand (could rise error)
that's hard part, fun part is to run GWT Designer run test wizard after all that,
regards,
Peter