db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Knut Anders Hatlen <Knut.Hat...@Sun.COM>
Subject Re: Cannot run testSuite
Date Tue, 25 Mar 2008 10:04:32 GMT
Christopher Saunders <c.saunders322@gmail.com> writes:

> Hello,
>           I was reading through some of the documentation on how to run the
> test suite for the derby project.  Though my ant tasks run green (both all
> and testing) I saw in the docs that there is a java test to run.  When I try
> to execute the following command I get the following error.
>
> java org.apache.derbyTesting.functionTests.harness.RunSuite derbyall
> Top suite: derbyall
> Exception in thread "main" java.lang.NoClassDefFoundError: junit/framework/Test
>         at org.apache.derbyTesting.functionTests.harness.RunSuite.getSuiteProperties(RunSuite.java:270)
>         at org.apache.derbyTesting.functionTests.harness.RunSuite.main(RunSuite.java:120)
>
> Is there something I am missing here?

Hi,

I think you need to have junit.jar in the classpath when you're running
RunSuite.

-- 
Knut Anders

Mime
View raw message