RE: Debugging JUnit tests in Eclipse - how?
James provided me with the answer I was looking for this morning - use Run >> Debug As >> JUnit Test. Cool - it worked! I had to add a few additional JAR files to my project's classpath to make it run a test succesfully - but I'm stoked that it's working! A comment I left on James's weblog might interest you:
I don't *need* Ant to run JUnit tests, but as strange as this may sound - it's the only way I've ever done it. In fact, I've hardly written or run *any* Java classes with a main() method. ;-)
Crazy, huh? I guess that's what happens when you start out writing JSPs and Servlets vs. command-line or Swing apps.
Posted by Fred Grott on March 09, 2003 at 08:46 AM MST #