Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 47106 invoked from network); 25 Aug 2006 23:13:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 25 Aug 2006 23:13:55 -0000 Received: (qmail 64531 invoked by uid 500); 25 Aug 2006 23:13:53 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 64490 invoked by uid 500); 25 Aug 2006 23:13:52 -0000 Mailing-List: contact derby-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: Delivered-To: mailing list derby-dev@db.apache.org Received: (qmail 64481 invoked by uid 99); 25 Aug 2006 23:13:52 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 25 Aug 2006 16:13:52 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [32.97.110.154] (HELO e36.co.us.ibm.com) (32.97.110.154) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 25 Aug 2006 16:13:50 -0700 Received: from westrelay02.boulder.ibm.com (westrelay02.boulder.ibm.com [9.17.195.11]) by e36.co.us.ibm.com (8.13.8/8.12.11) with ESMTP id k7PNDTH6031578 for ; Fri, 25 Aug 2006 19:13:29 -0400 Received: from d03av03.boulder.ibm.com (d03av03.boulder.ibm.com [9.17.195.169]) by westrelay02.boulder.ibm.com (8.13.6/8.13.6/NCO v8.1.1) with ESMTP id k7PNDTij323006 for ; Fri, 25 Aug 2006 17:13:29 -0600 Received: from d03av03.boulder.ibm.com (loopback [127.0.0.1]) by d03av03.boulder.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id k7PNDTVG010093 for ; Fri, 25 Aug 2006 17:13:29 -0600 Received: from [127.0.0.1] (DMCSDJDT41P.usca.ibm.com [9.72.133.68]) by d03av03.boulder.ibm.com (8.12.11.20060308/8.12.11) with ESMTP id k7PNDRDi010043 for ; Fri, 25 Aug 2006 17:13:29 -0600 Message-ID: <44EF8416.5040503@apache.org> Date: Fri, 25 Aug 2006 16:13:26 -0700 From: Daniel John Debrunner User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.3) Gecko/20040910 X-Accept-Language: en-us, en, de MIME-Version: 1.0 To: derby-dev Subject: [junit] Top-level suites added X-Enigmail-Version: 0.90.0.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N 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: org.apache.derbyTesting.functionTests.suites AllPackages - A suite of all the _Suite suites for the function test packages 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 org.apache.derbyTesting.functionTests.suites.Embedded java -Dderby.system.home=${PWD} junit.textui.TestRunner org.apache.derbyTesting.functionTests.suites.Client java -Dderby.system.home=${PWD} junit.textui.TestRunner org.apache.derbyTesting.functionTests.suites.All Comments? Dan.