Issue Details (XML | Word | Printable)

Key: DERBY-2045
Type: Improvement Improvement
Status: Open Open
Priority: Major Major
Assignee: Unassigned
Reporter: Daniel John Debrunner
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Derby

Allow ant targets junit-all and junitreport to be run from a release or snapshot.

Created: 04/Nov/06 01:21 AM   Updated: 12/Mar/07 05:19 PM
Return to search
Component/s: Build tools, Test
Affects Version/s: None
Fix Version/s: None

Time Tracking:
Not Specified

Issue Links:
dependent
 


 Description  « Hide
The junit-all and junitreport are excellent targets for running the tests in a development environment and we should standardize on them as the way to run the tests. Thus it would be useful to be able to run the same set of tests from a binary release without having to download the source.

The top-level suites.All will not be suitable for this purpose as some tests, such as the auto-loading JBDC 4 tests require a separate JVM, which is easily provided by the ant setup. suites.All is a convience class for running almost all of the tests.

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Andrew McIntyre added a comment - 04/Jan/07 05:23 AM
We could split the junitreport targets out to a separate test.xml file and include it in the release/snapshot distributions in the test/ directory along with derbyTesting.jar. To prevent duplication of the testing targets, we could then import test.xml into the top-level buildfile so that the targets are still available when running ant at the top-level.