Return-Path: Delivered-To: apmail-db-derby-commits-archive@www.apache.org Received: (qmail 66797 invoked from network); 5 Oct 2006 18:02:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 5 Oct 2006 18:02:53 -0000 Received: (qmail 65968 invoked by uid 500); 5 Oct 2006 18:02:52 -0000 Delivered-To: apmail-db-derby-commits-archive@db.apache.org Received: (qmail 65898 invoked by uid 500); 5 Oct 2006 18:02:52 -0000 Mailing-List: contact derby-commits-help@db.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: "Derby Development" List-Id: Delivered-To: mailing list derby-commits@db.apache.org Received: (qmail 65887 invoked by uid 99); 5 Oct 2006 18:02:52 -0000 Received: from idunn.apache.osuosl.org (HELO idunn.apache.osuosl.org) (140.211.166.84) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Oct 2006 11:02:52 -0700 X-ASF-Spam-Status: No, hits=0.0 required=5.0 tests= Received: from [192.87.106.226] ([192.87.106.226:33146] helo=ajax.apache.org) by idunn.apache.osuosl.org (ecelerity 2.1.1.8 r(12930)) with ESMTP id 30/76-04543-BC845254 for ; Thu, 05 Oct 2006 11:02:51 -0700 Received: from ajax.apache.org (localhost [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id 497F26ACAA for ; Thu, 5 Oct 2006 18:31:03 +0100 (BST) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Apache Wiki To: derby-commits@db.apache.org Date: Thu, 05 Oct 2006 17:31:03 -0000 Message-ID: <20061005173103.2930.78770@ajax.apache.org> Subject: [Db-derby Wiki] Update of "DerbyJunitTestConfiguration" by DanDebrunner X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Dear Wiki user, You have subscribed to a wiki page or wiki category on "Db-derby Wiki" for change notification. The following page has been changed by DanDebrunner: http://wiki.apache.org/db-derby/DerbyJunitTestConfiguration ------------------------------------------------------------------------------ = Test Configurations = This is about test configurations in a pure JUnit setup (the eventual goal). + [[TableOfContents]] == Goals == * Ideally running the Derby tests should allow multiple configurations to exist concurrently, for example to parallelize test runs or stress test by kicking off multiple runs within the same JVM. @@ -51, +52 @@ || '''Folder''' || '''Description''' || || `system` || Location of `derby.system.home` when set. || || `databases` || Location of databases when `derby.system.home` not set. This will allow clear policy files so that user code does not have permission to write into the databse folders. || + || `logs` || Location of any log files generated by the tests || || `extin, extout, extinout` || Location of input files, output files or files used for both input and output for tests. || || `fail` || Top level folder to store failure information || || `fail/embedded` || Failures for tests with embedded configuration || || `fail/client` || Failures for tests with Derby client configuration || || `fail/db2client` || Failures for tests with DB2 client configuration || - == Default Configuration == + == Default Configuration (embedded) == The default configuration is: * Embedded driver * `derby.system.home=${user.dir}/system` @@ -66, +68 @@ In general tests should not rely on the user name or the database name, this will allow tests to run in multiple configurations without changes. + == Derby Client Configuration == + Setup by decorator created by `TestConfiguration.derbyClientServerDecorator` static methods. + Inherits configuration setup from current configuration but: + * Uses client driver + * Starts network server in its setUp method, server output in `${user.dir}/logs/serverConsoleOutput.log`. + Note network server is not shutdown by the decorator. It is left up for future sets of tests. +