db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel John Debrunner <...@apache.org>
Subject Re: Running a Derby JUnit test using JUnit directly
Date Thu, 31 Aug 2006 17:00:11 GMT
Daniel John Debrunner wrote:

> Michelle Caisse wrote:
>>Hi Dan, Susan,
>>I'm having trouble trying to run a Derby JUnit test outside of the
>>harness. I've tried three ways of running a test based on the example
>>and other information at
>>http://wiki.apache.org/db-derby/DerbyJUnitTesting and in
>>java/testing/README.htm. None works.  Here's what I get:
>>c:/Program Files/Java/jdk1.6.0/bin/java -Djava.security.manager -Djava.security.policy=derby_tests.policy
-Dderby.system.home=/cygdrive/c/derby/derby/qe/javasrc/webapps/jdbc4 -cp c:/derby/derby/qe/javasrc/webapps/jdbc4//build/WEB-INF/classes/;c:/httpunit-1.6/lib/httpunit.jar;c:/db-derby-;c:/db-derby-;c:/db-derby-;c:/db-derby-;c:/junit3.8.1/junit.jar
junit.textui.TestRunner org.apache.derbyTesting.functionTests.tests.jdbcapi.ProcedureTest

> Try removing the -Djava.security.manager  and
> -Djava.security.policy=derby_tests.policy
> I was just about to update the wiki section about running Derby JUnit tests.

I've updated this page to refect currently reality, can you see if you
follow it if you are successful.



View raw message