Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 75278 invoked from network); 20 Oct 2006 06:12:01 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 20 Oct 2006 06:12:01 -0000 Received: (qmail 19512 invoked by uid 500); 20 Oct 2006 06:12:00 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 19467 invoked by uid 500); 20 Oct 2006 06:12:00 -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 19457 invoked by uid 99); 20 Oct 2006 06:12:00 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 Oct 2006 23:12:00 -0700 X-ASF-Spam-Status: No, hits=0.6 required=10.0 tests=NO_REAL_NAME,UNPARSEABLE_RELAY X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [192.18.1.36] (HELO gmp-ea-fw-1.sun.com) (192.18.1.36) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 Oct 2006 23:11:59 -0700 Received: from d1-emea-09.sun.com (d1-emea-09.sun.com [192.18.2.119] (may be forged)) by gmp-ea-fw-1.sun.com (8.13.6+Sun/8.12.9) with ESMTP id k9K6BXaU019310 for ; Fri, 20 Oct 2006 07:11:37 +0100 (BST) Received: from conversion-daemon.d1-emea-09.sun.com by d1-emea-09.sun.com (Sun Java System Messaging Server 6.2-6.01 (built Apr 3 2006)) id <0J7F00F017TJ5K00@d1-emea-09.sun.com> (original mail from Dyre.Tjeldvoll@Sun.COM) for derby-dev@db.apache.org; Fri, 20 Oct 2006 07:11:33 +0100 (BST) Received: from khepri29.sun.com ([129.159.112.241]) by d1-emea-09.sun.com (Sun Java System Messaging Server 6.2-6.01 (built Apr 3 2006)) with ESMTPSA id <0J7F00A5Z7V73C00@d1-emea-09.sun.com> for derby-dev@db.apache.org; Fri, 20 Oct 2006 07:11:33 +0100 (BST) Date: Fri, 20 Oct 2006 08:11:31 +0200 From: Dyre.Tjeldvoll@Sun.COM Subject: Re: Some JUnit tests now split out from old harness and do not run as part of derbyall In-reply-to: <45379694.8030002@sun.com> Sender: Dyre.Tjeldvoll@Sun.COM To: derby-dev@db.apache.org Message-id: MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7BIT References: <4535073A.5030006@apache.org> <45379694.8030002@sun.com> User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (usg-unix-v) X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Vemund Ostgaard writes: > Daniel John Debrunner wrote: > >> >> I would encourage those that regularly run nightly or other testing >> to add this JUnit test into their framework. I'm sure there will be >> some issues getting it running on all the platforms but they should >> be easy to work through. > > I'm extending the nightly testing with this top-level junit suite, > executed with junit.textui.TestRunner, from tonight. If it turns out > to run ok on all platforms we will start reporting from this suite as > well in the mails from Henri. > >> >> There is more work to be done for some of the tests in All so that >> they also run in the client server by themselves, and I'm working on >> it for the tests in tests.jdbcapi. >> >> I'm also planning on laying out some form of a plan or work items >> that would move us completely over to JUnit. > > When running the top-level suite now, the only output I got was a lot > of dots, the time it took to run the suite and the number of OK tests > run. > > Have anyone considered a framework or interface for logging events and > information in the junit tests? I think it will be very difficult in > the future to analyse test failures only based on the text from an > assertion failure or exception. Especially when we start porting > multhreaded stress tests and other more complicated parts of the old > suite. > > It would also give a warm fussy feeling to be able to see that the > tests actually did something (in addition to all the dots written by > the TestRunner). > > I've been used to using the java logging API (java.util.logging.*) for > similar needs, and think that would cover what is needed for this. > > Other suggestions or views on this? Have you looked at generating html reports via ant? See http://junit.sourceforge.net/doc/faq/faq.htm#running_6 I haven't tried this though... -- dt