I am having a problem getting JUnit to run. My test-case, java project,
consists of two minimal classes:
1. The app class has main(), hello() and getter and setter methods
2. The TestCase class confirms that what is got is what was set on an
instance of the app class.
Run as > java Application (on the app class) works OK - hello appears.
Run as > JU2 Unit Test (on the TestCase class) fails, throwing:
'ConnectionException: connection refused: connect'
from
'org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.connect'
Why does the test case not run?
How does one go about testing standalone java apps in eclipse?
Bill
Eclipse version 3.1.1, build M20050929--840