I'm trying to debug my Junit test case because its throwing tons of errors. However when I try to debug it instead of being able to run it, it tells me
The test class 'com.baa.client.BaseDynamicFormTest' was not found in module 'com.baa.AccountView'; no compilation unit for that type was seen com.google.gwt.junit.JUnitFatalLaunchException: The test class 'com.baa.client.BaseDynamicFormTest' was not found in module 'com.baa.AccountView'; no compilation unit for that type was seen at com.google.gwt.junit.JUnitShell.checkTestClassInCurrentModule(JUnitShell.java: 605) at com.google.gwt.junit.JUnitShell.runTestImpl(JUnitShell.java: 1189) at com.google.gwt.junit.JUnitShell.runTestImpl(JUnitShell.java: 1152) at com.google.gwt.junit.JUnitShell.runTest(JUnitShell.java: 541) at com.google.gwt.junit.client.GWTTestCase.runTest(GWTTestCase.java:406) at com.google.gwt.junit.client.GWTTestCase.run(GWTTestCase.java:282) So now rather than debugging the errors that are caused when I run the test, I'm trying to debug the errors that only appear when I debug the test! I've seen lots of posts on this basic topic but they've all been Eclipse based and I'm not sure how to translate it for Netbeans. I'm using the GWT netbeans plugin and my test classes live in the test directory not the src directory. This is my module file: <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE module PUBLIC "-//Google Inc.//DTD Google Web Toolkit 2.0.0// EN" "http://google-web-toolkit.googlecode.com/svn/tags/2.0.0/distro- source/core/src/gwt-module.dtd"> <module> <!-- Inherit the core Web Toolkit stuff. --> <inherits name="com.google.gwt.user.User"/> <inherits name="com.smartgwt.SmartGwt"/> <!-- TODO: remove from production --> <!-- provides access to SmartGWT console for debugging, to start console enter javascript:isc.showConsole() in browser URL --> <inherits name="com.smartgwt.tools.SmartGwtTools"/> <!-- SmartGWT skin that we modify --> <!-- TODO: determine if we can rename this --> <inherits name="com.smartclient.theme.silverwave.SilverWave"/> <!--<inherits name="com.smartgwt.SmartGwtNoTheme"/>--> <!-- TODO: remove from production --> <!-- For development, only compile one permutation to save time --> <!-- Possible user.agent settings: ie6,ie8, gecko, gecko1_8(FireFox 2), safari, opera --> <!--<set-property name="user.agent" value="ie8"/>--> <set-property name="user.agent" value="gecko1_8"/> <inherits name="com.google.gwt.junit.JUnit"/> <!-- Include client-side source we might like to test --> <source path="client"/> <!-- Include client-side source for the test cases --> <source path="test"/> <!-- Specify the app entry point class. --> <entry-point class="com.baa.client.WebAppEntryPoint"/> </module> I'm trying to include the test sources in the module but I'm not sure if I did it right. Can anyone help me? Thanks -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.