I downloaded Junit 4.5 and am using the TestRunner class to test the AllTests class in the junit/tests package. I am issuing the following command at a DOS prompt:
java -classpath junit-4.5.jar;. junit.textui.Te stRunner junit.tests.All Tests
I get an Error:
java.lang.Class CastException: class junit.tests.All Tests
These classes are already compiled though.
Any help would be appreciated.
java -classpath junit-4.5.jar;. junit.textui.Te stRunner junit.tests.All Tests
I get an Error:
java.lang.Class CastException: class junit.tests.All Tests
These classes are already compiled though.
Any help would be appreciated.
Comment