Ok i figured it out. - make sure your 'test' directory is a source directory, and if not: add it to the source. - the stockwatcher example you can download on the junit test page, misses a 'gwt' in its package name. change this one way or the other.
it should work now. On 25 jun, 03:15, mabogie <[email protected]> wrote: > I have the same problem, and I can't find an answer either. > Something's wrong with eithereclipseor the google docs for starting > atest. > > On 9 jun, 00:04, Marty Fried <[email protected]> wrote: > > > Well, I went through the tutorial with no problems, and I'm ready to > > write that killer app the world's been waiting for. But then, I > > decided I needed to learn how to do jUnit testing, because who wants a > > bugs with a killer app, right? > > > So, I followed the directions as best I knew how, and the results were > > pretty close to what the tutorial showed, with the same directories > > created; the only difference was that under thetestfolder, instead > > of "com.google.gwt.sample.stockwatcher.client", I had one folder per > > node, and had to drill down 5 folders to see the source. > > > However, I don't have the option to run as "StockWatcherTest-hosted". > > In the "Run, configurations..." menu, I see that configuration, but if > > I open it, I see this message at the top: > > "Can not findtestclass > > 'com.google.gwt.sample.stockwatcher.client.StockWatcherTest' in > > project 'StockWatcher'" > > > I don't see any class file anywhere for the StockWatcherTest.java > > file. Should there be one? I've tried everything to try to build it, > > but it seems like it's not a part of the project or something. I'm > > somewhat new still to java, and know nothing so far about jUnit, so > > maybe it's something simple, but I followed the directions carefully, > > and it just doesn't seem to work. I also tried downloading the > > project and importing it intoEclipse, but got the same results, more > > or less. > > > I have jUnit 3.8.2 along with 4.3.1 installed inEclipse(3.4.1). > > > Any ideas? > > > Thanks, > > Marty Fried > > Leftcoast, USA --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
