Using JUnit ?

Hey there,

ich want to use the integrated JUnit Framework, but I get always the following error:

.class));
    }
}]]>


Error:
Cannot resolve symbol: junit
Cannot resolve symbol: TestSuite
Cannot resolve symbol: testClassName

Is there anyone, who can tell me how i can use this?

Thank you.


1 comment
Comment actions Permalink

On Fri, 25 Feb 2005 20:07:52 +0300, SpecialAgent wrote:

ich want to use the integrated JUnit Framework, but I get always the
following error: public class testGraph {
public static void main(String[] args) {
new junit.textui.TestRunner().doRun(new
TestSuite(<testClassName>.class));
}

>>

Add junit.jar as a project/module dependency in your library path. You
don't need to create your own textui.TestRunner either ( unless you want
to ), the build in GUI test-runner is much much nicer.

0

Please sign in to leave a comment.