Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 96406 invoked from network); 2 Sep 2006 21:19:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 2 Sep 2006 21:19:29 -0000 Received: (qmail 10426 invoked by uid 500); 2 Sep 2006 21:19:22 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 10376 invoked by uid 500); 2 Sep 2006 21:19:22 -0000 Mailing-List: contact dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@geronimo.apache.org List-Id: Delivered-To: mailing list dev@geronimo.apache.org Received: (qmail 10361 invoked by uid 99); 2 Sep 2006 21:19:22 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 02 Sep 2006 14:19:22 -0700 X-ASF-Spam-Status: No, hits=2.5 required=10.0 tests=DNS_FROM_RFC_ABUSE,RCVD_IN_BL_SPAMCOP_NET,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of jason.dillon@gmail.com designates 66.249.82.224 as permitted sender) Received: from [66.249.82.224] (HELO wx-out-0506.google.com) (66.249.82.224) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 02 Sep 2006 14:19:21 -0700 Received: by wx-out-0506.google.com with SMTP id i27so1431305wxd for ; Sat, 02 Sep 2006 14:19:01 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:mime-version:in-reply-to:references:content-type:message-id:content-transfer-encoding:from:subject:date:to:x-mailer:sender; b=iGZDwXr+CD0Rv94AiPrnRLQdDpQc7mKjv8Rfh7figsxZkvJyfSLCYu85QAqqtMtXlqpB2Kg2MaQ3PbheSLZp1TTBQeRBRv9UrVWhiZoHR9LJmMfdooLjIXN79mt2CoHRagghUvLxml67TkAfXtCd+Ou2OyNXbYLfN4hICuuCAKU= Received: by 10.70.21.10 with SMTP id 10mr2839933wxu; Sat, 02 Sep 2006 14:19:00 -0700 (PDT) Received: from ?10.0.1.4? ( [24.7.69.241]) by mx.gmail.com with ESMTP id 9sm723823wrl.2006.09.02.14.19.00; Sat, 02 Sep 2006 14:19:00 -0700 (PDT) Mime-Version: 1.0 (Apple Message framework v752.2) In-Reply-To: References: Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: Jason Dillon Subject: Re: Testsuite module, with basic/crude Selenium support Date: Sat, 2 Sep 2006 14:18:57 -0700 To: dev@geronimo.apache.org X-Mailer: Apple Mail (2.752.2) Sender: Jason Dillon X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N On Sep 2, 2006, at 6:28 AM, Bill Dudney wrote: > This is very cool indeed, thanks for putting the prototype > together. I just submitted a patch that makes firefox pop up only > once to run all the tests (it actually pops up twice, once during > selenium.start() and then once for the test suite but the first > time is for a split second). Cool. > It uses a JUnit TestDecorator to run setup only once for the whole > suite. > > IMO until we move to JDK 5 its not a great idea to move to TestNG, > you will get some benefits for sure but the source has to be parsed > at runtime to get at the meta-data (i.e. the info about the tests). > Krufty IMO. Eh... I actually think using extensions to JUnit (especially since surefire can freak out on them, like it is doing in OpenEJB2) is more icky then having TestNG parse some javadoc comments to determine tests. Plus the ability to inject configuration data into tests also seems very appealing. That could be used to easily pass in the browser string to use, then configure the set of tests to run against FF and IE. I think it is worth a try, since this is all new tests... IMO its a great time to do an evaluation of TestNG. > The patch has a comment about invalid XHTML. I believe the invalid > XHTML part of the console is preventing the XPath find from working. Any idea how to fix this... seems like we need to get this working so we can actually perform real content tests. Maybe need to hookup jtidy as an output filter... or I think if we were using sitemesh to render top look then it might reformat. --jason