db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel John Debrunner <...@apache.org>
Subject [junit] Top-level suites added
Date Fri, 25 Aug 2006 23:13:26 GMT
I added some top-level suites that are intended to be run directly by
JUnit runners, not via the test harness. They are in the package:


AllPackages - A suite of all the _Suite suites for the function test

Embedded - All the tests for embedded. Currently just includes
AllPackages.suite(), but future may add more in different
configurations, e.g. encryption.

Client - All the tests for client, runs the AllPackages.suite() with a
decorator that changes the configuration and boots the network server
(using the existing network server decorator)

All - All the tests, currently includes Client.suite() and
Embedded.suite(). (Eventual replacement for derbyall)

It's not all working fine yet, a couple of issues:

  1) The network server decorator in jdbcapi._Suite clashes with the one
in Client

  2) Some tests fail in the Client suite, need to investigate.
Additional tests were failing due to some test using the old checks to
see if it was running embedded or not, rather than the utilities
provided in the JUnit classes.

I've checked these in for others to see the direction I'm proposing,
with the goal being all tests running under JUnit with no harness.

Example of running these:

java -Dderby.system.home=${PWD} junit.textui.TestRunner

java -Dderby.system.home=${PWD} junit.textui.TestRunner

java -Dderby.system.home=${PWD} junit.textui.TestRunner


View raw message