|
From: <kat...@ho...> - 2004-05-17 02:10:48
|
Apologies in advance if I've broken any posting protocols - 1st time poster. I'd like to run the full test suite - I'm running the "testsummary" target, but it fails. See: http://opensource.atlassian.com/projects/spring/browse/SPR-126 Build.xml states to run "tests" target but this fails too - see DB error at bottom. Is there documentation on the build/test targets that would answer the following: Am I doing something wrong? Is the "testsummary" target obsolete? Is there doco. on which targets I should run, so I can be sure my build passes all tests? Are all DB tests (such as transactions) done against HSQLDB - if so do the targets startup the server? If not, what is the environment I need to setup before running tests? - see DB at bottom. Cheers and long live Spring. NB - The tests continue despite this test failing. [junit] Running org.springframework.jdbc.datasource.DataSourceTransactionManagerTests [junit] Tests run: 19, Failures: 0, Errors: 0, Time elapsed: 1.051 sec [junit] Testsuite: org.springframework.jdbc.datasource.DataSourceTransactionManagerTests [junit] Tests run: 19, Failures: 0, Errors: 0, Time elapsed: 1.051 sec [junit] ------------- Standard Error ----------------- [junit] java.lang.RuntimeException: Application exception [junit] at org.springframework.jdbc.datasource.DataSourceTransactionManagerTests.testTransactionRollbackOnly(DataSourceTransactionManagerTests.java:192) [junit] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [junit] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [junit] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [junit] at java.lang.reflect.Method.invoke(Method.java:324) [junit] at junit.framework.TestCase.runTest(TestCase.java:154) [junit] at junit.framework.TestCase.runBare(TestCase.java:127) [junit] at junit.framework.TestResult$1.protect(TestResult.java:106) [junit] at junit.framework.TestResult.runProtected(TestResult.java:124) [junit] at junit.framework.TestResult.run(TestResult.java:109) [junit] at junit.framework.TestCase.run(TestCase.java:118) [junit] at junit.framework.TestSuite.runTest(TestSuite.java:208) [junit] at junit.framework.TestSuite.run(TestSuite.java:203) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:289) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:523) [junit] ------------- ---------------- --------------- |