Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 55928 invoked from network); 1 Sep 2006 22:00:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 1 Sep 2006 22:00:32 -0000 Received: (qmail 12572 invoked by uid 500); 1 Sep 2006 22:00:29 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 12521 invoked by uid 500); 1 Sep 2006 22:00:29 -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 12510 invoked by uid 99); 1 Sep 2006 22:00:29 -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:00:29 -0700 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=DNS_FROM_RFC_ABUSE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of jason.dillon@gmail.com designates 66.249.82.234 as permitted sender) Received: from [66.249.82.234] (HELO wx-out-0506.google.com) (66.249.82.234) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Sep 2006 15:00:28 -0700 Received: by wx-out-0506.google.com with SMTP id i27so1163489wxd for ; Fri, 01 Sep 2006 15:00:07 -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=gjEj/T/LfXvCXhftHulRVT9mOyzzPqe9kxiGwYKm2of4mOrJiwn8FdJvsWo41DILBuI4P5+BMObjZYCnC7n5WQ2H+iPEs4SEStKHJeEU+Gxw3CxKh+HOOEuR0R5eEkq2cu+yyHkqztjdCSz48JfAFWHjXaZoblbA5DlkgGD8d7I= Received: by 10.70.13.1 with SMTP id 1mr3454839wxm; Fri, 01 Sep 2006 15:00:07 -0700 (PDT) Received: from ?10.0.1.4? ( [24.7.69.241]) by mx.gmail.com with ESMTP id 14sm3506901wrl.2006.09.01.15.00.06; Fri, 01 Sep 2006 15:00:07 -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:00:02 -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 Its too bad the console does not change the title of the page when the portlet changes... its nice and easy to check the title... but its always "Geronimo Console". --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 >>> >>>> >>> >>>> >>> >> >>> > >>> >>> >