Return-Path: Delivered-To: apmail-db-derby-commits-archive@www.apache.org Received: (qmail 35436 invoked from network); 26 Oct 2006 07:24:44 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 26 Oct 2006 07:24:41 -0000 Received: (qmail 9764 invoked by uid 500); 25 Oct 2006 17:12:36 -0000 Delivered-To: apmail-db-derby-commits-archive@db.apache.org Received: (qmail 9742 invoked by uid 500); 25 Oct 2006 17:12:36 -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 9731 invoked by uid 99); 25 Oct 2006 17:12:36 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 Oct 2006 10:12:36 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS X-Spam-Check-By: apache.org Received: from [192.87.106.226] (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 Oct 2006 10:12:24 -0700 Received: from ajax.apache.org (localhost [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id D5AACD49BD for ; Wed, 25 Oct 2006 18:12: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: Wed, 25 Oct 2006 17:12:03 -0000 Message-ID: <20061025171203.17441.55932@ajax.apache.org> Subject: [Db-derby Wiki] Update of "DerbyJUnitTesting" by DanDebrunner X-Virus-Checked: Checked by ClamAV on apache.org 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/DerbyJUnitTesting ------------------------------------------------------------------------------ * JUnit 3.8.1 * Description: http://junit.sourceforge.net/junit3.8.1/index.html (valid for 3.8.2 as well) * !JavaDoc: http://www.junit.org/junit/javadoc/3.8.1/index.htm + + This wiki also has an [http://wiki.apache.org/db-derby/IntroToJUnit JUnit Introduction] page. === The suite() method === The `suite()` method is a static method returning the tests to be run. We use it to gain more flexibility in which test methods are executed and the environment they are executed in. For instance, the use of the `suite()` method allows us to use test decorators (the most common case is setting up and populating a common database used by all tests in the suite).