Re: Tests for Console

2006-09-01 Thread Jason Dillon
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 <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]> 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 

Re: Tests for Console

2006-09-01 Thread Jason Dillon
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 <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]> 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, 

Re: Tests for Console

2006-09-01 Thread Jason Dillon
That would kinda suck... as we'd have to re-roll the webapps... I'm  
not really sure why shale needs to unpack the dist and then copy  
stuff around with antrun.


I was able to write a simple login test, which clicks the Console  
link in the welcome app, then logs in to the console... seems to work  
okay.  Not sure if it will remember the session... many need a not so  
simple test to verify that.


I am using the selenium server too, though I just started it by hand.

--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 <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]> 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 

Re: Tests for Console

2006-09-01 Thread Bill Dudney

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 <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]> 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


>>
>






Re: Re: Tests for Console

2006-09-01 Thread Jason Dillon

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 <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]> 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


>>
>




Re: Tests for Console

2006-09-01 Thread Jacek Laskowski

On 9/1/06, Bill Dudney <[EMAIL PROTECTED]> 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).


Great! Never used Selenium and I can't wait till I see it in action
(jumping from a hill or bridge and yelling Geronimo! :-))

Would you mind to open a JIRA item and assign it to you? ;-)

Jacek

--
Jacek Laskowski
http://www.laskowski.net.pl


Re: Tests for Console

2006-08-31 Thread Bill Dudney

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 <[EMAIL PROTECTED]> 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










Re: Tests for Console

2006-08-31 Thread Jason Dillon
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 <[EMAIL PROTECTED]> 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








Re: Tests for Console

2006-08-31 Thread Prasad Kashyap

Cool.. Selenium then. You may monitor this jira
http://issues.apache.org/jira/browse/GERONIMO-2359 as I start building
the integration tests for the server. I'll soon have another patch out
there. Please provide suggestions as to how the framework can be made
to accomodate Selenium too.

Cheers
Prasad

On 8/31/06, Gianny Damour <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]> 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
>>
>>




Re: Tests for Console

2006-08-31 Thread Gianny Damour
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 <[EMAIL PROTECTED]> 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






Re: Re: Tests for Console

2006-08-31 Thread Jason Dillon

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 <[EMAIL PROTECTED]> 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




Re: Tests for Console

2006-08-08 Thread Bill Dudney

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