Where is junit ?

View: New views
1 Messages — Rating Filter:   Alert me  

Where is junit ?

by Linschn :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi !

I have installed junit via macports, with a
$sudo macport install junit

everything went fine, and I located junit.jar in /opt/local/share/java

Problem is : I cannot run any test !
I downloaded a small utility, WhichJunit, to find the problem :
http://www.clarkware.com/software/WhichJUnit.zip
And the output is :
--------------------
junit.framework.Assert class found in
'file:/opt/local/share/java/junit.jar!/junit/framework/Assert.class'

/junit/runner/excluded.properties not found!

junit.tests.AllTests class not found!
To test JUnit, add the JUnit installation directory to the classpath.

junit.samples.AllTests class not found!
To run the JUnit samples, add the JUnit installation directory to the classpath.

Classpath:
.
/opt/local/share/java/junit.jar
--------------------

I don't know where is the junit install directory. I searched everywhere in /opt, I googled it, but nothing arose.


Any help would be appreciated
Thanks in advance