Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 56251 invoked from network); 1 Sep 2006 22:03:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 1 Sep 2006 22:03:07 -0000 Received: (qmail 15836 invoked by uid 500); 1 Sep 2006 22:03:04 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 15804 invoked by uid 500); 1 Sep 2006 22:03:04 -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 15793 invoked by uid 99); 1 Sep 2006 22:03:04 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Sep 2006 15:03:04 -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.227 as permitted sender) Received: from [66.249.82.227] (HELO wx-out-0506.google.com) (66.249.82.227) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Sep 2006 15:03:02 -0700 Received: by wx-out-0506.google.com with SMTP id i27so1164252wxd for ; Fri, 01 Sep 2006 15:02:41 -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=dxYqeSCIxhhg/pCMlxkZeGgUZQ6To5FHXZbQzig0qEHeF57NUr5ga3J0wfCK98YwROoMKNlIo8nqfoegt/Bo2B6+8HZaH0fN6eTJE7kImHjv85NLI78FtQyyD/kTWnPtspwad4bqlU4DL6/8KPwNTcCC2vSXgehtc69CEbypm+E= Received: by 10.70.38.19 with SMTP id l19mr1135995wxl; Fri, 01 Sep 2006 15:02:41 -0700 (PDT) Received: from ?10.0.1.4? ( [24.7.69.241]) by mx.gmail.com with ESMTP id 26sm619520wrl.2006.09.01.15.02.40; Fri, 01 Sep 2006 15:02:41 -0700 (PDT) Mime-Version: 1.0 (Apple Message framework v752.2) In-Reply-To: <0DC19958-4518-45C4-B700-35D2113525DF@apache.org> References: <3FAFD596-9F4D-4A77-A407-991576BF92E4@apache.org> <937046e80608311646p1975ab12u58a7ce4542e1078b@mail.gmail.com> <012237AD-CE39-4C26-8432-055B6BB7E83E@optusnet.com.au> <64A2C3E6-A629-4369-B2A6-EC6D7C190E2E@planet57.com> <2524FC55-99DA-468D-B4F6-4F800BBF589B@apache.org> <937046e80609011424v74d2396aq8fd6d8f3d73896b6@mail.gmail.com> <0DC19958-4518-45C4-B700-35D2113525DF@apache.org> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: Jason Dillon Subject: Re: Tests for Console Date: Fri, 1 Sep 2006 15:02:36 -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 I also think we may want to start these new tests using TestNG, so that we can have per suite setup and tear down... else we will have to hack something up to init Selenium once per test class and that makes it kinda hackish to stop it once it done. --jason On Sep 1, 2006, at 2:37 PM, Bill Dudney wrote: > Hi Jason, > > AFAIK you have to have the selenium stuff in the web app you are > deploying. But that is something I was going to play with over the > weekend. > > My approach was mirror what shale does; > > http://shale.apache.org/shale-apps/selenium.html > > But run the tests with the selenium server. > > TTFN, > > -bd- > > On Sep 1, 2006, at 3:24 PM, Jason Dillon wrote: > >> I was able to finally get the simple GoogleTest example to run in >> Maven... some of the online docs are bunk, but if you download >> selenium-rc 0.8.1 those examples work better. >> >> Still need to automate starting, stopping the selenium server, which >> should happen when the G server is started & stopped. >> >> I briefly took a whack at this and have something... though the Ant >> exec task buffers some output and ends up causing evil exceptions on >> shutdown... which I have no idea why. >> >> I may check in some of what I have into a new top-level testsuite >> module, so that we have a place to apply patches to. >> >> Does anyone know if we need to modify the webapps to include some >> special selenium fluff? >> >> --jason >> >> >> On 8/31/06, Bill Dudney wrote: >>> Hi All, >>> >>> I'm planning on doing a proof of concept for selenium over the >>> weekend to test the console (esp the datasource deployment :-). >>> >>> I will post a patch when i have something meaningful (hopefully by >>> monday). >>> >>> TTFN, >>> >>> -bd- >>> >>> On Aug 31, 2006, at 9:25 PM, Jason Dillon wrote: >>> >>> > Cool... I think Bill Dundney expressed some interest in this as >>> > well. :-) >>> > >>> > I think to start antrun should work fine... and then after we >>> get a >>> > POC working, then we can craft an m2 plugin. >>> > >>> > --jason >>> > >>> > >>> > On Aug 31, 2006, at 7:15 PM, Gianny Damour wrote: >>> > >>> >> I support that. If Selenium is chosen as the tool to automate the >>> >> integration testing of the Admin console, then I am happy to >>> >> bootstrap the effort. On my current project, we are using >>> Selenium >>> >> with script generation via Ruby and it rocks. Our build system is >>> >> Ant, thought, I think that I should be able to make it work >>> with m2. >>> >> >>> >> Thanks, >>> >> Gianny >>> >> >>> >> >>> >> On 01/09/2006, at 9:46 AM, Jason Dillon wrote: >>> >> >>> >>> selenium looks very promising... I've not tried it, but from the >>> >>> docs >>> >>> it looks good... I like the IDE to record. >>> >>> >>> >>> I would love to see a proof of concept for how this could be >>> >>> hooked up >>> >>> to the build for integration tests of the console :-) >>> >>> >>> >>> --jason >>> >>> >>> >>> >>> >>> On 8/8/06, Bill Dudney wrote: >>> >>>> Canoo is quite good; >>> >>>> >>> >>>> http://webtest.canoo.com/webtest/manual/WebTestHome.html >>> >>>> >>> >>>> It uses Ant to execute its tests and AFAIK there is not maven >>> >>>> plugin >>> >>>> to invoke it but should be straight forward to do with maven. >>> >>>> >>> >>>> Its license appears to (this non-lawyer at least) be >>> compatible. >>> >>>> >>> >>>> Also the Struts folks are using Selenium from M2 AFAIK. >>> >>>> >>> >>>> TTFN, >>> >>>> >>> >>>> -bd >>> >>>> On Aug 8, 2006, at 12:14 PM, Prasad Kashyap wrote: >>> >>>> >>> >>>> > Does anybody know of any good open source tests for the >>> console ? >>> >>>> > There are quite a few of those out there, most of them >>> GPL. I >>> >>>> have >>> >>>> > never used any of them. So please share your valuable >>> >>>> experiences, >>> >>>> > comments and thoughts. >>> >>>> > >>> >>>> > The itests would be a good place to stage and run any such >>> tests. >>> >>>> > >>> >>>> > jWebUnit: >>> >>>> > -------------- >>> >>>> > http://jwebunit.sourceforge.net/ >>> >>>> > http://htmlunit.sourceforge.net/ >>> >>>> > http://httpunit.sourceforge.net/ >>> >>>> > >>> >>>> > License: GPL >>> >>>> > >>> >>>> > jWebUnit provides a high-level API for navigating a web >>> >>>> application >>> >>>> > combined with a set of assertions to verify the application's >>> >>>> > correctness. This includes navigation via links, form >>> entry and >>> >>>> > submission, validation of table contents, and other typical >>> >>>> business >>> >>>> > web application features. This code try to stay >>> independent of >>> >>>> the >>> >>>> > libraries behind the scenes. The simple navigation methods >>> and >>> >>>> > ready-to-use assertions allow for more rapid test creation >>> >>>> than using >>> >>>> > only JUnit and HtmlUnit. And if you want to switch from >>> >>>> HtmlUnit to >>> >>>> > the other soon available plugins, no need to rewrite your >>> tests. >>> >>>> > >>> >>>> > jWebUnit also builds with maven 2. So it will be much easier >>> >>>> for us to >>> >>>> > integrate it into our project. >>> >>>> > >>> >>>> > >>> >>>> > Enterprise Web Test >>> >>>> > --------------------------------- >>> >>>> > http://sourceforge.net/projects/webunitproj/ >>> >>>> > License: Common Public License (can we still use it ?) >>> >>>> > >>> >>>> > Enterprise Web Test allows Java programmers to write re- >>> usable >>> >>>> tests >>> >>>> > for web applications that, unlike HttpUnit, "drive" the >>> actual >>> >>>> web >>> >>>> > browser on the actual platform they intend to support. Tests >>> >>>> can be >>> >>>> > leveraged for functional, stress, reliability. >>> >>>> > >>> >>>> > Cheers >>> >>>> > Prasad >>> >>>> >>> >>>> >>> >> >>> > >>> >>> >