You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by Brett Palmer <br...@gmail.com> on 2008/11/07 19:21:40 UTC
Selenium Presentation for OFBiz - Re: OOTB Unit Tests (was Re: Stable trunk?)
FYI,
Here is the link to the presentation on Selenium that I gave at the
ApacheCon/OFBiz conference this week. There were several good presentations
on OFBiz this week. Most of these are available at the us.apahecon.comwebsite.
http://us.apachecon.com/presentation/materials/118/ApacheCon2008_SeleniumXml.pdf
Brett
On Fri, Oct 31, 2008 at 4:03 AM, Erwan de FERRIERES <
erwan.de-ferrieres@nereide.biz> wrote:
> Will the slides be available on the Internet after your presentation ? I'm
> not coming to the ApacheCon, but I am very interested to see what you've
> done with Selenium.
>
>
> Brett Palmer a écrit :
>
> David,
>> We have been using SeleniumRC and an extension called SeleniumXml that I
>> will be presenting on at the ApacheCon conference next week. These could
>> be
>> called from a normal ant process or used in Cruise Control.
>>
>> Let's talk more about this next week at the conference.
>>
>>
>> Brett
>>
>> On Wed, Oct 29, 2008 at 2:34 PM, David E Jones <jonesde@hotwaxmedia.com
>> >wrote:
>>
>> Erwan,
>>>
>>> It would be great to have some tests that go through the user interface,
>>> but we don't have tools for this yet that fit into the automated test
>>> system
>>> in OFBiz (ie so they can run along with other tests, and run
>>> automatically).
>>>
>>> The goal is for the tests to all work with an "ant run-tests" (or "java
>>> -jar ofbiz.jar tests"), and to cover as much of OFBiz OOTB as possible,
>>> and
>>> then to also be easy to customize or comment out those that no longer
>>> apply
>>> after people customize or add on to OFBiz.
>>>
>>> If you guys would like to work on getting Selenium tests to work this
>>> way,
>>> that would be great. Others have looked at this and run into troubles, so
>>> the last idea I heard was to use something different and that might be
>>> more
>>> manual for initial test writing, but probably easier to maintain.
>>>
>>> At Hotwax we've written/recorded a bunch of Selenium tests for clients,
>>> but
>>> they are difficult to maintain and as far as we've gone they also have to
>>> be
>>> manually run and watched.
>>>
>>> -David
>>>
>>>
>>>
>>> On Oct 29, 2008, at 12:09 PM, Erwan de FERRIERES wrote:
>>>
>>> Here at Nereide, we are ready to make selenium tests (it's a task we
>>> have
>>>
>>>> planned to do, but which is always postponed....).
>>>> So, if it's ok with you and that you are interested in that, we are
>>>> going
>>>> to make it real !
>>>>
>>>> David E Jones a écrit :
>>>>
>>>> On Oct 29, 2008, at 11:54 AM, Adam Heath wrote:
>>>>>
>>>>> BJ Freeman wrote:
>>>>>>
>>>>>> there has been an effort to put in test units.
>>>>>>> the only thing lacking, in making it complete is manpower.
>>>>>>>
>>>>>>> And fixing the existing tests that are broken. :|
>>>>>>
>>>>>> This is an area where it would be REALLY GREAT to have more effort go
>>>>> into the project. Yep, great enough to capitalize "REALLY" and "GREAT".
>>>>> Who has worked on the unit tests that are in place? I'll admit I
>>>>> haven't
>>>>> much except on the toolset and some of the framework unit tests and
>>>>> helping
>>>>> some of the Hotwax Media people who wrote many of the tests that now
>>>>> exist,
>>>>> especially the ones in the various applications.
>>>>> Is there anyone interested in working on this stuff? If there are
>>>>> enough
>>>>> people who want to actively work on it we can setup some coordination
>>>>> resources (ie Jira tasks, confluence pages, etc). If there are only 2-3
>>>>> then
>>>>> coordination through the mailing list would be better, and more visible
>>>>> to
>>>>> others possibly interested.
>>>>> -David
>>>>>
>>>>> --
>>>> - Erwan -
>>>>
>>>>
>>>
>>
> --
> - Erwan -
>
Re: Selenium Presentation for OFBiz - Re: OOTB Unit Tests (was Re:
Stable trunk?)
Posted by Shi Yusen <sh...@langhua.cn>.
Thanks. I see now. For some other open source communities, they may say
no Apache license as they may have their own brand.
Some bridges are needed.
I'll build a community website (langhua.org) in 2009. I'll use this
slogan for the community: they are mountains, we are a small valley.
Regards,
Shi Yusen
在 2008-11-13四的 14:04 -0600,David E Jones写道:
> Pierre,
>
> The not invented here excuse? I do so wish it were that simple.
> Unfortunately, it is not. Fortunately, OFBiz is way more mature than
> that and the people involved are way more mature and experienced than
> that.
>
> OFBiz has well over 100 third party libraries in it and most of those
> are not from other ASF projects. Also, keep in mind that OFBiz was not
> originally (ie from 2001) part of the ASF, and in 2006 when we were
> working on the ASF incubation the only libraries that changed were to
> use the transaction manager in Geronimo.
>
> For LGPL libraries it is true that we can write code that uses the
> libraries, but we can't distribute the libraries with OFBiz. That
> means we have to turn off all of the features that depend on them by
> default, and turn off the build sections related to them. There are a
> whole bunch of these already, and they are enough of a pain that
> basically NO ONE uses them (see the ofbiz/OPTIONAL_LIBRARIES file for
> details). If people had to do this for lots of libraries to do basic
> things with OFBiz, it would kill the project. And, we've found through
> experience that features that require these sorts of external/optional
> libraries are simply not used. And for testing, we want it to be used,
> preferably by everyone.
>
> In fact that's the point: we're trying to get testing infrastructure
> in place that is good enough and easy enough so that everyone _will_
> start using it.
>
> For GPL libraries we can't even write code that uses them, otherwise
> we'd have to license that code under the GPL license. We have chosen
> for very significant reasons to use a BSD-style license, namely Apache
> License 2.0, and we don't want OFBiz to be GPL licensed. If any part
> of OFBiz was GPL licensed (not allowed at the ASF for legal reasons)
> then any other code in the project that uses it would have to be GPL
> licensed, and so on. So, it's not an option for ANYTHING, because we
> don't want it to happen to EVERYTHING. If OFBiz was GPL licensed it
> would remove a lot of motivations that people have to work on it, make
> it incompatible with the customizations that most end-user
> organizations want to do, and basically kill the project (notice how
> no community-driven ERP projects exist that are GPL licensed, just
> commercially driven ones and they want to use GPL so that people have
> a reason to buy a commercial license).
>
> -David
>
>
> On Nov 13, 2008, at 1:39 PM, Pierre Smits wrote:
>
> > Several times now I have seen statement that non Apache-products
> > can't or
> > shouldn't be used because they gpl or hpl (even worse as somebody
> > mentioned). That sounds like 'we don't want it, because we (as in ASF
> > commiters) didn't invent it.
> >
> > In my humble opinion this is not kosher. If a good product is out
> > there and
> > it has an open source licence, it can be used. The only thing
> > required is a
> > set of instructions how to use and/or include it in a user own
> > installation
> > of OFBiz.
> >
> > Regards,
> >
> > Pierre.
> >
> > On Thu, Nov 13, 2008 at 7:05 PM, Adam Heath <do...@brainfood.com>
> > wrote:
> >
> >> Ean Schuessler wrote:
> >>> Cobertura is a good Free Software alternative to Clover. It may
> >>> not be
> >> everything that Clover is but its certainly not too bad.
> >>
> >> Except that it is gpl. There are no apache-compatible coverage
> >> tools.
> >> I looked :(
> >>
> >> However, any modifications I can come up with to ofbiz, to make it
> >> have
> >> a plugin-type model for supporting any byte-code-modifying coverage
> >> tool, would be under the correct license.
> >>
> >> ps: Hint - I already have this plugin mostly done, just haven't
> >> written
> >> an implementation.
> >>
>
Re: Selenium Presentation for OFBiz - Re: OOTB Unit Tests (was Re: Stable trunk?)
Posted by David E Jones <da...@hotwaxmedia.com>.
Pierre,
The not invented here excuse? I do so wish it were that simple.
Unfortunately, it is not. Fortunately, OFBiz is way more mature than
that and the people involved are way more mature and experienced than
that.
OFBiz has well over 100 third party libraries in it and most of those
are not from other ASF projects. Also, keep in mind that OFBiz was not
originally (ie from 2001) part of the ASF, and in 2006 when we were
working on the ASF incubation the only libraries that changed were to
use the transaction manager in Geronimo.
For LGPL libraries it is true that we can write code that uses the
libraries, but we can't distribute the libraries with OFBiz. That
means we have to turn off all of the features that depend on them by
default, and turn off the build sections related to them. There are a
whole bunch of these already, and they are enough of a pain that
basically NO ONE uses them (see the ofbiz/OPTIONAL_LIBRARIES file for
details). If people had to do this for lots of libraries to do basic
things with OFBiz, it would kill the project. And, we've found through
experience that features that require these sorts of external/optional
libraries are simply not used. And for testing, we want it to be used,
preferably by everyone.
In fact that's the point: we're trying to get testing infrastructure
in place that is good enough and easy enough so that everyone _will_
start using it.
For GPL libraries we can't even write code that uses them, otherwise
we'd have to license that code under the GPL license. We have chosen
for very significant reasons to use a BSD-style license, namely Apache
License 2.0, and we don't want OFBiz to be GPL licensed. If any part
of OFBiz was GPL licensed (not allowed at the ASF for legal reasons)
then any other code in the project that uses it would have to be GPL
licensed, and so on. So, it's not an option for ANYTHING, because we
don't want it to happen to EVERYTHING. If OFBiz was GPL licensed it
would remove a lot of motivations that people have to work on it, make
it incompatible with the customizations that most end-user
organizations want to do, and basically kill the project (notice how
no community-driven ERP projects exist that are GPL licensed, just
commercially driven ones and they want to use GPL so that people have
a reason to buy a commercial license).
-David
On Nov 13, 2008, at 1:39 PM, Pierre Smits wrote:
> Several times now I have seen statement that non Apache-products
> can't or
> shouldn't be used because they gpl or hpl (even worse as somebody
> mentioned). That sounds like 'we don't want it, because we (as in ASF
> commiters) didn't invent it.
>
> In my humble opinion this is not kosher. If a good product is out
> there and
> it has an open source licence, it can be used. The only thing
> required is a
> set of instructions how to use and/or include it in a user own
> installation
> of OFBiz.
>
> Regards,
>
> Pierre.
>
> On Thu, Nov 13, 2008 at 7:05 PM, Adam Heath <do...@brainfood.com>
> wrote:
>
>> Ean Schuessler wrote:
>>> Cobertura is a good Free Software alternative to Clover. It may
>>> not be
>> everything that Clover is but its certainly not too bad.
>>
>> Except that it is gpl. There are no apache-compatible coverage
>> tools.
>> I looked :(
>>
>> However, any modifications I can come up with to ofbiz, to make it
>> have
>> a plugin-type model for supporting any byte-code-modifying coverage
>> tool, would be under the correct license.
>>
>> ps: Hint - I already have this plugin mostly done, just haven't
>> written
>> an implementation.
>>
Re: Selenium Presentation for OFBiz - Re: OOTB Unit Tests (was Re:
Stable trunk?)
Posted by Shi Yusen <sh...@langhua.cn>.
Glad finnally you point this out. The licenses shouldn't the excuse to
cease OFBiz's progress.
I think it's easy enough to write such things in build.xml and download
the jars during build though the jars are not allowed to put into
Apache's svn.
Shi Yusen/Beijing Langhua Ltd.
在 2008-11-13四的 20:39 +0100,Pierre Smits写道:
> Several times now I have seen statement that non Apache-products can't or
> shouldn't be used because they gpl or hpl (even worse as somebody
> mentioned). That sounds like 'we don't want it, because we (as in ASF
> commiters) didn't invent it.
>
> In my humble opinion this is not kosher. If a good product is out there and
> it has an open source licence, it can be used. The only thing required is a
> set of instructions how to use and/or include it in a user own installation
> of OFBiz.
>
> Regards,
>
> Pierre.
>
> On Thu, Nov 13, 2008 at 7:05 PM, Adam Heath <do...@brainfood.com> wrote:
>
> > Ean Schuessler wrote:
> > > Cobertura is a good Free Software alternative to Clover. It may not be
> > everything that Clover is but its certainly not too bad.
> >
> > Except that it is gpl. There are no apache-compatible coverage tools.
> > I looked :(
> >
> > However, any modifications I can come up with to ofbiz, to make it have
> > a plugin-type model for supporting any byte-code-modifying coverage
> > tool, would be under the correct license.
> >
> > ps: Hint - I already have this plugin mostly done, just haven't written
> > an implementation.
> >
Re: Selenium Presentation for OFBiz - Re: OOTB Unit Tests (was Re: Stable trunk?)
Posted by Scott Gray <le...@gmail.com>.
Hi Pierre
It has nothing to do with who invented it, it's about the restrictions
that other licenses place on the software. GPL type licenses are
simply not compatible with the Apache license. If you want to know
more you should google the topic but it is definitely not a matter of
pride.
Regards
Scott
2008/11/14 Pierre Smits <pi...@gmail.com>:
> Several times now I have seen statement that non Apache-products can't or
> shouldn't be used because they gpl or hpl (even worse as somebody
> mentioned). That sounds like 'we don't want it, because we (as in ASF
> commiters) didn't invent it.
>
> In my humble opinion this is not kosher. If a good product is out there and
> it has an open source licence, it can be used. The only thing required is a
> set of instructions how to use and/or include it in a user own installation
> of OFBiz.
>
> Regards,
>
> Pierre.
>
> On Thu, Nov 13, 2008 at 7:05 PM, Adam Heath <do...@brainfood.com> wrote:
>
>> Ean Schuessler wrote:
>> > Cobertura is a good Free Software alternative to Clover. It may not be
>> everything that Clover is but its certainly not too bad.
>>
>> Except that it is gpl. There are no apache-compatible coverage tools.
>> I looked :(
>>
>> However, any modifications I can come up with to ofbiz, to make it have
>> a plugin-type model for supporting any byte-code-modifying coverage
>> tool, would be under the correct license.
>>
>> ps: Hint - I already have this plugin mostly done, just haven't written
>> an implementation.
>>
>
Re: Selenium Presentation for OFBiz - Re: OOTB Unit Tests (was Re: Stable trunk?)
Posted by Pierre Smits <pi...@gmail.com>.
Several times now I have seen statement that non Apache-products can't or
shouldn't be used because they gpl or hpl (even worse as somebody
mentioned). That sounds like 'we don't want it, because we (as in ASF
commiters) didn't invent it.
In my humble opinion this is not kosher. If a good product is out there and
it has an open source licence, it can be used. The only thing required is a
set of instructions how to use and/or include it in a user own installation
of OFBiz.
Regards,
Pierre.
On Thu, Nov 13, 2008 at 7:05 PM, Adam Heath <do...@brainfood.com> wrote:
> Ean Schuessler wrote:
> > Cobertura is a good Free Software alternative to Clover. It may not be
> everything that Clover is but its certainly not too bad.
>
> Except that it is gpl. There are no apache-compatible coverage tools.
> I looked :(
>
> However, any modifications I can come up with to ofbiz, to make it have
> a plugin-type model for supporting any byte-code-modifying coverage
> tool, would be under the correct license.
>
> ps: Hint - I already have this plugin mostly done, just haven't written
> an implementation.
>
Re: Selenium Presentation for OFBiz - Re: OOTB Unit Tests (was Re:
Stable trunk?)
Posted by Adam Heath <do...@brainfood.com>.
Ean Schuessler wrote:
> Cobertura is a good Free Software alternative to Clover. It may not be everything that Clover is but its certainly not too bad.
Except that it is gpl. There are no apache-compatible coverage tools.
I looked :(
However, any modifications I can come up with to ofbiz, to make it have
a plugin-type model for supporting any byte-code-modifying coverage
tool, would be under the correct license.
ps: Hint - I already have this plugin mostly done, just haven't written
an implementation.
Re: Selenium Presentation for OFBiz - Re: OOTB Unit Tests (was Re: Stable trunk?)
Posted by David E Jones <da...@hotwaxmedia.com>.
On Nov 13, 2008, at 6:57 PM, Adam Heath wrote:
> Jacques Le Roux wrote:
>> Thanks Ean,
>>
>> I just found that Clover is free for open source projects and non-
>> profit
>> institutions like ASF
>> http://en.wikipedia.org/wiki/Atlassian_clover
>
> So non-free then.
... AND non-open-source.
It would be nice to find something that allows for more independent
infrastructure. One direction we're trying to push is to move away
from other Atlassian products, like Jira and Confluence. Not that they
aren't good, but we want to start "eating our own dog-food".
-David
Re: Selenium Presentation for OFBiz - Re: OOTB Unit Tests (was Re:
Stable trunk?)
Posted by Adam Heath <do...@brainfood.com>.
Jacques Le Roux wrote:
> Thanks Ean,
>
> I just found that Clover is free for open source projects and non-profit
> institutions like ASF
> http://en.wikipedia.org/wiki/Atlassian_clover
So non-free then.
Re: Selenium Presentation for OFBiz - Re: OOTB Unit Tests (was Re: Stable trunk?)
Posted by Jacques Le Roux <ja...@les7arts.com>.
Thanks Ean,
I just found that Clover is free for open source projects and non-profit institutions like ASF
http://en.wikipedia.org/wiki/Atlassian_clover
Cobertura looks good too (but I have no more to say at this stage).
Jacques
From: "Ean Schuessler" <ea...@brainfood.com>
> Cobertura is a good Free Software alternative to Clover. It may not be everything that Clover is but its certainly not too bad.
>
> http://webslinger.org/cobertura/
>
> ----- "Jacques Le Roux" <ja...@les7arts.com> wrote:
>
>> > Just curious, have you ever used/tested Clover
>> > http://www.atlassian.com/software/clover/ ?
>
> --
> Ean Schuessler, CTO Brainfood.com
> ean@brainfood.com - http://www.brainfood.com - 214-720-0700 x 315
>
Re: Selenium Presentation for OFBiz - Re: OOTB Unit Tests (was Re:
Stable trunk?)
Posted by Ean Schuessler <ea...@brainfood.com>.
Cobertura is a good Free Software alternative to Clover. It may not be everything that Clover is but its certainly not too bad.
http://webslinger.org/cobertura/
----- "Jacques Le Roux" <ja...@les7arts.com> wrote:
> > Just curious, have you ever used/tested Clover
> > http://www.atlassian.com/software/clover/ ?
--
Ean Schuessler, CTO Brainfood.com
ean@brainfood.com - http://www.brainfood.com - 214-720-0700 x 315
Re: Selenium Presentation for OFBiz - Re: OOTB Unit Tests (was Re: Stable trunk?)
Posted by Jacques Le Roux <ja...@les7arts.com>.
Thanks Brett,
This question because maybe we could get a free licence in the ASF context, not sure though
Jacques
From: "Brett Palmer" <br...@gmail.com>
Jacques,
I've worked with people that have used it and they speak very highly of the
product. I haven't tried it myself though.
Brett
On Sat, Nov 8, 2008 at 2:28 PM, Jacques Le Roux <
jacques.le.roux@les7arts.com> wrote:
> Hi Brett,
>
> Just curious, have you ever used/tested Clover
> http://www.atlassian.com/software/clover/ ?
>
> Thanks
>
> Jacques
>
> From: "Brett Palmer" <br...@gmail.com>
> FYI,
>
> Here is the link to the presentation on Selenium that I gave at the
> ApacheCon/OFBiz conference this week. There were several good
> presentations
> on OFBiz this week. Most of these are available at the
> us.apahecon.comwebsite.
>
>
> http://us.apachecon.com/presentation/materials/118/ApacheCon2008_SeleniumXml.pdf
>
>
> Brett
>
>
>
> On Fri, Oct 31, 2008 at 4:03 AM, Erwan de FERRIERES <
> erwan.de-ferrieres@nereide.biz> wrote:
>
> Will the slides be available on the Internet after your presentation ? I'm
>> not coming to the ApacheCon, but I am very interested to see what you've
>> done with Selenium.
>>
>>
>> Brett Palmer a écrit :
>>
>> David,
>>
>>> We have been using SeleniumRC and an extension called SeleniumXml that I
>>> will be presenting on at the ApacheCon conference next week. These could
>>> be
>>> called from a normal ant process or used in Cruise Control.
>>>
>>> Let's talk more about this next week at the conference.
>>>
>>>
>>> Brett
>>>
>>> On Wed, Oct 29, 2008 at 2:34 PM, David E Jones <jonesde@hotwaxmedia.com
>>> >wrote:
>>>
>>> Erwan,
>>>
>>>>
>>>> It would be great to have some tests that go through the user interface,
>>>> but we don't have tools for this yet that fit into the automated test
>>>> system
>>>> in OFBiz (ie so they can run along with other tests, and run
>>>> automatically).
>>>>
>>>> The goal is for the tests to all work with an "ant run-tests" (or "java
>>>> -jar ofbiz.jar tests"), and to cover as much of OFBiz OOTB as possible,
>>>> and
>>>> then to also be easy to customize or comment out those that no longer
>>>> apply
>>>> after people customize or add on to OFBiz.
>>>>
>>>> If you guys would like to work on getting Selenium tests to work this
>>>> way,
>>>> that would be great. Others have looked at this and run into troubles,
>>>> so
>>>> the last idea I heard was to use something different and that might be
>>>> more
>>>> manual for initial test writing, but probably easier to maintain.
>>>>
>>>> At Hotwax we've written/recorded a bunch of Selenium tests for clients,
>>>> but
>>>> they are difficult to maintain and as far as we've gone they also have
>>>> to
>>>> be
>>>> manually run and watched.
>>>>
>>>> -David
>>>>
>>>>
>>>>
>>>> On Oct 29, 2008, at 12:09 PM, Erwan de FERRIERES wrote:
>>>>
>>>> Here at Nereide, we are ready to make selenium tests (it's a task we
>>>> have
>>>>
>>>> planned to do, but which is always postponed....).
>>>>> So, if it's ok with you and that you are interested in that, we are
>>>>> going
>>>>> to make it real !
>>>>>
>>>>> David E Jones a écrit :
>>>>>
>>>>> On Oct 29, 2008, at 11:54 AM, Adam Heath wrote:
>>>>>
>>>>>>
>>>>>> BJ Freeman wrote:
>>>>>>
>>>>>>>
>>>>>>> there has been an effort to put in test units.
>>>>>>>
>>>>>>>> the only thing lacking, in making it complete is manpower.
>>>>>>>>
>>>>>>>> And fixing the existing tests that are broken. :|
>>>>>>>>
>>>>>>>
>>>>>>> This is an area where it would be REALLY GREAT to have more effort
>>>>>>> go
>>>>>>>
>>>>>> into the project. Yep, great enough to capitalize "REALLY" and
>>>>>> "GREAT".
>>>>>> Who has worked on the unit tests that are in place? I'll admit I
>>>>>> haven't
>>>>>> much except on the toolset and some of the framework unit tests and
>>>>>> helping
>>>>>> some of the Hotwax Media people who wrote many of the tests that now
>>>>>> exist,
>>>>>> especially the ones in the various applications.
>>>>>> Is there anyone interested in working on this stuff? If there are
>>>>>> enough
>>>>>> people who want to actively work on it we can setup some coordination
>>>>>> resources (ie Jira tasks, confluence pages, etc). If there are only
>>>>>> 2-3
>>>>>> then
>>>>>> coordination through the mailing list would be better, and more
>>>>>> visible
>>>>>> to
>>>>>> others possibly interested.
>>>>>> -David
>>>>>>
>>>>>> --
>>>>>>
>>>>> - Erwan -
>>>>>
>>>>>
>>>>>
>>>>
>>> --
>> - Erwan -
>>
>>
>
Re: Selenium Presentation for OFBiz - Re: OOTB Unit Tests (was Re: Stable trunk?)
Posted by Brett Palmer <br...@gmail.com>.
Jacques,
I've worked with people that have used it and they speak very highly of the
product. I haven't tried it myself though.
Brett
On Sat, Nov 8, 2008 at 2:28 PM, Jacques Le Roux <
jacques.le.roux@les7arts.com> wrote:
> Hi Brett,
>
> Just curious, have you ever used/tested Clover
> http://www.atlassian.com/software/clover/ ?
>
> Thanks
>
> Jacques
>
> From: "Brett Palmer" <br...@gmail.com>
> FYI,
>
> Here is the link to the presentation on Selenium that I gave at the
> ApacheCon/OFBiz conference this week. There were several good
> presentations
> on OFBiz this week. Most of these are available at the
> us.apahecon.comwebsite.
>
>
> http://us.apachecon.com/presentation/materials/118/ApacheCon2008_SeleniumXml.pdf
>
>
> Brett
>
>
>
> On Fri, Oct 31, 2008 at 4:03 AM, Erwan de FERRIERES <
> erwan.de-ferrieres@nereide.biz> wrote:
>
> Will the slides be available on the Internet after your presentation ? I'm
>> not coming to the ApacheCon, but I am very interested to see what you've
>> done with Selenium.
>>
>>
>> Brett Palmer a écrit :
>>
>> David,
>>
>>> We have been using SeleniumRC and an extension called SeleniumXml that I
>>> will be presenting on at the ApacheCon conference next week. These could
>>> be
>>> called from a normal ant process or used in Cruise Control.
>>>
>>> Let's talk more about this next week at the conference.
>>>
>>>
>>> Brett
>>>
>>> On Wed, Oct 29, 2008 at 2:34 PM, David E Jones <jonesde@hotwaxmedia.com
>>> >wrote:
>>>
>>> Erwan,
>>>
>>>>
>>>> It would be great to have some tests that go through the user interface,
>>>> but we don't have tools for this yet that fit into the automated test
>>>> system
>>>> in OFBiz (ie so they can run along with other tests, and run
>>>> automatically).
>>>>
>>>> The goal is for the tests to all work with an "ant run-tests" (or "java
>>>> -jar ofbiz.jar tests"), and to cover as much of OFBiz OOTB as possible,
>>>> and
>>>> then to also be easy to customize or comment out those that no longer
>>>> apply
>>>> after people customize or add on to OFBiz.
>>>>
>>>> If you guys would like to work on getting Selenium tests to work this
>>>> way,
>>>> that would be great. Others have looked at this and run into troubles,
>>>> so
>>>> the last idea I heard was to use something different and that might be
>>>> more
>>>> manual for initial test writing, but probably easier to maintain.
>>>>
>>>> At Hotwax we've written/recorded a bunch of Selenium tests for clients,
>>>> but
>>>> they are difficult to maintain and as far as we've gone they also have
>>>> to
>>>> be
>>>> manually run and watched.
>>>>
>>>> -David
>>>>
>>>>
>>>>
>>>> On Oct 29, 2008, at 12:09 PM, Erwan de FERRIERES wrote:
>>>>
>>>> Here at Nereide, we are ready to make selenium tests (it's a task we
>>>> have
>>>>
>>>> planned to do, but which is always postponed....).
>>>>> So, if it's ok with you and that you are interested in that, we are
>>>>> going
>>>>> to make it real !
>>>>>
>>>>> David E Jones a écrit :
>>>>>
>>>>> On Oct 29, 2008, at 11:54 AM, Adam Heath wrote:
>>>>>
>>>>>>
>>>>>> BJ Freeman wrote:
>>>>>>
>>>>>>>
>>>>>>> there has been an effort to put in test units.
>>>>>>>
>>>>>>>> the only thing lacking, in making it complete is manpower.
>>>>>>>>
>>>>>>>> And fixing the existing tests that are broken. :|
>>>>>>>>
>>>>>>>
>>>>>>> This is an area where it would be REALLY GREAT to have more effort
>>>>>>> go
>>>>>>>
>>>>>> into the project. Yep, great enough to capitalize "REALLY" and
>>>>>> "GREAT".
>>>>>> Who has worked on the unit tests that are in place? I'll admit I
>>>>>> haven't
>>>>>> much except on the toolset and some of the framework unit tests and
>>>>>> helping
>>>>>> some of the Hotwax Media people who wrote many of the tests that now
>>>>>> exist,
>>>>>> especially the ones in the various applications.
>>>>>> Is there anyone interested in working on this stuff? If there are
>>>>>> enough
>>>>>> people who want to actively work on it we can setup some coordination
>>>>>> resources (ie Jira tasks, confluence pages, etc). If there are only
>>>>>> 2-3
>>>>>> then
>>>>>> coordination through the mailing list would be better, and more
>>>>>> visible
>>>>>> to
>>>>>> others possibly interested.
>>>>>> -David
>>>>>>
>>>>>> --
>>>>>>
>>>>> - Erwan -
>>>>>
>>>>>
>>>>>
>>>>
>>> --
>> - Erwan -
>>
>>
>
Re: Selenium Presentation for OFBiz - Re: OOTB Unit Tests (was Re: Stable trunk?)
Posted by Jacques Le Roux <ja...@les7arts.com>.
Hi Brett,
Just curious, have you ever used/tested Clover http://www.atlassian.com/software/clover/ ?
Thanks
Jacques
From: "Brett Palmer" <br...@gmail.com>
FYI,
Here is the link to the presentation on Selenium that I gave at the
ApacheCon/OFBiz conference this week. There were several good presentations
on OFBiz this week. Most of these are available at the us.apahecon.comwebsite.
http://us.apachecon.com/presentation/materials/118/ApacheCon2008_SeleniumXml.pdf
Brett
On Fri, Oct 31, 2008 at 4:03 AM, Erwan de FERRIERES <
erwan.de-ferrieres@nereide.biz> wrote:
> Will the slides be available on the Internet after your presentation ? I'm
> not coming to the ApacheCon, but I am very interested to see what you've
> done with Selenium.
>
>
> Brett Palmer a écrit :
>
> David,
>> We have been using SeleniumRC and an extension called SeleniumXml that I
>> will be presenting on at the ApacheCon conference next week. These could
>> be
>> called from a normal ant process or used in Cruise Control.
>>
>> Let's talk more about this next week at the conference.
>>
>>
>> Brett
>>
>> On Wed, Oct 29, 2008 at 2:34 PM, David E Jones <jonesde@hotwaxmedia.com
>> >wrote:
>>
>> Erwan,
>>>
>>> It would be great to have some tests that go through the user interface,
>>> but we don't have tools for this yet that fit into the automated test
>>> system
>>> in OFBiz (ie so they can run along with other tests, and run
>>> automatically).
>>>
>>> The goal is for the tests to all work with an "ant run-tests" (or "java
>>> -jar ofbiz.jar tests"), and to cover as much of OFBiz OOTB as possible,
>>> and
>>> then to also be easy to customize or comment out those that no longer
>>> apply
>>> after people customize or add on to OFBiz.
>>>
>>> If you guys would like to work on getting Selenium tests to work this
>>> way,
>>> that would be great. Others have looked at this and run into troubles, so
>>> the last idea I heard was to use something different and that might be
>>> more
>>> manual for initial test writing, but probably easier to maintain.
>>>
>>> At Hotwax we've written/recorded a bunch of Selenium tests for clients,
>>> but
>>> they are difficult to maintain and as far as we've gone they also have to
>>> be
>>> manually run and watched.
>>>
>>> -David
>>>
>>>
>>>
>>> On Oct 29, 2008, at 12:09 PM, Erwan de FERRIERES wrote:
>>>
>>> Here at Nereide, we are ready to make selenium tests (it's a task we
>>> have
>>>
>>>> planned to do, but which is always postponed....).
>>>> So, if it's ok with you and that you are interested in that, we are
>>>> going
>>>> to make it real !
>>>>
>>>> David E Jones a écrit :
>>>>
>>>> On Oct 29, 2008, at 11:54 AM, Adam Heath wrote:
>>>>>
>>>>> BJ Freeman wrote:
>>>>>>
>>>>>> there has been an effort to put in test units.
>>>>>>> the only thing lacking, in making it complete is manpower.
>>>>>>>
>>>>>>> And fixing the existing tests that are broken. :|
>>>>>>
>>>>>> This is an area where it would be REALLY GREAT to have more effort go
>>>>> into the project. Yep, great enough to capitalize "REALLY" and "GREAT".
>>>>> Who has worked on the unit tests that are in place? I'll admit I
>>>>> haven't
>>>>> much except on the toolset and some of the framework unit tests and
>>>>> helping
>>>>> some of the Hotwax Media people who wrote many of the tests that now
>>>>> exist,
>>>>> especially the ones in the various applications.
>>>>> Is there anyone interested in working on this stuff? If there are
>>>>> enough
>>>>> people who want to actively work on it we can setup some coordination
>>>>> resources (ie Jira tasks, confluence pages, etc). If there are only 2-3
>>>>> then
>>>>> coordination through the mailing list would be better, and more visible
>>>>> to
>>>>> others possibly interested.
>>>>> -David
>>>>>
>>>>> --
>>>> - Erwan -
>>>>
>>>>
>>>
>>
> --
> - Erwan -
>
Re: Selenium Presentation for OFBiz - Re: OOTB Unit Tests (was Re:
Stable trunk?)
Posted by Shi Yusen <sh...@langhua.cn>.
Thanks. It's very clear now.
Two maintains.
Perhaps somebody should setup a project in 3rd parties such
as sourceforge to resolve this problem as it's suggested:
Please note that this discussion only benefits third parties that
produce GPL-covered products.
And list it in a wiki page.
Glad to know what we do is right.
在 2008-11-25二的 11:18 -0800,BJ Freeman写道:
> http://www.apache.org/licenses/GPL-compatibility.html
>
> Shi Yusen sent the following on 11/25/2008 11:09 AM:
> > Just curious on these:
> > http://www.fsf.org/licensing/licenses/
> > http://www.dwheeler.com/essays/gpl-compatible.html
> >
> > Is GPL/LGPL 3.0 compatible with Apache License 2.0 in a single
> > direction?
> >
> > Shi Yusen/Beijing Langhua Ltd.
> >
> > 在 2008-11-25二的 11:50 -0700,Brett Palmer写道:
> >> Erwan,
> >>
> >> The files that are not Apache compatible in the Selenium-RC distribution
> >> come from selenium-server.jar and are as follows:
> >>
> >> core/lib/cssQuery
> >>
> >> - cssQuery-p.js
> >> - cssQuery-level2.js
> >> - cssQuery-level3.js
> >> - cssQuery-standard.js
> >> - cssQuery.js
> >> - xbDebug.js
> >> - compiler.js
> >> - strands.js
> >>
> >> In my testing, the only files that seleniumXml needs to run (so far anyway)
> >> are the cssQuery files. These are LGPL licensed and written by Dean Edwards
> >> (http://dean.edwards.name/). I wrote him to see if he would be willing to
> >> change the license to something that is Apache compatible, but I never heard
> >> back from him.
> >>
> >> The seleniumXml code only depends on the selenium-java-client.jar which is
> >> all Apache 2.0 licensed, so you should be able to compile the code in ofbiz
> >> without having to comment stuff out. The problem is you need the selenium
> >> server to actually run a Selenium RC test.
> >>
> >> We could work around the Apache hosting conflict by having an Ant target
> >> download the selenium-server.jar from a non-Apache site (e.g. SourceForge
> >> where seleniumXml is hosted right now). The Apache Velocity project's build
> >> does something like this to download Jar files that it needs to compile.
> >>
> >> I would be interested in seeing your Selenium RC script that does the
> >> updates, etc. Does your script integrate with an automated builder/tester
> >> like Cruise Control?
> >>
> >> We are happy to contribute the seleniumXml code to the project. If we can't
> >> get the license problems resolved we can continue to use SourceForge (
> >> http://sourceforge.net/projects/seleniumxml/) as an immediate solution.
> >>
> >>
> >> Thanks,
> >>
> >>
> >> Brett
> >>
> >>
> >> On Tue, Nov 25, 2008 at 11:03 AM, Erwan de FERRIERES <
> >> erwan.de-ferrieres@nereide.biz> wrote:
> >>
> >>> so can we make it work, put everything in the trunk except the selenium
> >>> files, and let the user add himself the selenium files ?
> >>>
> >>> In order to start the tests, we could think about the places to record the
> >>> tests, and also the different scenarios we would like to be tested.
> >>>
> >>> Have we yet decided of the manner to do it :
> >>> * start with an ant run-install, load data and run tests for each component
> >>> * each component is independant from the others for the test ?
> >>> * have an ant task to launch the tests ?
> >>>
> >>> Actually, we've made a beautiful shell script that updates, launch and run
> >>> the tests, with a selenium RC. Is this a good solution, or do we have to
> >>> think about something else ?
> >>>
> >>>
> >>> David E Jones a écrit :
> >>>
> >>>> There is a subtlety that has been mentioned a few times but may be easy to
> >>>> miss: Selenium may be Apache 2.0 licensed but it evidently depends on
> >>>> GPL/LGPL libraries (or at least it used to and may still, some people were
> >>>> going to look into that again now), and we'd have to include those too, but
> >>>> we can't do that in an ASF project.
> >>>>
> >>>> In fact, if Selenium has code that depends on a GPL licensed library, then
> >>>> technically they are not complying with the terms of the GPL because they
> >>>> would have to license Selenium itself under the GPL to be compliant. That's
> >>>> one of a few reasons why we can't just throw it into OFBiz.
> >>>>
> >>>> Part of the point of the ASF legal strategy is to make sure that users of
> >>>> ASF software don't have to worry about things like viral licenses, so this
> >>>> is quite important.
> >>>>
> >>>> -David
> >>>>
> >>>>
> >>>> On Nov 25, 2008, at 12:29 PM, Erwan de FERRIERES wrote:
> >>>>
> >>>> Selenium projects are under the Apache 2.0 license. So, what are we
> >>>>> waiting to integrate it ?
> >>>>>
> >>>>> http://selenium-ide.seleniumhq.org/license.jsp
> >>>>>
> >>>>> Jacques Le Roux a écrit :
> >>>>>
> >>>>>> I just wanted to remember any interested person about the Selenium
> >>>>>> lience issue we crossed some times ago and is still existing I'm
> >>>>>> pretty sure (did not check though)
> >>>>>>
> >>>>>> https://issues.apache.org/jira/browse/OFBIZ-680?focusedCommentId=12470728#action_12470728There is where we see what GPL viral issue is all about :(Just a little part
> >>>>>> and all is polluted, at least from our POV)
> >>>>>> Jacques
> >>>>>> From: "Jacques Le Roux" <ja...@les7arts.com>
> >>>>>>
> >>>>>>> Thanks for the link Brett,
> >>>>>>>
> >>>>>>> Much appreciated
> >>>>>>>
> >>>>>>> Jacques
> >>>>>>>
> >>>>>>> From: "Brett Palmer" <br...@gmail.com>
> >>>>>>> FYI,
> >>>>>>>
> >>>>>>> Here is the link to the presentation on Selenium that I gave at the
> >>>>>>> ApacheCon/OFBiz conference this week. There were several good
> >>>>>>> presentations
> >>>>>>> on OFBiz this week. Most of these are available at the
> >>>>>>> us.apahecon.comwebsite.
> >>>>>>>
> >>>>>>>
> >>>>>>> http://us.apachecon.com/presentation/materials/118/ApacheCon2008_SeleniumXml.pdf
> >>>>>>>
> >>>>>>>
> >>>>>>> Brett
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>> On Fri, Oct 31, 2008 at 4:03 AM, Erwan de FERRIERES <
> >>>>>>> erwan.de-ferrieres@nereide.biz> wrote:
> >>>>>>>
> >>>>>>> Will the slides be available on the Internet after your presentation ?
> >>>>>>>> I'm
> >>>>>>>> not coming to the ApacheCon, but I am very interested to see what
> >>>>>>>> you've
> >>>>>>>> done with Selenium.
> >>>>>>>>
> >>>>>>>>
> >>>>>>>> Brett Palmer a écrit :
> >>>>>>>>
> >>>>>>>> David,
> >>>>>>>>
> >>>>>>>>> We have been using SeleniumRC and an extension called SeleniumXml
> >>>>>>>>> that I
> >>>>>>>>> will be presenting on at the ApacheCon conference next week. These
> >>>>>>>>> could
> >>>>>>>>> be
> >>>>>>>>> called from a normal ant process or used in Cruise Control.
> >>>>>>>>>
> >>>>>>>>> Let's talk more about this next week at the conference.
> >>>>>>>>>
> >>>>>>>>>
> >>>>>>>>> Brett
> >>>>>>>>>
> >>>>>>>>> On Wed, Oct 29, 2008 at 2:34 PM, David E Jones <
> >>>>>>>>> jonesde@hotwaxmedia.com
> >>>>>>>>>> wrote:
> >>>>>>>>> Erwan,
> >>>>>>>>>
> >>>>>>>>>> It would be great to have some tests that go through the user
> >>>>>>>>>> interface,
> >>>>>>>>>> but we don't have tools for this yet that fit into the automated
> >>>>>>>>>> test
> >>>>>>>>>> system
> >>>>>>>>>> in OFBiz (ie so they can run along with other tests, and run
> >>>>>>>>>> automatically).
> >>>>>>>>>>
> >>>>>>>>>> The goal is for the tests to all work with an "ant run-tests" (or
> >>>>>>>>>> "java
> >>>>>>>>>> -jar ofbiz.jar tests"), and to cover as much of OFBiz OOTB as
> >>>>>>>>>> possible,
> >>>>>>>>>> and
> >>>>>>>>>> then to also be easy to customize or comment out those that no
> >>>>>>>>>> longer
> >>>>>>>>>> apply
> >>>>>>>>>> after people customize or add on to OFBiz.
> >>>>>>>>>>
> >>>>>>>>>> If you guys would like to work on getting Selenium tests to work
> >>>>>>>>>> this
> >>>>>>>>>> way,
> >>>>>>>>>> that would be great. Others have looked at this and run into
> >>>>>>>>>> troubles, so
> >>>>>>>>>> the last idea I heard was to use something different and that might
> >>>>>>>>>> be
> >>>>>>>>>> more
> >>>>>>>>>> manual for initial test writing, but probably easier to maintain.
> >>>>>>>>>>
> >>>>>>>>>> At Hotwax we've written/recorded a bunch of Selenium tests for
> >>>>>>>>>> clients,
> >>>>>>>>>> but
> >>>>>>>>>> they are difficult to maintain and as far as we've gone they also
> >>>>>>>>>> have to
> >>>>>>>>>> be
> >>>>>>>>>> manually run and watched.
> >>>>>>>>>>
> >>>>>>>>>> -David
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>> On Oct 29, 2008, at 12:09 PM, Erwan de FERRIERES wrote:
> >>>>>>>>>>
> >>>>>>>>>> Here at Nereide, we are ready to make selenium tests (it's a task we
> >>>>>>>>>> have
> >>>>>>>>>>
> >>>>>>>>>> planned to do, but which is always postponed....).
> >>>>>>>>>>> So, if it's ok with you and that you are interested in that, we are
> >>>>>>>>>>> going
> >>>>>>>>>>> to make it real !
> >>>>>>>>>>>
> >>>>>>>>>>> David E Jones a écrit :
> >>>>>>>>>>>
> >>>>>>>>>>> On Oct 29, 2008, at 11:54 AM, Adam Heath wrote:
> >>>>>>>>>>>
> >>>>>>>>>>>> BJ Freeman wrote:
> >>>>>>>>>>>>
> >>>>>>>>>>>>> there has been an effort to put in test units.
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>> the only thing lacking, in making it complete is manpower.
> >>>>>>>>>>>>>>
> >>>>>>>>>>>>>> And fixing the existing tests that are broken. :|
> >>>>>>>>>>>>>>
> >>>>>>>>>>>>> This is an area where it would be REALLY GREAT to have more
> >>>>>>>>>>>>> effort go
> >>>>>>>>>>>>>
> >>>>>>>>>>>> into the project. Yep, great enough to capitalize "REALLY" and
> >>>>>>>>>>>> "GREAT".
> >>>>>>>>>>>> Who has worked on the unit tests that are in place? I'll admit I
> >>>>>>>>>>>> haven't
> >>>>>>>>>>>> much except on the toolset and some of the framework unit tests
> >>>>>>>>>>>> and
> >>>>>>>>>>>> helping
> >>>>>>>>>>>> some of the Hotwax Media people who wrote many of the tests that
> >>>>>>>>>>>> now
> >>>>>>>>>>>> exist,
> >>>>>>>>>>>> especially the ones in the various applications.
> >>>>>>>>>>>> Is there anyone interested in working on this stuff? If there are
> >>>>>>>>>>>> enough
> >>>>>>>>>>>> people who want to actively work on it we can setup some
> >>>>>>>>>>>> coordination
> >>>>>>>>>>>> resources (ie Jira tasks, confluence pages, etc). If there are
> >>>>>>>>>>>> only 2-3
> >>>>>>>>>>>> then
> >>>>>>>>>>>> coordination through the mailing list would be better, and more
> >>>>>>>>>>>> visible
> >>>>>>>>>>>> to
> >>>>>>>>>>>> others possibly interested.
> >>>>>>>>>>>> -David
> >>>>>>>>>>>>
> >>>>>>>>>>>> --
> >>>>>>>>>>>>
> >>>>>>>>>>> - Erwan -
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>> --
> >>>>>>>> - Erwan -
> >>>>>>>>
> >>>>>>>>
> >>>>> --
> >>>>> - Erwan -
> >>>>>
> >>>>
> >>>>
> >>> --
> >>> - Erwan -
> >>>
> >
> >
> >
>
Re: Selenium Presentation for OFBiz - Re: OOTB Unit Tests (was Re:
Stable trunk?)
Posted by BJ Freeman <bj...@free-man.net>.
Thats the way I interpreted it also
:D
David E Jones sent the following on 11/25/2008 11:40 AM:
>
> There are two sides of "compatibility".
>
> This means that GPL/LGPL licensed works can include Apache 2.0 licensed
> works. It does NOT mean (and on that page it even clearly states) that
> ASF projects will not include works that are licensed more restrictively
> than the Apache 2.0 license, which means no GPL/LGPL stuff in OFBiz or
> any other ASF project.
>
> -David
>
>
> On Nov 25, 2008, at 2:18 PM, BJ Freeman wrote:
>
>> http://www.apache.org/licenses/GPL-compatibility.html
>>
>> Shi Yusen sent the following on 11/25/2008 11:09 AM:
>>> Just curious on these:
>>> http://www.fsf.org/licensing/licenses/
>>> http://www.dwheeler.com/essays/gpl-compatible.html
>>>
>>> Is GPL/LGPL 3.0 compatible with Apache License 2.0 in a single
>>> direction?
>>>
>>> Shi Yusen/Beijing Langhua Ltd.
>>>
>>> 在 2008-11-25二的 11:50 -0700,Brett Palmer写道:
>>>> Erwan,
>>>>
>>>> The files that are not Apache compatible in the Selenium-RC
>>>> distribution
>>>> come from selenium-server.jar and are as follows:
>>>>
>>>> core/lib/cssQuery
>>>>
>>>> - cssQuery-p.js
>>>> - cssQuery-level2.js
>>>> - cssQuery-level3.js
>>>> - cssQuery-standard.js
>>>> - cssQuery.js
>>>> - xbDebug.js
>>>> - compiler.js
>>>> - strands.js
>>>>
>>>> In my testing, the only files that seleniumXml needs to run (so far
>>>> anyway)
>>>> are the cssQuery files. These are LGPL licensed and written by Dean
>>>> Edwards
>>>> (http://dean.edwards.name/). I wrote him to see if he would be
>>>> willing to
>>>> change the license to something that is Apache compatible, but I
>>>> never heard
>>>> back from him.
>>>>
>>>> The seleniumXml code only depends on the selenium-java-client.jar
>>>> which is
>>>> all Apache 2.0 licensed, so you should be able to compile the code
>>>> in ofbiz
>>>> without having to comment stuff out. The problem is you need the
>>>> selenium
>>>> server to actually run a Selenium RC test.
>>>>
>>>> We could work around the Apache hosting conflict by having an Ant
>>>> target
>>>> download the selenium-server.jar from a non-Apache site (e.g.
>>>> SourceForge
>>>> where seleniumXml is hosted right now). The Apache Velocity
>>>> project's build
>>>> does something like this to download Jar files that it needs to
>>>> compile.
>>>>
>>>> I would be interested in seeing your Selenium RC script that does the
>>>> updates, etc. Does your script integrate with an automated
>>>> builder/tester
>>>> like Cruise Control?
>>>>
>>>> We are happy to contribute the seleniumXml code to the project. If
>>>> we can't
>>>> get the license problems resolved we can continue to use SourceForge (
>>>> http://sourceforge.net/projects/seleniumxml/) as an immediate solution.
>>>>
>>>>
>>>> Thanks,
>>>>
>>>>
>>>> Brett
>>>>
>>>>
>>>> On Tue, Nov 25, 2008 at 11:03 AM, Erwan de FERRIERES <
>>>> erwan.de-ferrieres@nereide.biz> wrote:
>>>>
>>>>> so can we make it work, put everything in the trunk except the
>>>>> selenium
>>>>> files, and let the user add himself the selenium files ?
>>>>>
>>>>> In order to start the tests, we could think about the places to
>>>>> record the
>>>>> tests, and also the different scenarios we would like to be tested.
>>>>>
>>>>> Have we yet decided of the manner to do it :
>>>>> * start with an ant run-install, load data and run tests for each
>>>>> component
>>>>> * each component is independant from the others for the test ?
>>>>> * have an ant task to launch the tests ?
>>>>>
>>>>> Actually, we've made a beautiful shell script that updates, launch
>>>>> and run
>>>>> the tests, with a selenium RC. Is this a good solution, or do we
>>>>> have to
>>>>> think about something else ?
>>>>>
>>>>>
>>>>> David E Jones a écrit :
>>>>>
>>>>>> There is a subtlety that has been mentioned a few times but may be
>>>>>> easy to
>>>>>> miss: Selenium may be Apache 2.0 licensed but it evidently depends on
>>>>>> GPL/LGPL libraries (or at least it used to and may still, some
>>>>>> people were
>>>>>> going to look into that again now), and we'd have to include those
>>>>>> too, but
>>>>>> we can't do that in an ASF project.
>>>>>>
>>>>>> In fact, if Selenium has code that depends on a GPL licensed
>>>>>> library, then
>>>>>> technically they are not complying with the terms of the GPL
>>>>>> because they
>>>>>> would have to license Selenium itself under the GPL to be
>>>>>> compliant. That's
>>>>>> one of a few reasons why we can't just throw it into OFBiz.
>>>>>>
>>>>>> Part of the point of the ASF legal strategy is to make sure that
>>>>>> users of
>>>>>> ASF software don't have to worry about things like viral licenses,
>>>>>> so this
>>>>>> is quite important.
>>>>>>
>>>>>> -David
>>>>>>
>>>>>>
>>>>>> On Nov 25, 2008, at 12:29 PM, Erwan de FERRIERES wrote:
>>>>>>
>>>>>> Selenium projects are under the Apache 2.0 license. So, what are we
>>>>>>> waiting to integrate it ?
>>>>>>>
>>>>>>> http://selenium-ide.seleniumhq.org/license.jsp
>>>>>>>
>>>>>>> Jacques Le Roux a écrit :
>>>>>>>
>>>>>>>> I just wanted to remember any interested person about the Selenium
>>>>>>>> lience issue we crossed some times ago and is still existing I'm
>>>>>>>> pretty sure (did not check though)
>>>>>>>>
>>>>>>>> https://issues.apache.org/jira/browse/OFBIZ-680?focusedCommentId=12470728#action_12470728There
>>>>>>>> is where we see what GPL viral issue is all about :(Just a
>>>>>>>> little part
>>>>>>>> and all is polluted, at least from our POV)
>>>>>>>> Jacques
>>>>>>>> From: "Jacques Le Roux" <ja...@les7arts.com>
>>>>>>>>
>>>>>>>>> Thanks for the link Brett,
>>>>>>>>>
>>>>>>>>> Much appreciated
>>>>>>>>>
>>>>>>>>> Jacques
>>>>>>>>>
>>>>>>>>> From: "Brett Palmer" <br...@gmail.com>
>>>>>>>>> FYI,
>>>>>>>>>
>>>>>>>>> Here is the link to the presentation on Selenium that I gave at
>>>>>>>>> the
>>>>>>>>> ApacheCon/OFBiz conference this week. There were several good
>>>>>>>>> presentations
>>>>>>>>> on OFBiz this week. Most of these are available at the
>>>>>>>>> us.apahecon.comwebsite.
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> http://us.apachecon.com/presentation/materials/118/ApacheCon2008_SeleniumXml.pdf
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> Brett
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> On Fri, Oct 31, 2008 at 4:03 AM, Erwan de FERRIERES <
>>>>>>>>> erwan.de-ferrieres@nereide.biz> wrote:
>>>>>>>>>
>>>>>>>>> Will the slides be available on the Internet after your
>>>>>>>>> presentation ?
>>>>>>>>>> I'm
>>>>>>>>>> not coming to the ApacheCon, but I am very interested to see what
>>>>>>>>>> you've
>>>>>>>>>> done with Selenium.
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> Brett Palmer a écrit :
>>>>>>>>>>
>>>>>>>>>> David,
>>>>>>>>>>
>>>>>>>>>>> We have been using SeleniumRC and an extension called
>>>>>>>>>>> SeleniumXml
>>>>>>>>>>> that I
>>>>>>>>>>> will be presenting on at the ApacheCon conference next week.
>>>>>>>>>>> These
>>>>>>>>>>> could
>>>>>>>>>>> be
>>>>>>>>>>> called from a normal ant process or used in Cruise Control.
>>>>>>>>>>>
>>>>>>>>>>> Let's talk more about this next week at the conference.
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> Brett
>>>>>>>>>>>
>>>>>>>>>>> On Wed, Oct 29, 2008 at 2:34 PM, David E Jones <
>>>>>>>>>>> jonesde@hotwaxmedia.com
>>>>>>>>>>>> wrote:
>>>>>>>>>>> Erwan,
>>>>>>>>>>>
>>>>>>>>>>>> It would be great to have some tests that go through the user
>>>>>>>>>>>> interface,
>>>>>>>>>>>> but we don't have tools for this yet that fit into the
>>>>>>>>>>>> automated
>>>>>>>>>>>> test
>>>>>>>>>>>> system
>>>>>>>>>>>> in OFBiz (ie so they can run along with other tests, and run
>>>>>>>>>>>> automatically).
>>>>>>>>>>>>
>>>>>>>>>>>> The goal is for the tests to all work with an "ant
>>>>>>>>>>>> run-tests" (or
>>>>>>>>>>>> "java
>>>>>>>>>>>> -jar ofbiz.jar tests"), and to cover as much of OFBiz OOTB as
>>>>>>>>>>>> possible,
>>>>>>>>>>>> and
>>>>>>>>>>>> then to also be easy to customize or comment out those that no
>>>>>>>>>>>> longer
>>>>>>>>>>>> apply
>>>>>>>>>>>> after people customize or add on to OFBiz.
>>>>>>>>>>>>
>>>>>>>>>>>> If you guys would like to work on getting Selenium tests to
>>>>>>>>>>>> work
>>>>>>>>>>>> this
>>>>>>>>>>>> way,
>>>>>>>>>>>> that would be great. Others have looked at this and run into
>>>>>>>>>>>> troubles, so
>>>>>>>>>>>> the last idea I heard was to use something different and
>>>>>>>>>>>> that might
>>>>>>>>>>>> be
>>>>>>>>>>>> more
>>>>>>>>>>>> manual for initial test writing, but probably easier to
>>>>>>>>>>>> maintain.
>>>>>>>>>>>>
>>>>>>>>>>>> At Hotwax we've written/recorded a bunch of Selenium tests for
>>>>>>>>>>>> clients,
>>>>>>>>>>>> but
>>>>>>>>>>>> they are difficult to maintain and as far as we've gone they
>>>>>>>>>>>> also
>>>>>>>>>>>> have to
>>>>>>>>>>>> be
>>>>>>>>>>>> manually run and watched.
>>>>>>>>>>>>
>>>>>>>>>>>> -David
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> On Oct 29, 2008, at 12:09 PM, Erwan de FERRIERES wrote:
>>>>>>>>>>>>
>>>>>>>>>>>> Here at Nereide, we are ready to make selenium tests (it's a
>>>>>>>>>>>> task we
>>>>>>>>>>>> have
>>>>>>>>>>>>
>>>>>>>>>>>> planned to do, but which is always postponed....).
>>>>>>>>>>>>> So, if it's ok with you and that you are interested in
>>>>>>>>>>>>> that, we are
>>>>>>>>>>>>> going
>>>>>>>>>>>>> to make it real !
>>>>>>>>>>>>>
>>>>>>>>>>>>> David E Jones a écrit :
>>>>>>>>>>>>>
>>>>>>>>>>>>> On Oct 29, 2008, at 11:54 AM, Adam Heath wrote:
>>>>>>>>>>>>>
>>>>>>>>>>>>>> BJ Freeman wrote:
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> there has been an effort to put in test units.
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> the only thing lacking, in making it complete is manpower.
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> And fixing the existing tests that are broken. :|
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> This is an area where it would be REALLY GREAT to have more
>>>>>>>>>>>>>>> effort go
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>> into the project. Yep, great enough to capitalize "REALLY"
>>>>>>>>>>>>>> and
>>>>>>>>>>>>>> "GREAT".
>>>>>>>>>>>>>> Who has worked on the unit tests that are in place? I'll
>>>>>>>>>>>>>> admit I
>>>>>>>>>>>>>> haven't
>>>>>>>>>>>>>> much except on the toolset and some of the framework unit
>>>>>>>>>>>>>> tests
>>>>>>>>>>>>>> and
>>>>>>>>>>>>>> helping
>>>>>>>>>>>>>> some of the Hotwax Media people who wrote many of the
>>>>>>>>>>>>>> tests that
>>>>>>>>>>>>>> now
>>>>>>>>>>>>>> exist,
>>>>>>>>>>>>>> especially the ones in the various applications.
>>>>>>>>>>>>>> Is there anyone interested in working on this stuff? If
>>>>>>>>>>>>>> there are
>>>>>>>>>>>>>> enough
>>>>>>>>>>>>>> people who want to actively work on it we can setup some
>>>>>>>>>>>>>> coordination
>>>>>>>>>>>>>> resources (ie Jira tasks, confluence pages, etc). If there
>>>>>>>>>>>>>> are
>>>>>>>>>>>>>> only 2-3
>>>>>>>>>>>>>> then
>>>>>>>>>>>>>> coordination through the mailing list would be better, and
>>>>>>>>>>>>>> more
>>>>>>>>>>>>>> visible
>>>>>>>>>>>>>> to
>>>>>>>>>>>>>> others possibly interested.
>>>>>>>>>>>>>> -David
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>
>>>>>>>>>>>>> - Erwan -
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>> --
>>>>>>>>>> - Erwan -
>>>>>>>>>>
>>>>>>>>>>
>>>>>>> --
>>>>>>> - Erwan -
>>>>>>>
>>>>>>
>>>>>>
>>>>> --
>>>>> - Erwan -
>>>>>
>>>
>>>
>>>
>>
>
>
>
Re: Selenium Presentation for OFBiz - Re: OOTB Unit Tests (was Re:
Stable trunk?)
Posted by Malin Nicolas <ma...@librenberry.net>.
To remove all license problem, the Brett's solution to download all
elements need to run selenium script with a bad license for ASF. We can
create selenium script under Apache2.0 license without problem. It's the
same for jdbc driver, mysql connector is under GPL.
We just have to gain for the stabilization functional.
Nicolas
David E Jones a écrit :
>
> There are two sides of "compatibility".
>
> This means that GPL/LGPL licensed works can include Apache 2.0
> licensed works. It does NOT mean (and on that page it even clearly
> states) that ASF projects will not include works that are licensed
> more restrictively than the Apache 2.0 license, which means no
> GPL/LGPL stuff in OFBiz or any other ASF project.
>
> -David
>
>
> On Nov 25, 2008, at 2:18 PM, BJ Freeman wrote:
>
>> http://www.apache.org/licenses/GPL-compatibility.html
>>
>> Shi Yusen sent the following on 11/25/2008 11:09 AM:
>>> Just curious on these:
>>> http://www.fsf.org/licensing/licenses/
>>> http://www.dwheeler.com/essays/gpl-compatible.html
>>>
>>> Is GPL/LGPL 3.0 compatible with Apache License 2.0 in a single
>>> direction?
>>>
>>> Shi Yusen/Beijing Langhua Ltd.
>>>
>>> 在 2008-11-25二的 11:50 -0700,Brett Palmer写道:
>>>> Erwan,
>>>>
>>>> The files that are not Apache compatible in the Selenium-RC
>>>> distribution
>>>> come from selenium-server.jar and are as follows:
>>>>
>>>> core/lib/cssQuery
>>>>
>>>> - cssQuery-p.js
>>>> - cssQuery-level2.js
>>>> - cssQuery-level3.js
>>>> - cssQuery-standard.js
>>>> - cssQuery.js
>>>> - xbDebug.js
>>>> - compiler.js
>>>> - strands.js
>>>>
>>>> In my testing, the only files that seleniumXml needs to run (so far
>>>> anyway)
>>>> are the cssQuery files. These are LGPL licensed and written by Dean
>>>> Edwards
>>>> (http://dean.edwards.name/). I wrote him to see if he would be
>>>> willing to
>>>> change the license to something that is Apache compatible, but I
>>>> never heard
>>>> back from him.
>>>>
>>>> The seleniumXml code only depends on the selenium-java-client.jar
>>>> which is
>>>> all Apache 2.0 licensed, so you should be able to compile the code
>>>> in ofbiz
>>>> without having to comment stuff out. The problem is you need the
>>>> selenium
>>>> server to actually run a Selenium RC test.
>>>>
>>>> We could work around the Apache hosting conflict by having an Ant
>>>> target
>>>> download the selenium-server.jar from a non-Apache site (e.g.
>>>> SourceForge
>>>> where seleniumXml is hosted right now). The Apache Velocity
>>>> project's build
>>>> does something like this to download Jar files that it needs to
>>>> compile.
>>>>
>>>> I would be interested in seeing your Selenium RC script that does the
>>>> updates, etc. Does your script integrate with an automated
>>>> builder/tester
>>>> like Cruise Control?
>>>>
>>>> We are happy to contribute the seleniumXml code to the project. If
>>>> we can't
>>>> get the license problems resolved we can continue to use SourceForge (
>>>> http://sourceforge.net/projects/seleniumxml/) as an immediate
>>>> solution.
>>>>
>>>>
>>>> Thanks,
>>>>
>>>>
>>>> Brett
>>>>
>>>>
>>>> On Tue, Nov 25, 2008 at 11:03 AM, Erwan de FERRIERES <
>>>> erwan.de-ferrieres@nereide.biz> wrote:
>>>>
>>>>> so can we make it work, put everything in the trunk except the
>>>>> selenium
>>>>> files, and let the user add himself the selenium files ?
>>>>>
>>>>> In order to start the tests, we could think about the places to
>>>>> record the
>>>>> tests, and also the different scenarios we would like to be tested.
>>>>>
>>>>> Have we yet decided of the manner to do it :
>>>>> * start with an ant run-install, load data and run tests for each
>>>>> component
>>>>> * each component is independant from the others for the test ?
>>>>> * have an ant task to launch the tests ?
>>>>>
>>>>> Actually, we've made a beautiful shell script that updates, launch
>>>>> and run
>>>>> the tests, with a selenium RC. Is this a good solution, or do we
>>>>> have to
>>>>> think about something else ?
>>>>>
>>>>>
>>>>> David E Jones a écrit :
>>>>>
>>>>>> There is a subtlety that has been mentioned a few times but may
>>>>>> be easy to
>>>>>> miss: Selenium may be Apache 2.0 licensed but it evidently
>>>>>> depends on
>>>>>> GPL/LGPL libraries (or at least it used to and may still, some
>>>>>> people were
>>>>>> going to look into that again now), and we'd have to include
>>>>>> those too, but
>>>>>> we can't do that in an ASF project.
>>>>>>
>>>>>> In fact, if Selenium has code that depends on a GPL licensed
>>>>>> library, then
>>>>>> technically they are not complying with the terms of the GPL
>>>>>> because they
>>>>>> would have to license Selenium itself under the GPL to be
>>>>>> compliant. That's
>>>>>> one of a few reasons why we can't just throw it into OFBiz.
>>>>>>
>>>>>> Part of the point of the ASF legal strategy is to make sure that
>>>>>> users of
>>>>>> ASF software don't have to worry about things like viral
>>>>>> licenses, so this
>>>>>> is quite important.
>>>>>>
>>>>>> -David
>>>>>>
>>>>>>
>>>>>> On Nov 25, 2008, at 12:29 PM, Erwan de FERRIERES wrote:
>>>>>>
>>>>>> Selenium projects are under the Apache 2.0 license. So, what are we
>>>>>>> waiting to integrate it ?
>>>>>>>
>>>>>>> http://selenium-ide.seleniumhq.org/license.jsp
>>>>>>>
>>>>>>> Jacques Le Roux a écrit :
>>>>>>>
>>>>>>>> I just wanted to remember any interested person about the Selenium
>>>>>>>> lience issue we crossed some times ago and is still existing I'm
>>>>>>>> pretty sure (did not check though)
>>>>>>>>
>>>>>>>> https://issues.apache.org/jira/browse/OFBIZ-680?focusedCommentId=12470728#action_12470728There
>>>>>>>> is where we see what GPL viral issue is all about :(Just a
>>>>>>>> little part
>>>>>>>> and all is polluted, at least from our POV)
>>>>>>>> Jacques
>>>>>>>> From: "Jacques Le Roux" <ja...@les7arts.com>
>>>>>>>>
>>>>>>>>> Thanks for the link Brett,
>>>>>>>>>
>>>>>>>>> Much appreciated
>>>>>>>>>
>>>>>>>>> Jacques
>>>>>>>>>
>>>>>>>>> From: "Brett Palmer" <br...@gmail.com>
>>>>>>>>> FYI,
>>>>>>>>>
>>>>>>>>> Here is the link to the presentation on Selenium that I gave
>>>>>>>>> at the
>>>>>>>>> ApacheCon/OFBiz conference this week. There were several good
>>>>>>>>> presentations
>>>>>>>>> on OFBiz this week. Most of these are available at the
>>>>>>>>> us.apahecon.comwebsite.
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> http://us.apachecon.com/presentation/materials/118/ApacheCon2008_SeleniumXml.pdf
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> Brett
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> On Fri, Oct 31, 2008 at 4:03 AM, Erwan de FERRIERES <
>>>>>>>>> erwan.de-ferrieres@nereide.biz> wrote:
>>>>>>>>>
>>>>>>>>> Will the slides be available on the Internet after your
>>>>>>>>> presentation ?
>>>>>>>>>> I'm
>>>>>>>>>> not coming to the ApacheCon, but I am very interested to see
>>>>>>>>>> what
>>>>>>>>>> you've
>>>>>>>>>> done with Selenium.
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> Brett Palmer a écrit :
>>>>>>>>>>
>>>>>>>>>> David,
>>>>>>>>>>
>>>>>>>>>>> We have been using SeleniumRC and an extension called
>>>>>>>>>>> SeleniumXml
>>>>>>>>>>> that I
>>>>>>>>>>> will be presenting on at the ApacheCon conference next
>>>>>>>>>>> week. These
>>>>>>>>>>> could
>>>>>>>>>>> be
>>>>>>>>>>> called from a normal ant process or used in Cruise Control.
>>>>>>>>>>>
>>>>>>>>>>> Let's talk more about this next week at the conference.
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> Brett
>>>>>>>>>>>
>>>>>>>>>>> On Wed, Oct 29, 2008 at 2:34 PM, David E Jones <
>>>>>>>>>>> jonesde@hotwaxmedia.com
>>>>>>>>>>>> wrote:
>>>>>>>>>>> Erwan,
>>>>>>>>>>>
>>>>>>>>>>>> It would be great to have some tests that go through the user
>>>>>>>>>>>> interface,
>>>>>>>>>>>> but we don't have tools for this yet that fit into the
>>>>>>>>>>>> automated
>>>>>>>>>>>> test
>>>>>>>>>>>> system
>>>>>>>>>>>> in OFBiz (ie so they can run along with other tests, and run
>>>>>>>>>>>> automatically).
>>>>>>>>>>>>
>>>>>>>>>>>> The goal is for the tests to all work with an "ant
>>>>>>>>>>>> run-tests" (or
>>>>>>>>>>>> "java
>>>>>>>>>>>> -jar ofbiz.jar tests"), and to cover as much of OFBiz OOTB as
>>>>>>>>>>>> possible,
>>>>>>>>>>>> and
>>>>>>>>>>>> then to also be easy to customize or comment out those that no
>>>>>>>>>>>> longer
>>>>>>>>>>>> apply
>>>>>>>>>>>> after people customize or add on to OFBiz.
>>>>>>>>>>>>
>>>>>>>>>>>> If you guys would like to work on getting Selenium tests to
>>>>>>>>>>>> work
>>>>>>>>>>>> this
>>>>>>>>>>>> way,
>>>>>>>>>>>> that would be great. Others have looked at this and run into
>>>>>>>>>>>> troubles, so
>>>>>>>>>>>> the last idea I heard was to use something different and
>>>>>>>>>>>> that might
>>>>>>>>>>>> be
>>>>>>>>>>>> more
>>>>>>>>>>>> manual for initial test writing, but probably easier to
>>>>>>>>>>>> maintain.
>>>>>>>>>>>>
>>>>>>>>>>>> At Hotwax we've written/recorded a bunch of Selenium tests for
>>>>>>>>>>>> clients,
>>>>>>>>>>>> but
>>>>>>>>>>>> they are difficult to maintain and as far as we've gone
>>>>>>>>>>>> they also
>>>>>>>>>>>> have to
>>>>>>>>>>>> be
>>>>>>>>>>>> manually run and watched.
>>>>>>>>>>>>
>>>>>>>>>>>> -David
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> On Oct 29, 2008, at 12:09 PM, Erwan de FERRIERES wrote:
>>>>>>>>>>>>
>>>>>>>>>>>> Here at Nereide, we are ready to make selenium tests (it's
>>>>>>>>>>>> a task we
>>>>>>>>>>>> have
>>>>>>>>>>>>
>>>>>>>>>>>> planned to do, but which is always postponed....).
>>>>>>>>>>>>> So, if it's ok with you and that you are interested in
>>>>>>>>>>>>> that, we are
>>>>>>>>>>>>> going
>>>>>>>>>>>>> to make it real !
>>>>>>>>>>>>>
>>>>>>>>>>>>> David E Jones a écrit :
>>>>>>>>>>>>>
>>>>>>>>>>>>> On Oct 29, 2008, at 11:54 AM, Adam Heath wrote:
>>>>>>>>>>>>>
>>>>>>>>>>>>>> BJ Freeman wrote:
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> there has been an effort to put in test units.
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> the only thing lacking, in making it complete is manpower.
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> And fixing the existing tests that are broken. :|
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> This is an area where it would be REALLY GREAT to have more
>>>>>>>>>>>>>>> effort go
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>> into the project. Yep, great enough to capitalize
>>>>>>>>>>>>>> "REALLY" and
>>>>>>>>>>>>>> "GREAT".
>>>>>>>>>>>>>> Who has worked on the unit tests that are in place? I'll
>>>>>>>>>>>>>> admit I
>>>>>>>>>>>>>> haven't
>>>>>>>>>>>>>> much except on the toolset and some of the framework unit
>>>>>>>>>>>>>> tests
>>>>>>>>>>>>>> and
>>>>>>>>>>>>>> helping
>>>>>>>>>>>>>> some of the Hotwax Media people who wrote many of the
>>>>>>>>>>>>>> tests that
>>>>>>>>>>>>>> now
>>>>>>>>>>>>>> exist,
>>>>>>>>>>>>>> especially the ones in the various applications.
>>>>>>>>>>>>>> Is there anyone interested in working on this stuff? If
>>>>>>>>>>>>>> there are
>>>>>>>>>>>>>> enough
>>>>>>>>>>>>>> people who want to actively work on it we can setup some
>>>>>>>>>>>>>> coordination
>>>>>>>>>>>>>> resources (ie Jira tasks, confluence pages, etc). If
>>>>>>>>>>>>>> there are
>>>>>>>>>>>>>> only 2-3
>>>>>>>>>>>>>> then
>>>>>>>>>>>>>> coordination through the mailing list would be better,
>>>>>>>>>>>>>> and more
>>>>>>>>>>>>>> visible
>>>>>>>>>>>>>> to
>>>>>>>>>>>>>> others possibly interested.
>>>>>>>>>>>>>> -David
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>
>>>>>>>>>>>>> - Erwan -
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>> --
>>>>>>>>>> - Erwan -
>>>>>>>>>>
>>>>>>>>>>
>>>>>>> --
>>>>>>> - Erwan -
>>>>>>>
>>>>>>
>>>>>>
>>>>> --
>>>>> - Erwan -
>>>>>
>>>
>>>
>>>
>>
>
>
--
Nicolas MALIN
Consultant
Tél : 06.17.66.40.06
Site projet : http://www.neogia.org/
-------
Société LibrenBerry
Tél : 02.48.02.56.12
Site : http://www.librenberry.net/
Re: Selenium Presentation for OFBiz - Re: OOTB Unit Tests (was Re: Stable trunk?)
Posted by David E Jones <da...@hotwaxmedia.com>.
There are two sides of "compatibility".
This means that GPL/LGPL licensed works can include Apache 2.0
licensed works. It does NOT mean (and on that page it even clearly
states) that ASF projects will not include works that are licensed
more restrictively than the Apache 2.0 license, which means no GPL/
LGPL stuff in OFBiz or any other ASF project.
-David
On Nov 25, 2008, at 2:18 PM, BJ Freeman wrote:
> http://www.apache.org/licenses/GPL-compatibility.html
>
> Shi Yusen sent the following on 11/25/2008 11:09 AM:
>> Just curious on these:
>> http://www.fsf.org/licensing/licenses/
>> http://www.dwheeler.com/essays/gpl-compatible.html
>>
>> Is GPL/LGPL 3.0 compatible with Apache License 2.0 in a single
>> direction?
>>
>> Shi Yusen/Beijing Langhua Ltd.
>>
>> 在 2008-11-25二的 11:50 -0700,Brett Palmer写道:
>>> Erwan,
>>>
>>> The files that are not Apache compatible in the Selenium-RC
>>> distribution
>>> come from selenium-server.jar and are as follows:
>>>
>>> core/lib/cssQuery
>>>
>>> - cssQuery-p.js
>>> - cssQuery-level2.js
>>> - cssQuery-level3.js
>>> - cssQuery-standard.js
>>> - cssQuery.js
>>> - xbDebug.js
>>> - compiler.js
>>> - strands.js
>>>
>>> In my testing, the only files that seleniumXml needs to run (so
>>> far anyway)
>>> are the cssQuery files. These are LGPL licensed and written by
>>> Dean Edwards
>>> (http://dean.edwards.name/). I wrote him to see if he would be
>>> willing to
>>> change the license to something that is Apache compatible, but I
>>> never heard
>>> back from him.
>>>
>>> The seleniumXml code only depends on the selenium-java-client.jar
>>> which is
>>> all Apache 2.0 licensed, so you should be able to compile the code
>>> in ofbiz
>>> without having to comment stuff out. The problem is you need the
>>> selenium
>>> server to actually run a Selenium RC test.
>>>
>>> We could work around the Apache hosting conflict by having an Ant
>>> target
>>> download the selenium-server.jar from a non-Apache site (e.g.
>>> SourceForge
>>> where seleniumXml is hosted right now). The Apache Velocity
>>> project's build
>>> does something like this to download Jar files that it needs to
>>> compile.
>>>
>>> I would be interested in seeing your Selenium RC script that does
>>> the
>>> updates, etc. Does your script integrate with an automated builder/
>>> tester
>>> like Cruise Control?
>>>
>>> We are happy to contribute the seleniumXml code to the project. If
>>> we can't
>>> get the license problems resolved we can continue to use
>>> SourceForge (
>>> http://sourceforge.net/projects/seleniumxml/) as an immediate
>>> solution.
>>>
>>>
>>> Thanks,
>>>
>>>
>>> Brett
>>>
>>>
>>> On Tue, Nov 25, 2008 at 11:03 AM, Erwan de FERRIERES <
>>> erwan.de-ferrieres@nereide.biz> wrote:
>>>
>>>> so can we make it work, put everything in the trunk except the
>>>> selenium
>>>> files, and let the user add himself the selenium files ?
>>>>
>>>> In order to start the tests, we could think about the places to
>>>> record the
>>>> tests, and also the different scenarios we would like to be tested.
>>>>
>>>> Have we yet decided of the manner to do it :
>>>> * start with an ant run-install, load data and run tests for each
>>>> component
>>>> * each component is independant from the others for the test ?
>>>> * have an ant task to launch the tests ?
>>>>
>>>> Actually, we've made a beautiful shell script that updates,
>>>> launch and run
>>>> the tests, with a selenium RC. Is this a good solution, or do we
>>>> have to
>>>> think about something else ?
>>>>
>>>>
>>>> David E Jones a écrit :
>>>>
>>>>> There is a subtlety that has been mentioned a few times but may
>>>>> be easy to
>>>>> miss: Selenium may be Apache 2.0 licensed but it evidently
>>>>> depends on
>>>>> GPL/LGPL libraries (or at least it used to and may still, some
>>>>> people were
>>>>> going to look into that again now), and we'd have to include
>>>>> those too, but
>>>>> we can't do that in an ASF project.
>>>>>
>>>>> In fact, if Selenium has code that depends on a GPL licensed
>>>>> library, then
>>>>> technically they are not complying with the terms of the GPL
>>>>> because they
>>>>> would have to license Selenium itself under the GPL to be
>>>>> compliant. That's
>>>>> one of a few reasons why we can't just throw it into OFBiz.
>>>>>
>>>>> Part of the point of the ASF legal strategy is to make sure that
>>>>> users of
>>>>> ASF software don't have to worry about things like viral
>>>>> licenses, so this
>>>>> is quite important.
>>>>>
>>>>> -David
>>>>>
>>>>>
>>>>> On Nov 25, 2008, at 12:29 PM, Erwan de FERRIERES wrote:
>>>>>
>>>>> Selenium projects are under the Apache 2.0 license. So, what are
>>>>> we
>>>>>> waiting to integrate it ?
>>>>>>
>>>>>> http://selenium-ide.seleniumhq.org/license.jsp
>>>>>>
>>>>>> Jacques Le Roux a écrit :
>>>>>>
>>>>>>> I just wanted to remember any interested person about the
>>>>>>> Selenium
>>>>>>> lience issue we crossed some times ago and is still existing I'm
>>>>>>> pretty sure (did not check though)
>>>>>>>
>>>>>>> https://issues.apache.org/jira/browse/OFBIZ-680?focusedCommentId=12470728
>>>>>>> #action_12470728There is where we see what GPL viral issue is
>>>>>>> all about :(Just a little part
>>>>>>> and all is polluted, at least from our POV)
>>>>>>> Jacques
>>>>>>> From: "Jacques Le Roux" <ja...@les7arts.com>
>>>>>>>
>>>>>>>> Thanks for the link Brett,
>>>>>>>>
>>>>>>>> Much appreciated
>>>>>>>>
>>>>>>>> Jacques
>>>>>>>>
>>>>>>>> From: "Brett Palmer" <br...@gmail.com>
>>>>>>>> FYI,
>>>>>>>>
>>>>>>>> Here is the link to the presentation on Selenium that I gave
>>>>>>>> at the
>>>>>>>> ApacheCon/OFBiz conference this week. There were several good
>>>>>>>> presentations
>>>>>>>> on OFBiz this week. Most of these are available at the
>>>>>>>> us.apahecon.comwebsite.
>>>>>>>>
>>>>>>>>
>>>>>>>> http://us.apachecon.com/presentation/materials/118/ApacheCon2008_SeleniumXml.pdf
>>>>>>>>
>>>>>>>>
>>>>>>>> Brett
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> On Fri, Oct 31, 2008 at 4:03 AM, Erwan de FERRIERES <
>>>>>>>> erwan.de-ferrieres@nereide.biz> wrote:
>>>>>>>>
>>>>>>>> Will the slides be available on the Internet after your
>>>>>>>> presentation ?
>>>>>>>>> I'm
>>>>>>>>> not coming to the ApacheCon, but I am very interested to see
>>>>>>>>> what
>>>>>>>>> you've
>>>>>>>>> done with Selenium.
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> Brett Palmer a écrit :
>>>>>>>>>
>>>>>>>>> David,
>>>>>>>>>
>>>>>>>>>> We have been using SeleniumRC and an extension called
>>>>>>>>>> SeleniumXml
>>>>>>>>>> that I
>>>>>>>>>> will be presenting on at the ApacheCon conference next
>>>>>>>>>> week. These
>>>>>>>>>> could
>>>>>>>>>> be
>>>>>>>>>> called from a normal ant process or used in Cruise Control.
>>>>>>>>>>
>>>>>>>>>> Let's talk more about this next week at the conference.
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> Brett
>>>>>>>>>>
>>>>>>>>>> On Wed, Oct 29, 2008 at 2:34 PM, David E Jones <
>>>>>>>>>> jonesde@hotwaxmedia.com
>>>>>>>>>>> wrote:
>>>>>>>>>> Erwan,
>>>>>>>>>>
>>>>>>>>>>> It would be great to have some tests that go through the
>>>>>>>>>>> user
>>>>>>>>>>> interface,
>>>>>>>>>>> but we don't have tools for this yet that fit into the
>>>>>>>>>>> automated
>>>>>>>>>>> test
>>>>>>>>>>> system
>>>>>>>>>>> in OFBiz (ie so they can run along with other tests, and run
>>>>>>>>>>> automatically).
>>>>>>>>>>>
>>>>>>>>>>> The goal is for the tests to all work with an "ant run-
>>>>>>>>>>> tests" (or
>>>>>>>>>>> "java
>>>>>>>>>>> -jar ofbiz.jar tests"), and to cover as much of OFBiz OOTB
>>>>>>>>>>> as
>>>>>>>>>>> possible,
>>>>>>>>>>> and
>>>>>>>>>>> then to also be easy to customize or comment out those
>>>>>>>>>>> that no
>>>>>>>>>>> longer
>>>>>>>>>>> apply
>>>>>>>>>>> after people customize or add on to OFBiz.
>>>>>>>>>>>
>>>>>>>>>>> If you guys would like to work on getting Selenium tests
>>>>>>>>>>> to work
>>>>>>>>>>> this
>>>>>>>>>>> way,
>>>>>>>>>>> that would be great. Others have looked at this and run into
>>>>>>>>>>> troubles, so
>>>>>>>>>>> the last idea I heard was to use something different and
>>>>>>>>>>> that might
>>>>>>>>>>> be
>>>>>>>>>>> more
>>>>>>>>>>> manual for initial test writing, but probably easier to
>>>>>>>>>>> maintain.
>>>>>>>>>>>
>>>>>>>>>>> At Hotwax we've written/recorded a bunch of Selenium tests
>>>>>>>>>>> for
>>>>>>>>>>> clients,
>>>>>>>>>>> but
>>>>>>>>>>> they are difficult to maintain and as far as we've gone
>>>>>>>>>>> they also
>>>>>>>>>>> have to
>>>>>>>>>>> be
>>>>>>>>>>> manually run and watched.
>>>>>>>>>>>
>>>>>>>>>>> -David
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> On Oct 29, 2008, at 12:09 PM, Erwan de FERRIERES wrote:
>>>>>>>>>>>
>>>>>>>>>>> Here at Nereide, we are ready to make selenium tests (it's
>>>>>>>>>>> a task we
>>>>>>>>>>> have
>>>>>>>>>>>
>>>>>>>>>>> planned to do, but which is always postponed....).
>>>>>>>>>>>> So, if it's ok with you and that you are interested in
>>>>>>>>>>>> that, we are
>>>>>>>>>>>> going
>>>>>>>>>>>> to make it real !
>>>>>>>>>>>>
>>>>>>>>>>>> David E Jones a écrit :
>>>>>>>>>>>>
>>>>>>>>>>>> On Oct 29, 2008, at 11:54 AM, Adam Heath wrote:
>>>>>>>>>>>>
>>>>>>>>>>>>> BJ Freeman wrote:
>>>>>>>>>>>>>
>>>>>>>>>>>>>> there has been an effort to put in test units.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> the only thing lacking, in making it complete is
>>>>>>>>>>>>>>> manpower.
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> And fixing the existing tests that are broken. :|
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>> This is an area where it would be REALLY GREAT to have
>>>>>>>>>>>>>> more
>>>>>>>>>>>>>> effort go
>>>>>>>>>>>>>>
>>>>>>>>>>>>> into the project. Yep, great enough to capitalize
>>>>>>>>>>>>> "REALLY" and
>>>>>>>>>>>>> "GREAT".
>>>>>>>>>>>>> Who has worked on the unit tests that are in place? I'll
>>>>>>>>>>>>> admit I
>>>>>>>>>>>>> haven't
>>>>>>>>>>>>> much except on the toolset and some of the framework
>>>>>>>>>>>>> unit tests
>>>>>>>>>>>>> and
>>>>>>>>>>>>> helping
>>>>>>>>>>>>> some of the Hotwax Media people who wrote many of the
>>>>>>>>>>>>> tests that
>>>>>>>>>>>>> now
>>>>>>>>>>>>> exist,
>>>>>>>>>>>>> especially the ones in the various applications.
>>>>>>>>>>>>> Is there anyone interested in working on this stuff? If
>>>>>>>>>>>>> there are
>>>>>>>>>>>>> enough
>>>>>>>>>>>>> people who want to actively work on it we can setup some
>>>>>>>>>>>>> coordination
>>>>>>>>>>>>> resources (ie Jira tasks, confluence pages, etc). If
>>>>>>>>>>>>> there are
>>>>>>>>>>>>> only 2-3
>>>>>>>>>>>>> then
>>>>>>>>>>>>> coordination through the mailing list would be better,
>>>>>>>>>>>>> and more
>>>>>>>>>>>>> visible
>>>>>>>>>>>>> to
>>>>>>>>>>>>> others possibly interested.
>>>>>>>>>>>>> -David
>>>>>>>>>>>>>
>>>>>>>>>>>>> --
>>>>>>>>>>>>>
>>>>>>>>>>>> - Erwan -
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>> --
>>>>>>>>> - Erwan -
>>>>>>>>>
>>>>>>>>>
>>>>>> --
>>>>>> - Erwan -
>>>>>>
>>>>>
>>>>>
>>>> --
>>>> - Erwan -
>>>>
>>
>>
>>
>
Re: Selenium Presentation for OFBiz - Re: OOTB Unit Tests (was Re:
Stable trunk?)
Posted by BJ Freeman <bj...@free-man.net>.
http://www.apache.org/licenses/GPL-compatibility.html
Shi Yusen sent the following on 11/25/2008 11:09 AM:
> Just curious on these:
> http://www.fsf.org/licensing/licenses/
> http://www.dwheeler.com/essays/gpl-compatible.html
>
> Is GPL/LGPL 3.0 compatible with Apache License 2.0 in a single
> direction?
>
> Shi Yusen/Beijing Langhua Ltd.
>
> 在 2008-11-25二的 11:50 -0700,Brett Palmer写道:
>> Erwan,
>>
>> The files that are not Apache compatible in the Selenium-RC distribution
>> come from selenium-server.jar and are as follows:
>>
>> core/lib/cssQuery
>>
>> - cssQuery-p.js
>> - cssQuery-level2.js
>> - cssQuery-level3.js
>> - cssQuery-standard.js
>> - cssQuery.js
>> - xbDebug.js
>> - compiler.js
>> - strands.js
>>
>> In my testing, the only files that seleniumXml needs to run (so far anyway)
>> are the cssQuery files. These are LGPL licensed and written by Dean Edwards
>> (http://dean.edwards.name/). I wrote him to see if he would be willing to
>> change the license to something that is Apache compatible, but I never heard
>> back from him.
>>
>> The seleniumXml code only depends on the selenium-java-client.jar which is
>> all Apache 2.0 licensed, so you should be able to compile the code in ofbiz
>> without having to comment stuff out. The problem is you need the selenium
>> server to actually run a Selenium RC test.
>>
>> We could work around the Apache hosting conflict by having an Ant target
>> download the selenium-server.jar from a non-Apache site (e.g. SourceForge
>> where seleniumXml is hosted right now). The Apache Velocity project's build
>> does something like this to download Jar files that it needs to compile.
>>
>> I would be interested in seeing your Selenium RC script that does the
>> updates, etc. Does your script integrate with an automated builder/tester
>> like Cruise Control?
>>
>> We are happy to contribute the seleniumXml code to the project. If we can't
>> get the license problems resolved we can continue to use SourceForge (
>> http://sourceforge.net/projects/seleniumxml/) as an immediate solution.
>>
>>
>> Thanks,
>>
>>
>> Brett
>>
>>
>> On Tue, Nov 25, 2008 at 11:03 AM, Erwan de FERRIERES <
>> erwan.de-ferrieres@nereide.biz> wrote:
>>
>>> so can we make it work, put everything in the trunk except the selenium
>>> files, and let the user add himself the selenium files ?
>>>
>>> In order to start the tests, we could think about the places to record the
>>> tests, and also the different scenarios we would like to be tested.
>>>
>>> Have we yet decided of the manner to do it :
>>> * start with an ant run-install, load data and run tests for each component
>>> * each component is independant from the others for the test ?
>>> * have an ant task to launch the tests ?
>>>
>>> Actually, we've made a beautiful shell script that updates, launch and run
>>> the tests, with a selenium RC. Is this a good solution, or do we have to
>>> think about something else ?
>>>
>>>
>>> David E Jones a écrit :
>>>
>>>> There is a subtlety that has been mentioned a few times but may be easy to
>>>> miss: Selenium may be Apache 2.0 licensed but it evidently depends on
>>>> GPL/LGPL libraries (or at least it used to and may still, some people were
>>>> going to look into that again now), and we'd have to include those too, but
>>>> we can't do that in an ASF project.
>>>>
>>>> In fact, if Selenium has code that depends on a GPL licensed library, then
>>>> technically they are not complying with the terms of the GPL because they
>>>> would have to license Selenium itself under the GPL to be compliant. That's
>>>> one of a few reasons why we can't just throw it into OFBiz.
>>>>
>>>> Part of the point of the ASF legal strategy is to make sure that users of
>>>> ASF software don't have to worry about things like viral licenses, so this
>>>> is quite important.
>>>>
>>>> -David
>>>>
>>>>
>>>> On Nov 25, 2008, at 12:29 PM, Erwan de FERRIERES wrote:
>>>>
>>>> Selenium projects are under the Apache 2.0 license. So, what are we
>>>>> waiting to integrate it ?
>>>>>
>>>>> http://selenium-ide.seleniumhq.org/license.jsp
>>>>>
>>>>> Jacques Le Roux a écrit :
>>>>>
>>>>>> I just wanted to remember any interested person about the Selenium
>>>>>> lience issue we crossed some times ago and is still existing I'm
>>>>>> pretty sure (did not check though)
>>>>>>
>>>>>> https://issues.apache.org/jira/browse/OFBIZ-680?focusedCommentId=12470728#action_12470728There is where we see what GPL viral issue is all about :(Just a little part
>>>>>> and all is polluted, at least from our POV)
>>>>>> Jacques
>>>>>> From: "Jacques Le Roux" <ja...@les7arts.com>
>>>>>>
>>>>>>> Thanks for the link Brett,
>>>>>>>
>>>>>>> Much appreciated
>>>>>>>
>>>>>>> Jacques
>>>>>>>
>>>>>>> From: "Brett Palmer" <br...@gmail.com>
>>>>>>> FYI,
>>>>>>>
>>>>>>> Here is the link to the presentation on Selenium that I gave at the
>>>>>>> ApacheCon/OFBiz conference this week. There were several good
>>>>>>> presentations
>>>>>>> on OFBiz this week. Most of these are available at the
>>>>>>> us.apahecon.comwebsite.
>>>>>>>
>>>>>>>
>>>>>>> http://us.apachecon.com/presentation/materials/118/ApacheCon2008_SeleniumXml.pdf
>>>>>>>
>>>>>>>
>>>>>>> Brett
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> On Fri, Oct 31, 2008 at 4:03 AM, Erwan de FERRIERES <
>>>>>>> erwan.de-ferrieres@nereide.biz> wrote:
>>>>>>>
>>>>>>> Will the slides be available on the Internet after your presentation ?
>>>>>>>> I'm
>>>>>>>> not coming to the ApacheCon, but I am very interested to see what
>>>>>>>> you've
>>>>>>>> done with Selenium.
>>>>>>>>
>>>>>>>>
>>>>>>>> Brett Palmer a écrit :
>>>>>>>>
>>>>>>>> David,
>>>>>>>>
>>>>>>>>> We have been using SeleniumRC and an extension called SeleniumXml
>>>>>>>>> that I
>>>>>>>>> will be presenting on at the ApacheCon conference next week. These
>>>>>>>>> could
>>>>>>>>> be
>>>>>>>>> called from a normal ant process or used in Cruise Control.
>>>>>>>>>
>>>>>>>>> Let's talk more about this next week at the conference.
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> Brett
>>>>>>>>>
>>>>>>>>> On Wed, Oct 29, 2008 at 2:34 PM, David E Jones <
>>>>>>>>> jonesde@hotwaxmedia.com
>>>>>>>>>> wrote:
>>>>>>>>> Erwan,
>>>>>>>>>
>>>>>>>>>> It would be great to have some tests that go through the user
>>>>>>>>>> interface,
>>>>>>>>>> but we don't have tools for this yet that fit into the automated
>>>>>>>>>> test
>>>>>>>>>> system
>>>>>>>>>> in OFBiz (ie so they can run along with other tests, and run
>>>>>>>>>> automatically).
>>>>>>>>>>
>>>>>>>>>> The goal is for the tests to all work with an "ant run-tests" (or
>>>>>>>>>> "java
>>>>>>>>>> -jar ofbiz.jar tests"), and to cover as much of OFBiz OOTB as
>>>>>>>>>> possible,
>>>>>>>>>> and
>>>>>>>>>> then to also be easy to customize or comment out those that no
>>>>>>>>>> longer
>>>>>>>>>> apply
>>>>>>>>>> after people customize or add on to OFBiz.
>>>>>>>>>>
>>>>>>>>>> If you guys would like to work on getting Selenium tests to work
>>>>>>>>>> this
>>>>>>>>>> way,
>>>>>>>>>> that would be great. Others have looked at this and run into
>>>>>>>>>> troubles, so
>>>>>>>>>> the last idea I heard was to use something different and that might
>>>>>>>>>> be
>>>>>>>>>> more
>>>>>>>>>> manual for initial test writing, but probably easier to maintain.
>>>>>>>>>>
>>>>>>>>>> At Hotwax we've written/recorded a bunch of Selenium tests for
>>>>>>>>>> clients,
>>>>>>>>>> but
>>>>>>>>>> they are difficult to maintain and as far as we've gone they also
>>>>>>>>>> have to
>>>>>>>>>> be
>>>>>>>>>> manually run and watched.
>>>>>>>>>>
>>>>>>>>>> -David
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> On Oct 29, 2008, at 12:09 PM, Erwan de FERRIERES wrote:
>>>>>>>>>>
>>>>>>>>>> Here at Nereide, we are ready to make selenium tests (it's a task we
>>>>>>>>>> have
>>>>>>>>>>
>>>>>>>>>> planned to do, but which is always postponed....).
>>>>>>>>>>> So, if it's ok with you and that you are interested in that, we are
>>>>>>>>>>> going
>>>>>>>>>>> to make it real !
>>>>>>>>>>>
>>>>>>>>>>> David E Jones a écrit :
>>>>>>>>>>>
>>>>>>>>>>> On Oct 29, 2008, at 11:54 AM, Adam Heath wrote:
>>>>>>>>>>>
>>>>>>>>>>>> BJ Freeman wrote:
>>>>>>>>>>>>
>>>>>>>>>>>>> there has been an effort to put in test units.
>>>>>>>>>>>>>
>>>>>>>>>>>>>> the only thing lacking, in making it complete is manpower.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> And fixing the existing tests that are broken. :|
>>>>>>>>>>>>>>
>>>>>>>>>>>>> This is an area where it would be REALLY GREAT to have more
>>>>>>>>>>>>> effort go
>>>>>>>>>>>>>
>>>>>>>>>>>> into the project. Yep, great enough to capitalize "REALLY" and
>>>>>>>>>>>> "GREAT".
>>>>>>>>>>>> Who has worked on the unit tests that are in place? I'll admit I
>>>>>>>>>>>> haven't
>>>>>>>>>>>> much except on the toolset and some of the framework unit tests
>>>>>>>>>>>> and
>>>>>>>>>>>> helping
>>>>>>>>>>>> some of the Hotwax Media people who wrote many of the tests that
>>>>>>>>>>>> now
>>>>>>>>>>>> exist,
>>>>>>>>>>>> especially the ones in the various applications.
>>>>>>>>>>>> Is there anyone interested in working on this stuff? If there are
>>>>>>>>>>>> enough
>>>>>>>>>>>> people who want to actively work on it we can setup some
>>>>>>>>>>>> coordination
>>>>>>>>>>>> resources (ie Jira tasks, confluence pages, etc). If there are
>>>>>>>>>>>> only 2-3
>>>>>>>>>>>> then
>>>>>>>>>>>> coordination through the mailing list would be better, and more
>>>>>>>>>>>> visible
>>>>>>>>>>>> to
>>>>>>>>>>>> others possibly interested.
>>>>>>>>>>>> -David
>>>>>>>>>>>>
>>>>>>>>>>>> --
>>>>>>>>>>>>
>>>>>>>>>>> - Erwan -
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>> --
>>>>>>>> - Erwan -
>>>>>>>>
>>>>>>>>
>>>>> --
>>>>> - Erwan -
>>>>>
>>>>
>>>>
>>> --
>>> - Erwan -
>>>
>
>
>
Re: Selenium Presentation for OFBiz - Re: OOTB Unit Tests (was Re:
Stable trunk?)
Posted by Shi Yusen <sh...@langhua.cn>.
Just curious on these:
http://www.fsf.org/licensing/licenses/
http://www.dwheeler.com/essays/gpl-compatible.html
Is GPL/LGPL 3.0 compatible with Apache License 2.0 in a single
direction?
Shi Yusen/Beijing Langhua Ltd.
在 2008-11-25二的 11:50 -0700,Brett Palmer写道:
> Erwan,
>
> The files that are not Apache compatible in the Selenium-RC distribution
> come from selenium-server.jar and are as follows:
>
> core/lib/cssQuery
>
> - cssQuery-p.js
> - cssQuery-level2.js
> - cssQuery-level3.js
> - cssQuery-standard.js
> - cssQuery.js
> - xbDebug.js
> - compiler.js
> - strands.js
>
> In my testing, the only files that seleniumXml needs to run (so far anyway)
> are the cssQuery files. These are LGPL licensed and written by Dean Edwards
> (http://dean.edwards.name/). I wrote him to see if he would be willing to
> change the license to something that is Apache compatible, but I never heard
> back from him.
>
> The seleniumXml code only depends on the selenium-java-client.jar which is
> all Apache 2.0 licensed, so you should be able to compile the code in ofbiz
> without having to comment stuff out. The problem is you need the selenium
> server to actually run a Selenium RC test.
>
> We could work around the Apache hosting conflict by having an Ant target
> download the selenium-server.jar from a non-Apache site (e.g. SourceForge
> where seleniumXml is hosted right now). The Apache Velocity project's build
> does something like this to download Jar files that it needs to compile.
>
> I would be interested in seeing your Selenium RC script that does the
> updates, etc. Does your script integrate with an automated builder/tester
> like Cruise Control?
>
> We are happy to contribute the seleniumXml code to the project. If we can't
> get the license problems resolved we can continue to use SourceForge (
> http://sourceforge.net/projects/seleniumxml/) as an immediate solution.
>
>
> Thanks,
>
>
> Brett
>
>
> On Tue, Nov 25, 2008 at 11:03 AM, Erwan de FERRIERES <
> erwan.de-ferrieres@nereide.biz> wrote:
>
> > so can we make it work, put everything in the trunk except the selenium
> > files, and let the user add himself the selenium files ?
> >
> > In order to start the tests, we could think about the places to record the
> > tests, and also the different scenarios we would like to be tested.
> >
> > Have we yet decided of the manner to do it :
> > * start with an ant run-install, load data and run tests for each component
> > * each component is independant from the others for the test ?
> > * have an ant task to launch the tests ?
> >
> > Actually, we've made a beautiful shell script that updates, launch and run
> > the tests, with a selenium RC. Is this a good solution, or do we have to
> > think about something else ?
> >
> >
> > David E Jones a écrit :
> >
> >>
> >> There is a subtlety that has been mentioned a few times but may be easy to
> >> miss: Selenium may be Apache 2.0 licensed but it evidently depends on
> >> GPL/LGPL libraries (or at least it used to and may still, some people were
> >> going to look into that again now), and we'd have to include those too, but
> >> we can't do that in an ASF project.
> >>
> >> In fact, if Selenium has code that depends on a GPL licensed library, then
> >> technically they are not complying with the terms of the GPL because they
> >> would have to license Selenium itself under the GPL to be compliant. That's
> >> one of a few reasons why we can't just throw it into OFBiz.
> >>
> >> Part of the point of the ASF legal strategy is to make sure that users of
> >> ASF software don't have to worry about things like viral licenses, so this
> >> is quite important.
> >>
> >> -David
> >>
> >>
> >> On Nov 25, 2008, at 12:29 PM, Erwan de FERRIERES wrote:
> >>
> >> Selenium projects are under the Apache 2.0 license. So, what are we
> >>> waiting to integrate it ?
> >>>
> >>> http://selenium-ide.seleniumhq.org/license.jsp
> >>>
> >>> Jacques Le Roux a écrit :
> >>>
> >>>> I just wanted to remember any interested person about the Selenium
> >>>> lience issue we crossed some times ago and is still existing I'm
> >>>> pretty sure (did not check though)
> >>>>
> >>>> https://issues.apache.org/jira/browse/OFBIZ-680?focusedCommentId=12470728#action_12470728There is where we see what GPL viral issue is all about :(Just a little part
> >>>> and all is polluted, at least from our POV)
> >>>> Jacques
> >>>> From: "Jacques Le Roux" <ja...@les7arts.com>
> >>>>
> >>>>> Thanks for the link Brett,
> >>>>>
> >>>>> Much appreciated
> >>>>>
> >>>>> Jacques
> >>>>>
> >>>>> From: "Brett Palmer" <br...@gmail.com>
> >>>>> FYI,
> >>>>>
> >>>>> Here is the link to the presentation on Selenium that I gave at the
> >>>>> ApacheCon/OFBiz conference this week. There were several good
> >>>>> presentations
> >>>>> on OFBiz this week. Most of these are available at the
> >>>>> us.apahecon.comwebsite.
> >>>>>
> >>>>>
> >>>>> http://us.apachecon.com/presentation/materials/118/ApacheCon2008_SeleniumXml.pdf
> >>>>>
> >>>>>
> >>>>> Brett
> >>>>>
> >>>>>
> >>>>>
> >>>>> On Fri, Oct 31, 2008 at 4:03 AM, Erwan de FERRIERES <
> >>>>> erwan.de-ferrieres@nereide.biz> wrote:
> >>>>>
> >>>>> Will the slides be available on the Internet after your presentation ?
> >>>>>> I'm
> >>>>>> not coming to the ApacheCon, but I am very interested to see what
> >>>>>> you've
> >>>>>> done with Selenium.
> >>>>>>
> >>>>>>
> >>>>>> Brett Palmer a écrit :
> >>>>>>
> >>>>>> David,
> >>>>>>
> >>>>>>> We have been using SeleniumRC and an extension called SeleniumXml
> >>>>>>> that I
> >>>>>>> will be presenting on at the ApacheCon conference next week. These
> >>>>>>> could
> >>>>>>> be
> >>>>>>> called from a normal ant process or used in Cruise Control.
> >>>>>>>
> >>>>>>> Let's talk more about this next week at the conference.
> >>>>>>>
> >>>>>>>
> >>>>>>> Brett
> >>>>>>>
> >>>>>>> On Wed, Oct 29, 2008 at 2:34 PM, David E Jones <
> >>>>>>> jonesde@hotwaxmedia.com
> >>>>>>> >wrote:
> >>>>>>>
> >>>>>>> Erwan,
> >>>>>>>
> >>>>>>>>
> >>>>>>>> It would be great to have some tests that go through the user
> >>>>>>>> interface,
> >>>>>>>> but we don't have tools for this yet that fit into the automated
> >>>>>>>> test
> >>>>>>>> system
> >>>>>>>> in OFBiz (ie so they can run along with other tests, and run
> >>>>>>>> automatically).
> >>>>>>>>
> >>>>>>>> The goal is for the tests to all work with an "ant run-tests" (or
> >>>>>>>> "java
> >>>>>>>> -jar ofbiz.jar tests"), and to cover as much of OFBiz OOTB as
> >>>>>>>> possible,
> >>>>>>>> and
> >>>>>>>> then to also be easy to customize or comment out those that no
> >>>>>>>> longer
> >>>>>>>> apply
> >>>>>>>> after people customize or add on to OFBiz.
> >>>>>>>>
> >>>>>>>> If you guys would like to work on getting Selenium tests to work
> >>>>>>>> this
> >>>>>>>> way,
> >>>>>>>> that would be great. Others have looked at this and run into
> >>>>>>>> troubles, so
> >>>>>>>> the last idea I heard was to use something different and that might
> >>>>>>>> be
> >>>>>>>> more
> >>>>>>>> manual for initial test writing, but probably easier to maintain.
> >>>>>>>>
> >>>>>>>> At Hotwax we've written/recorded a bunch of Selenium tests for
> >>>>>>>> clients,
> >>>>>>>> but
> >>>>>>>> they are difficult to maintain and as far as we've gone they also
> >>>>>>>> have to
> >>>>>>>> be
> >>>>>>>> manually run and watched.
> >>>>>>>>
> >>>>>>>> -David
> >>>>>>>>
> >>>>>>>>
> >>>>>>>>
> >>>>>>>> On Oct 29, 2008, at 12:09 PM, Erwan de FERRIERES wrote:
> >>>>>>>>
> >>>>>>>> Here at Nereide, we are ready to make selenium tests (it's a task we
> >>>>>>>> have
> >>>>>>>>
> >>>>>>>> planned to do, but which is always postponed....).
> >>>>>>>>> So, if it's ok with you and that you are interested in that, we are
> >>>>>>>>> going
> >>>>>>>>> to make it real !
> >>>>>>>>>
> >>>>>>>>> David E Jones a écrit :
> >>>>>>>>>
> >>>>>>>>> On Oct 29, 2008, at 11:54 AM, Adam Heath wrote:
> >>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>> BJ Freeman wrote:
> >>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>> there has been an effort to put in test units.
> >>>>>>>>>>>
> >>>>>>>>>>>> the only thing lacking, in making it complete is manpower.
> >>>>>>>>>>>>
> >>>>>>>>>>>> And fixing the existing tests that are broken. :|
> >>>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>> This is an area where it would be REALLY GREAT to have more
> >>>>>>>>>>> effort go
> >>>>>>>>>>>
> >>>>>>>>>> into the project. Yep, great enough to capitalize "REALLY" and
> >>>>>>>>>> "GREAT".
> >>>>>>>>>> Who has worked on the unit tests that are in place? I'll admit I
> >>>>>>>>>> haven't
> >>>>>>>>>> much except on the toolset and some of the framework unit tests
> >>>>>>>>>> and
> >>>>>>>>>> helping
> >>>>>>>>>> some of the Hotwax Media people who wrote many of the tests that
> >>>>>>>>>> now
> >>>>>>>>>> exist,
> >>>>>>>>>> especially the ones in the various applications.
> >>>>>>>>>> Is there anyone interested in working on this stuff? If there are
> >>>>>>>>>> enough
> >>>>>>>>>> people who want to actively work on it we can setup some
> >>>>>>>>>> coordination
> >>>>>>>>>> resources (ie Jira tasks, confluence pages, etc). If there are
> >>>>>>>>>> only 2-3
> >>>>>>>>>> then
> >>>>>>>>>> coordination through the mailing list would be better, and more
> >>>>>>>>>> visible
> >>>>>>>>>> to
> >>>>>>>>>> others possibly interested.
> >>>>>>>>>> -David
> >>>>>>>>>>
> >>>>>>>>>> --
> >>>>>>>>>>
> >>>>>>>>> - Erwan -
> >>>>>>>>>
> >>>>>>>>>
> >>>>>>>>>
> >>>>>>>>
> >>>>>>> --
> >>>>>> - Erwan -
> >>>>>>
> >>>>>>
> >>>>>
> >>> --
> >>> - Erwan -
> >>>
> >>
> >>
> >>
> > --
> > - Erwan -
> >
Re: Selenium Presentation for OFBiz - Re: OOTB Unit Tests (was Re: Stable trunk?)
Posted by Brett Palmer <br...@gmail.com>.
Erwan,
The files that are not Apache compatible in the Selenium-RC distribution
come from selenium-server.jar and are as follows:
core/lib/cssQuery
- cssQuery-p.js
- cssQuery-level2.js
- cssQuery-level3.js
- cssQuery-standard.js
- cssQuery.js
- xbDebug.js
- compiler.js
- strands.js
In my testing, the only files that seleniumXml needs to run (so far anyway)
are the cssQuery files. These are LGPL licensed and written by Dean Edwards
(http://dean.edwards.name/). I wrote him to see if he would be willing to
change the license to something that is Apache compatible, but I never heard
back from him.
The seleniumXml code only depends on the selenium-java-client.jar which is
all Apache 2.0 licensed, so you should be able to compile the code in ofbiz
without having to comment stuff out. The problem is you need the selenium
server to actually run a Selenium RC test.
We could work around the Apache hosting conflict by having an Ant target
download the selenium-server.jar from a non-Apache site (e.g. SourceForge
where seleniumXml is hosted right now). The Apache Velocity project's build
does something like this to download Jar files that it needs to compile.
I would be interested in seeing your Selenium RC script that does the
updates, etc. Does your script integrate with an automated builder/tester
like Cruise Control?
We are happy to contribute the seleniumXml code to the project. If we can't
get the license problems resolved we can continue to use SourceForge (
http://sourceforge.net/projects/seleniumxml/) as an immediate solution.
Thanks,
Brett
On Tue, Nov 25, 2008 at 11:03 AM, Erwan de FERRIERES <
erwan.de-ferrieres@nereide.biz> wrote:
> so can we make it work, put everything in the trunk except the selenium
> files, and let the user add himself the selenium files ?
>
> In order to start the tests, we could think about the places to record the
> tests, and also the different scenarios we would like to be tested.
>
> Have we yet decided of the manner to do it :
> * start with an ant run-install, load data and run tests for each component
> * each component is independant from the others for the test ?
> * have an ant task to launch the tests ?
>
> Actually, we've made a beautiful shell script that updates, launch and run
> the tests, with a selenium RC. Is this a good solution, or do we have to
> think about something else ?
>
>
> David E Jones a écrit :
>
>>
>> There is a subtlety that has been mentioned a few times but may be easy to
>> miss: Selenium may be Apache 2.0 licensed but it evidently depends on
>> GPL/LGPL libraries (or at least it used to and may still, some people were
>> going to look into that again now), and we'd have to include those too, but
>> we can't do that in an ASF project.
>>
>> In fact, if Selenium has code that depends on a GPL licensed library, then
>> technically they are not complying with the terms of the GPL because they
>> would have to license Selenium itself under the GPL to be compliant. That's
>> one of a few reasons why we can't just throw it into OFBiz.
>>
>> Part of the point of the ASF legal strategy is to make sure that users of
>> ASF software don't have to worry about things like viral licenses, so this
>> is quite important.
>>
>> -David
>>
>>
>> On Nov 25, 2008, at 12:29 PM, Erwan de FERRIERES wrote:
>>
>> Selenium projects are under the Apache 2.0 license. So, what are we
>>> waiting to integrate it ?
>>>
>>> http://selenium-ide.seleniumhq.org/license.jsp
>>>
>>> Jacques Le Roux a écrit :
>>>
>>>> I just wanted to remember any interested person about the Selenium
>>>> lience issue we crossed some times ago and is still existing I'm
>>>> pretty sure (did not check though)
>>>>
>>>> https://issues.apache.org/jira/browse/OFBIZ-680?focusedCommentId=12470728#action_12470728There is where we see what GPL viral issue is all about :(Just a little part
>>>> and all is polluted, at least from our POV)
>>>> Jacques
>>>> From: "Jacques Le Roux" <ja...@les7arts.com>
>>>>
>>>>> Thanks for the link Brett,
>>>>>
>>>>> Much appreciated
>>>>>
>>>>> Jacques
>>>>>
>>>>> From: "Brett Palmer" <br...@gmail.com>
>>>>> FYI,
>>>>>
>>>>> Here is the link to the presentation on Selenium that I gave at the
>>>>> ApacheCon/OFBiz conference this week. There were several good
>>>>> presentations
>>>>> on OFBiz this week. Most of these are available at the
>>>>> us.apahecon.comwebsite.
>>>>>
>>>>>
>>>>> http://us.apachecon.com/presentation/materials/118/ApacheCon2008_SeleniumXml.pdf
>>>>>
>>>>>
>>>>> Brett
>>>>>
>>>>>
>>>>>
>>>>> On Fri, Oct 31, 2008 at 4:03 AM, Erwan de FERRIERES <
>>>>> erwan.de-ferrieres@nereide.biz> wrote:
>>>>>
>>>>> Will the slides be available on the Internet after your presentation ?
>>>>>> I'm
>>>>>> not coming to the ApacheCon, but I am very interested to see what
>>>>>> you've
>>>>>> done with Selenium.
>>>>>>
>>>>>>
>>>>>> Brett Palmer a écrit :
>>>>>>
>>>>>> David,
>>>>>>
>>>>>>> We have been using SeleniumRC and an extension called SeleniumXml
>>>>>>> that I
>>>>>>> will be presenting on at the ApacheCon conference next week. These
>>>>>>> could
>>>>>>> be
>>>>>>> called from a normal ant process or used in Cruise Control.
>>>>>>>
>>>>>>> Let's talk more about this next week at the conference.
>>>>>>>
>>>>>>>
>>>>>>> Brett
>>>>>>>
>>>>>>> On Wed, Oct 29, 2008 at 2:34 PM, David E Jones <
>>>>>>> jonesde@hotwaxmedia.com
>>>>>>> >wrote:
>>>>>>>
>>>>>>> Erwan,
>>>>>>>
>>>>>>>>
>>>>>>>> It would be great to have some tests that go through the user
>>>>>>>> interface,
>>>>>>>> but we don't have tools for this yet that fit into the automated
>>>>>>>> test
>>>>>>>> system
>>>>>>>> in OFBiz (ie so they can run along with other tests, and run
>>>>>>>> automatically).
>>>>>>>>
>>>>>>>> The goal is for the tests to all work with an "ant run-tests" (or
>>>>>>>> "java
>>>>>>>> -jar ofbiz.jar tests"), and to cover as much of OFBiz OOTB as
>>>>>>>> possible,
>>>>>>>> and
>>>>>>>> then to also be easy to customize or comment out those that no
>>>>>>>> longer
>>>>>>>> apply
>>>>>>>> after people customize or add on to OFBiz.
>>>>>>>>
>>>>>>>> If you guys would like to work on getting Selenium tests to work
>>>>>>>> this
>>>>>>>> way,
>>>>>>>> that would be great. Others have looked at this and run into
>>>>>>>> troubles, so
>>>>>>>> the last idea I heard was to use something different and that might
>>>>>>>> be
>>>>>>>> more
>>>>>>>> manual for initial test writing, but probably easier to maintain.
>>>>>>>>
>>>>>>>> At Hotwax we've written/recorded a bunch of Selenium tests for
>>>>>>>> clients,
>>>>>>>> but
>>>>>>>> they are difficult to maintain and as far as we've gone they also
>>>>>>>> have to
>>>>>>>> be
>>>>>>>> manually run and watched.
>>>>>>>>
>>>>>>>> -David
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> On Oct 29, 2008, at 12:09 PM, Erwan de FERRIERES wrote:
>>>>>>>>
>>>>>>>> Here at Nereide, we are ready to make selenium tests (it's a task we
>>>>>>>> have
>>>>>>>>
>>>>>>>> planned to do, but which is always postponed....).
>>>>>>>>> So, if it's ok with you and that you are interested in that, we are
>>>>>>>>> going
>>>>>>>>> to make it real !
>>>>>>>>>
>>>>>>>>> David E Jones a écrit :
>>>>>>>>>
>>>>>>>>> On Oct 29, 2008, at 11:54 AM, Adam Heath wrote:
>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> BJ Freeman wrote:
>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> there has been an effort to put in test units.
>>>>>>>>>>>
>>>>>>>>>>>> the only thing lacking, in making it complete is manpower.
>>>>>>>>>>>>
>>>>>>>>>>>> And fixing the existing tests that are broken. :|
>>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> This is an area where it would be REALLY GREAT to have more
>>>>>>>>>>> effort go
>>>>>>>>>>>
>>>>>>>>>> into the project. Yep, great enough to capitalize "REALLY" and
>>>>>>>>>> "GREAT".
>>>>>>>>>> Who has worked on the unit tests that are in place? I'll admit I
>>>>>>>>>> haven't
>>>>>>>>>> much except on the toolset and some of the framework unit tests
>>>>>>>>>> and
>>>>>>>>>> helping
>>>>>>>>>> some of the Hotwax Media people who wrote many of the tests that
>>>>>>>>>> now
>>>>>>>>>> exist,
>>>>>>>>>> especially the ones in the various applications.
>>>>>>>>>> Is there anyone interested in working on this stuff? If there are
>>>>>>>>>> enough
>>>>>>>>>> people who want to actively work on it we can setup some
>>>>>>>>>> coordination
>>>>>>>>>> resources (ie Jira tasks, confluence pages, etc). If there are
>>>>>>>>>> only 2-3
>>>>>>>>>> then
>>>>>>>>>> coordination through the mailing list would be better, and more
>>>>>>>>>> visible
>>>>>>>>>> to
>>>>>>>>>> others possibly interested.
>>>>>>>>>> -David
>>>>>>>>>>
>>>>>>>>>> --
>>>>>>>>>>
>>>>>>>>> - Erwan -
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>> --
>>>>>> - Erwan -
>>>>>>
>>>>>>
>>>>>
>>> --
>>> - Erwan -
>>>
>>
>>
>>
> --
> - Erwan -
>
Re: Selenium Presentation for OFBiz - Re: OOTB Unit Tests (was Re:
Stable trunk?)
Posted by Erwan de FERRIERES <er...@nereide.biz>.
so can we make it work, put everything in the trunk except the selenium
files, and let the user add himself the selenium files ?
In order to start the tests, we could think about the places to record
the tests, and also the different scenarios we would like to be tested.
Have we yet decided of the manner to do it :
* start with an ant run-install, load data and run tests for each component
* each component is independant from the others for the test ?
* have an ant task to launch the tests ?
Actually, we've made a beautiful shell script that updates, launch and
run the tests, with a selenium RC. Is this a good solution, or do we
have to think about something else ?
David E Jones a écrit :
>
> There is a subtlety that has been mentioned a few times but may be easy
> to miss: Selenium may be Apache 2.0 licensed but it evidently depends on
> GPL/LGPL libraries (or at least it used to and may still, some people
> were going to look into that again now), and we'd have to include those
> too, but we can't do that in an ASF project.
>
> In fact, if Selenium has code that depends on a GPL licensed library,
> then technically they are not complying with the terms of the GPL
> because they would have to license Selenium itself under the GPL to be
> compliant. That's one of a few reasons why we can't just throw it into
> OFBiz.
>
> Part of the point of the ASF legal strategy is to make sure that users
> of ASF software don't have to worry about things like viral licenses, so
> this is quite important.
>
> -David
>
>
> On Nov 25, 2008, at 12:29 PM, Erwan de FERRIERES wrote:
>
>> Selenium projects are under the Apache 2.0 license. So, what are we
>> waiting to integrate it ?
>>
>> http://selenium-ide.seleniumhq.org/license.jsp
>>
>> Jacques Le Roux a écrit :
>>> I just wanted to remember any interested person about the Selenium
>>> lience issue we crossed some times ago and is still existing I'm
>>> pretty sure (did not check though)
>>> https://issues.apache.org/jira/browse/OFBIZ-680?focusedCommentId=12470728#action_12470728
>>> There is where we see what GPL viral issue is all about :(Just a
>>> little part and all is polluted, at least from our POV)
>>> Jacques
>>> From: "Jacques Le Roux" <ja...@les7arts.com>
>>>> Thanks for the link Brett,
>>>>
>>>> Much appreciated
>>>>
>>>> Jacques
>>>>
>>>> From: "Brett Palmer" <br...@gmail.com>
>>>> FYI,
>>>>
>>>> Here is the link to the presentation on Selenium that I gave at the
>>>> ApacheCon/OFBiz conference this week. There were several good
>>>> presentations
>>>> on OFBiz this week. Most of these are available at the
>>>> us.apahecon.comwebsite.
>>>>
>>>> http://us.apachecon.com/presentation/materials/118/ApacheCon2008_SeleniumXml.pdf
>>>>
>>>>
>>>>
>>>> Brett
>>>>
>>>>
>>>>
>>>> On Fri, Oct 31, 2008 at 4:03 AM, Erwan de FERRIERES <
>>>> erwan.de-ferrieres@nereide.biz> wrote:
>>>>
>>>>> Will the slides be available on the Internet after your
>>>>> presentation ? I'm
>>>>> not coming to the ApacheCon, but I am very interested to see what
>>>>> you've
>>>>> done with Selenium.
>>>>>
>>>>>
>>>>> Brett Palmer a écrit :
>>>>>
>>>>> David,
>>>>>> We have been using SeleniumRC and an extension called SeleniumXml
>>>>>> that I
>>>>>> will be presenting on at the ApacheCon conference next week.
>>>>>> These could
>>>>>> be
>>>>>> called from a normal ant process or used in Cruise Control.
>>>>>>
>>>>>> Let's talk more about this next week at the conference.
>>>>>>
>>>>>>
>>>>>> Brett
>>>>>>
>>>>>> On Wed, Oct 29, 2008 at 2:34 PM, David E Jones
>>>>>> <jonesde@hotwaxmedia.com
>>>>>> >wrote:
>>>>>>
>>>>>> Erwan,
>>>>>>>
>>>>>>> It would be great to have some tests that go through the user
>>>>>>> interface,
>>>>>>> but we don't have tools for this yet that fit into the automated
>>>>>>> test
>>>>>>> system
>>>>>>> in OFBiz (ie so they can run along with other tests, and run
>>>>>>> automatically).
>>>>>>>
>>>>>>> The goal is for the tests to all work with an "ant run-tests" (or
>>>>>>> "java
>>>>>>> -jar ofbiz.jar tests"), and to cover as much of OFBiz OOTB as
>>>>>>> possible,
>>>>>>> and
>>>>>>> then to also be easy to customize or comment out those that no
>>>>>>> longer
>>>>>>> apply
>>>>>>> after people customize or add on to OFBiz.
>>>>>>>
>>>>>>> If you guys would like to work on getting Selenium tests to work
>>>>>>> this
>>>>>>> way,
>>>>>>> that would be great. Others have looked at this and run into
>>>>>>> troubles, so
>>>>>>> the last idea I heard was to use something different and that
>>>>>>> might be
>>>>>>> more
>>>>>>> manual for initial test writing, but probably easier to maintain.
>>>>>>>
>>>>>>> At Hotwax we've written/recorded a bunch of Selenium tests for
>>>>>>> clients,
>>>>>>> but
>>>>>>> they are difficult to maintain and as far as we've gone they also
>>>>>>> have to
>>>>>>> be
>>>>>>> manually run and watched.
>>>>>>>
>>>>>>> -David
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> On Oct 29, 2008, at 12:09 PM, Erwan de FERRIERES wrote:
>>>>>>>
>>>>>>> Here at Nereide, we are ready to make selenium tests (it's a task we
>>>>>>> have
>>>>>>>
>>>>>>>> planned to do, but which is always postponed....).
>>>>>>>> So, if it's ok with you and that you are interested in that, we are
>>>>>>>> going
>>>>>>>> to make it real !
>>>>>>>>
>>>>>>>> David E Jones a écrit :
>>>>>>>>
>>>>>>>> On Oct 29, 2008, at 11:54 AM, Adam Heath wrote:
>>>>>>>>>
>>>>>>>>> BJ Freeman wrote:
>>>>>>>>>>
>>>>>>>>>> there has been an effort to put in test units.
>>>>>>>>>>> the only thing lacking, in making it complete is manpower.
>>>>>>>>>>>
>>>>>>>>>>> And fixing the existing tests that are broken. :|
>>>>>>>>>>
>>>>>>>>>> This is an area where it would be REALLY GREAT to have more
>>>>>>>>>> effort go
>>>>>>>>> into the project. Yep, great enough to capitalize "REALLY" and
>>>>>>>>> "GREAT".
>>>>>>>>> Who has worked on the unit tests that are in place? I'll admit I
>>>>>>>>> haven't
>>>>>>>>> much except on the toolset and some of the framework unit tests
>>>>>>>>> and
>>>>>>>>> helping
>>>>>>>>> some of the Hotwax Media people who wrote many of the tests
>>>>>>>>> that now
>>>>>>>>> exist,
>>>>>>>>> especially the ones in the various applications.
>>>>>>>>> Is there anyone interested in working on this stuff? If there are
>>>>>>>>> enough
>>>>>>>>> people who want to actively work on it we can setup some
>>>>>>>>> coordination
>>>>>>>>> resources (ie Jira tasks, confluence pages, etc). If there are
>>>>>>>>> only 2-3
>>>>>>>>> then
>>>>>>>>> coordination through the mailing list would be better, and more
>>>>>>>>> visible
>>>>>>>>> to
>>>>>>>>> others possibly interested.
>>>>>>>>> -David
>>>>>>>>>
>>>>>>>>> --
>>>>>>>> - Erwan -
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>
>>>>> --
>>>>> - Erwan -
>>>>>
>>>>
>>
>> --
>> - Erwan -
>
>
--
- Erwan -
Re: Selenium Presentation for OFBiz - Re: OOTB Unit Tests (was Re: Stable trunk?)
Posted by David E Jones <da...@hotwaxmedia.com>.
There is a subtlety that has been mentioned a few times but may be
easy to miss: Selenium may be Apache 2.0 licensed but it evidently
depends on GPL/LGPL libraries (or at least it used to and may still,
some people were going to look into that again now), and we'd have to
include those too, but we can't do that in an ASF project.
In fact, if Selenium has code that depends on a GPL licensed library,
then technically they are not complying with the terms of the GPL
because they would have to license Selenium itself under the GPL to be
compliant. That's one of a few reasons why we can't just throw it into
OFBiz.
Part of the point of the ASF legal strategy is to make sure that users
of ASF software don't have to worry about things like viral licenses,
so this is quite important.
-David
On Nov 25, 2008, at 12:29 PM, Erwan de FERRIERES wrote:
> Selenium projects are under the Apache 2.0 license. So, what are we
> waiting to integrate it ?
>
> http://selenium-ide.seleniumhq.org/license.jsp
>
> Jacques Le Roux a écrit :
>> I just wanted to remember any interested person about the Selenium
>> lience issue we crossed some times ago and is still existing I'm
>> pretty sure (did not check though)
>> https://issues.apache.org/jira/browse/OFBIZ-680?focusedCommentId=12470728
>> #action_12470728 There is where we see what GPL viral issue is all
>> about :(Just a little part and all is polluted, at least from our
>> POV)
>> Jacques
>> From: "Jacques Le Roux" <ja...@les7arts.com>
>>> Thanks for the link Brett,
>>>
>>> Much appreciated
>>>
>>> Jacques
>>>
>>> From: "Brett Palmer" <br...@gmail.com>
>>> FYI,
>>>
>>> Here is the link to the presentation on Selenium that I gave at the
>>> ApacheCon/OFBiz conference this week. There were several good
>>> presentations
>>> on OFBiz this week. Most of these are available at the
>>> us.apahecon.comwebsite.
>>>
>>> http://us.apachecon.com/presentation/materials/118/ApacheCon2008_SeleniumXml.pdf
>>>
>>>
>>> Brett
>>>
>>>
>>>
>>> On Fri, Oct 31, 2008 at 4:03 AM, Erwan de FERRIERES <
>>> erwan.de-ferrieres@nereide.biz> wrote:
>>>
>>>> Will the slides be available on the Internet after your
>>>> presentation ? I'm
>>>> not coming to the ApacheCon, but I am very interested to see what
>>>> you've
>>>> done with Selenium.
>>>>
>>>>
>>>> Brett Palmer a écrit :
>>>>
>>>> David,
>>>>> We have been using SeleniumRC and an extension called
>>>>> SeleniumXml that I
>>>>> will be presenting on at the ApacheCon conference next week.
>>>>> These could
>>>>> be
>>>>> called from a normal ant process or used in Cruise Control.
>>>>>
>>>>> Let's talk more about this next week at the conference.
>>>>>
>>>>>
>>>>> Brett
>>>>>
>>>>> On Wed, Oct 29, 2008 at 2:34 PM, David E Jones <jonesde@hotwaxmedia.com
>>>>> >wrote:
>>>>>
>>>>> Erwan,
>>>>>>
>>>>>> It would be great to have some tests that go through the user
>>>>>> interface,
>>>>>> but we don't have tools for this yet that fit into the
>>>>>> automated test
>>>>>> system
>>>>>> in OFBiz (ie so they can run along with other tests, and run
>>>>>> automatically).
>>>>>>
>>>>>> The goal is for the tests to all work with an "ant run-
>>>>>> tests" (or "java
>>>>>> -jar ofbiz.jar tests"), and to cover as much of OFBiz OOTB as
>>>>>> possible,
>>>>>> and
>>>>>> then to also be easy to customize or comment out those that no
>>>>>> longer
>>>>>> apply
>>>>>> after people customize or add on to OFBiz.
>>>>>>
>>>>>> If you guys would like to work on getting Selenium tests to
>>>>>> work this
>>>>>> way,
>>>>>> that would be great. Others have looked at this and run into
>>>>>> troubles, so
>>>>>> the last idea I heard was to use something different and that
>>>>>> might be
>>>>>> more
>>>>>> manual for initial test writing, but probably easier to maintain.
>>>>>>
>>>>>> At Hotwax we've written/recorded a bunch of Selenium tests for
>>>>>> clients,
>>>>>> but
>>>>>> they are difficult to maintain and as far as we've gone they
>>>>>> also have to
>>>>>> be
>>>>>> manually run and watched.
>>>>>>
>>>>>> -David
>>>>>>
>>>>>>
>>>>>>
>>>>>> On Oct 29, 2008, at 12:09 PM, Erwan de FERRIERES wrote:
>>>>>>
>>>>>> Here at Nereide, we are ready to make selenium tests (it's a
>>>>>> task we
>>>>>> have
>>>>>>
>>>>>>> planned to do, but which is always postponed....).
>>>>>>> So, if it's ok with you and that you are interested in that,
>>>>>>> we are
>>>>>>> going
>>>>>>> to make it real !
>>>>>>>
>>>>>>> David E Jones a écrit :
>>>>>>>
>>>>>>> On Oct 29, 2008, at 11:54 AM, Adam Heath wrote:
>>>>>>>>
>>>>>>>> BJ Freeman wrote:
>>>>>>>>>
>>>>>>>>> there has been an effort to put in test units.
>>>>>>>>>> the only thing lacking, in making it complete is manpower.
>>>>>>>>>>
>>>>>>>>>> And fixing the existing tests that are broken. :|
>>>>>>>>>
>>>>>>>>> This is an area where it would be REALLY GREAT to have more
>>>>>>>>> effort go
>>>>>>>> into the project. Yep, great enough to capitalize "REALLY"
>>>>>>>> and "GREAT".
>>>>>>>> Who has worked on the unit tests that are in place? I'll
>>>>>>>> admit I
>>>>>>>> haven't
>>>>>>>> much except on the toolset and some of the framework unit
>>>>>>>> tests and
>>>>>>>> helping
>>>>>>>> some of the Hotwax Media people who wrote many of the tests
>>>>>>>> that now
>>>>>>>> exist,
>>>>>>>> especially the ones in the various applications.
>>>>>>>> Is there anyone interested in working on this stuff? If there
>>>>>>>> are
>>>>>>>> enough
>>>>>>>> people who want to actively work on it we can setup some
>>>>>>>> coordination
>>>>>>>> resources (ie Jira tasks, confluence pages, etc). If there
>>>>>>>> are only 2-3
>>>>>>>> then
>>>>>>>> coordination through the mailing list would be better, and
>>>>>>>> more visible
>>>>>>>> to
>>>>>>>> others possibly interested.
>>>>>>>> -David
>>>>>>>>
>>>>>>>> --
>>>>>>> - Erwan -
>>>>>>>
>>>>>>>
>>>>>>
>>>>>
>>>> --
>>>> - Erwan -
>>>>
>>>
>
> --
> - Erwan -
Re: Selenium Presentation for OFBiz - Re: OOTB Unit Tests (was Re:
Stable trunk?)
Posted by Erwan de FERRIERES <er...@nereide.biz>.
Selenium projects are under the Apache 2.0 license. So, what are we
waiting to integrate it ?
http://selenium-ide.seleniumhq.org/license.jsp
Jacques Le Roux a écrit :
> I just wanted to remember any interested person about the Selenium
> lience issue we crossed some times ago and is still existing I'm
> pretty sure (did not check though)
> https://issues.apache.org/jira/browse/OFBIZ-680?focusedCommentId=12470728#action_12470728
>
>
> There is where we see what GPL viral issue is all about :(Just a little
> part and all is polluted, at least from our POV)
>
> Jacques
>
> From: "Jacques Le Roux" <ja...@les7arts.com>
>> Thanks for the link Brett,
>>
>> Much appreciated
>>
>> Jacques
>>
>> From: "Brett Palmer" <br...@gmail.com>
>> FYI,
>>
>> Here is the link to the presentation on Selenium that I gave at the
>> ApacheCon/OFBiz conference this week. There were several good
>> presentations
>> on OFBiz this week. Most of these are available at the
>> us.apahecon.comwebsite.
>>
>> http://us.apachecon.com/presentation/materials/118/ApacheCon2008_SeleniumXml.pdf
>>
>>
>>
>> Brett
>>
>>
>>
>> On Fri, Oct 31, 2008 at 4:03 AM, Erwan de FERRIERES <
>> erwan.de-ferrieres@nereide.biz> wrote:
>>
>>> Will the slides be available on the Internet after your presentation
>>> ? I'm
>>> not coming to the ApacheCon, but I am very interested to see what you've
>>> done with Selenium.
>>>
>>>
>>> Brett Palmer a écrit :
>>>
>>> David,
>>>> We have been using SeleniumRC and an extension called SeleniumXml
>>>> that I
>>>> will be presenting on at the ApacheCon conference next week. These
>>>> could
>>>> be
>>>> called from a normal ant process or used in Cruise Control.
>>>>
>>>> Let's talk more about this next week at the conference.
>>>>
>>>>
>>>> Brett
>>>>
>>>> On Wed, Oct 29, 2008 at 2:34 PM, David E Jones <jonesde@hotwaxmedia.com
>>>> >wrote:
>>>>
>>>> Erwan,
>>>>>
>>>>> It would be great to have some tests that go through the user
>>>>> interface,
>>>>> but we don't have tools for this yet that fit into the automated test
>>>>> system
>>>>> in OFBiz (ie so they can run along with other tests, and run
>>>>> automatically).
>>>>>
>>>>> The goal is for the tests to all work with an "ant run-tests" (or
>>>>> "java
>>>>> -jar ofbiz.jar tests"), and to cover as much of OFBiz OOTB as
>>>>> possible,
>>>>> and
>>>>> then to also be easy to customize or comment out those that no longer
>>>>> apply
>>>>> after people customize or add on to OFBiz.
>>>>>
>>>>> If you guys would like to work on getting Selenium tests to work this
>>>>> way,
>>>>> that would be great. Others have looked at this and run into
>>>>> troubles, so
>>>>> the last idea I heard was to use something different and that might be
>>>>> more
>>>>> manual for initial test writing, but probably easier to maintain.
>>>>>
>>>>> At Hotwax we've written/recorded a bunch of Selenium tests for
>>>>> clients,
>>>>> but
>>>>> they are difficult to maintain and as far as we've gone they also
>>>>> have to
>>>>> be
>>>>> manually run and watched.
>>>>>
>>>>> -David
>>>>>
>>>>>
>>>>>
>>>>> On Oct 29, 2008, at 12:09 PM, Erwan de FERRIERES wrote:
>>>>>
>>>>> Here at Nereide, we are ready to make selenium tests (it's a task we
>>>>> have
>>>>>
>>>>>> planned to do, but which is always postponed....).
>>>>>> So, if it's ok with you and that you are interested in that, we are
>>>>>> going
>>>>>> to make it real !
>>>>>>
>>>>>> David E Jones a écrit :
>>>>>>
>>>>>> On Oct 29, 2008, at 11:54 AM, Adam Heath wrote:
>>>>>>>
>>>>>>> BJ Freeman wrote:
>>>>>>>>
>>>>>>>> there has been an effort to put in test units.
>>>>>>>>> the only thing lacking, in making it complete is manpower.
>>>>>>>>>
>>>>>>>>> And fixing the existing tests that are broken. :|
>>>>>>>>
>>>>>>>> This is an area where it would be REALLY GREAT to have more
>>>>>>>> effort go
>>>>>>> into the project. Yep, great enough to capitalize "REALLY" and
>>>>>>> "GREAT".
>>>>>>> Who has worked on the unit tests that are in place? I'll admit I
>>>>>>> haven't
>>>>>>> much except on the toolset and some of the framework unit tests and
>>>>>>> helping
>>>>>>> some of the Hotwax Media people who wrote many of the tests that now
>>>>>>> exist,
>>>>>>> especially the ones in the various applications.
>>>>>>> Is there anyone interested in working on this stuff? If there are
>>>>>>> enough
>>>>>>> people who want to actively work on it we can setup some
>>>>>>> coordination
>>>>>>> resources (ie Jira tasks, confluence pages, etc). If there are
>>>>>>> only 2-3
>>>>>>> then
>>>>>>> coordination through the mailing list would be better, and more
>>>>>>> visible
>>>>>>> to
>>>>>>> others possibly interested.
>>>>>>> -David
>>>>>>>
>>>>>>> --
>>>>>> - Erwan -
>>>>>>
>>>>>>
>>>>>
>>>>
>>> --
>>> - Erwan -
>>>
>>
>
>
--
- Erwan -
Re: Selenium Presentation for OFBiz - Re: OOTB Unit Tests (was Re: Stable trunk?)
Posted by Tim Ruppert <ti...@hotwaxmedia.com>.
This is correct. I know that Brett is going to take the ball and dig
in on the license issue a bit more this next week. It kinda depends
on whether or not we can help to change some of the GPL libs in the
product in order to make it fully Apache compliant - regardless, it's
a great platform and maybe something we'll have to host ourselves . . .
Cheers,
Tim
--
Tim Ruppert
HotWax Media
http://www.hotwaxmedia.com
o:801.649.6594
f:801.649.6595
On Nov 7, 2008, at 1:25 PM, Jacques Le Roux wrote:
> I just wanted to remember any interested person about the Selenium
> lience issue we crossed some times ago and is still existing I'm
> pretty sure (did not check though)
> https://issues.apache.org/jira/browse/OFBIZ-680?focusedCommentId=12470728
> #action_12470728
>
> There is where we see what GPL viral issue is all about :(Just a
> little part and all is polluted, at least from our POV)
>
> Jacques
>
> From: "Jacques Le Roux" <ja...@les7arts.com>
>> Thanks for the link Brett,
>>
>> Much appreciated
>>
>> Jacques
>>
>> From: "Brett Palmer" <br...@gmail.com>
>> FYI,
>>
>> Here is the link to the presentation on Selenium that I gave at the
>> ApacheCon/OFBiz conference this week. There were several good
>> presentations
>> on OFBiz this week. Most of these are available at the
>> us.apahecon.comwebsite.
>>
>> http://us.apachecon.com/presentation/materials/118/ApacheCon2008_SeleniumXml.pdf
>>
>>
>> Brett
>>
>>
>>
>> On Fri, Oct 31, 2008 at 4:03 AM, Erwan de FERRIERES <
>> erwan.de-ferrieres@nereide.biz> wrote:
>>
>>> Will the slides be available on the Internet after your
>>> presentation ? I'm
>>> not coming to the ApacheCon, but I am very interested to see what
>>> you've
>>> done with Selenium.
>>>
>>>
>>> Brett Palmer a écrit :
>>>
>>> David,
>>>> We have been using SeleniumRC and an extension called SeleniumXml
>>>> that I
>>>> will be presenting on at the ApacheCon conference next week.
>>>> These could
>>>> be
>>>> called from a normal ant process or used in Cruise Control.
>>>>
>>>> Let's talk more about this next week at the conference.
>>>>
>>>>
>>>> Brett
>>>>
>>>> On Wed, Oct 29, 2008 at 2:34 PM, David E Jones <jonesde@hotwaxmedia.com
>>>> >wrote:
>>>>
>>>> Erwan,
>>>>>
>>>>> It would be great to have some tests that go through the user
>>>>> interface,
>>>>> but we don't have tools for this yet that fit into the automated
>>>>> test
>>>>> system
>>>>> in OFBiz (ie so they can run along with other tests, and run
>>>>> automatically).
>>>>>
>>>>> The goal is for the tests to all work with an "ant run-
>>>>> tests" (or "java
>>>>> -jar ofbiz.jar tests"), and to cover as much of OFBiz OOTB as
>>>>> possible,
>>>>> and
>>>>> then to also be easy to customize or comment out those that no
>>>>> longer
>>>>> apply
>>>>> after people customize or add on to OFBiz.
>>>>>
>>>>> If you guys would like to work on getting Selenium tests to work
>>>>> this
>>>>> way,
>>>>> that would be great. Others have looked at this and run into
>>>>> troubles, so
>>>>> the last idea I heard was to use something different and that
>>>>> might be
>>>>> more
>>>>> manual for initial test writing, but probably easier to maintain.
>>>>>
>>>>> At Hotwax we've written/recorded a bunch of Selenium tests for
>>>>> clients,
>>>>> but
>>>>> they are difficult to maintain and as far as we've gone they
>>>>> also have to
>>>>> be
>>>>> manually run and watched.
>>>>>
>>>>> -David
>>>>>
>>>>>
>>>>>
>>>>> On Oct 29, 2008, at 12:09 PM, Erwan de FERRIERES wrote:
>>>>>
>>>>> Here at Nereide, we are ready to make selenium tests (it's a
>>>>> task we
>>>>> have
>>>>>
>>>>>> planned to do, but which is always postponed....).
>>>>>> So, if it's ok with you and that you are interested in that, we
>>>>>> are
>>>>>> going
>>>>>> to make it real !
>>>>>>
>>>>>> David E Jones a écrit :
>>>>>>
>>>>>> On Oct 29, 2008, at 11:54 AM, Adam Heath wrote:
>>>>>>>
>>>>>>> BJ Freeman wrote:
>>>>>>>>
>>>>>>>> there has been an effort to put in test units.
>>>>>>>>> the only thing lacking, in making it complete is manpower.
>>>>>>>>>
>>>>>>>>> And fixing the existing tests that are broken. :|
>>>>>>>>
>>>>>>>> This is an area where it would be REALLY GREAT to have more
>>>>>>>> effort go
>>>>>>> into the project. Yep, great enough to capitalize "REALLY" and
>>>>>>> "GREAT".
>>>>>>> Who has worked on the unit tests that are in place? I'll admit I
>>>>>>> haven't
>>>>>>> much except on the toolset and some of the framework unit
>>>>>>> tests and
>>>>>>> helping
>>>>>>> some of the Hotwax Media people who wrote many of the tests
>>>>>>> that now
>>>>>>> exist,
>>>>>>> especially the ones in the various applications.
>>>>>>> Is there anyone interested in working on this stuff? If there
>>>>>>> are
>>>>>>> enough
>>>>>>> people who want to actively work on it we can setup some
>>>>>>> coordination
>>>>>>> resources (ie Jira tasks, confluence pages, etc). If there are
>>>>>>> only 2-3
>>>>>>> then
>>>>>>> coordination through the mailing list would be better, and
>>>>>>> more visible
>>>>>>> to
>>>>>>> others possibly interested.
>>>>>>> -David
>>>>>>>
>>>>>>> --
>>>>>> - Erwan -
>>>>>>
>>>>>>
>>>>>
>>>>
>>> --
>>> - Erwan -
>>>
>>
>
Re: Selenium Presentation for OFBiz - Re: OOTB Unit Tests (was Re: Stable trunk?)
Posted by Jacques Le Roux <ja...@les7arts.com>.
I just wanted to remember any interested person about the Selenium lience issue we crossed some times ago and is still existing I'm
pretty sure (did not check though)
https://issues.apache.org/jira/browse/OFBIZ-680?focusedCommentId=12470728#action_12470728
There is where we see what GPL viral issue is all about :(Just a little part and all is polluted, at least from our POV)
Jacques
From: "Jacques Le Roux" <ja...@les7arts.com>
> Thanks for the link Brett,
>
> Much appreciated
>
> Jacques
>
> From: "Brett Palmer" <br...@gmail.com>
> FYI,
>
> Here is the link to the presentation on Selenium that I gave at the
> ApacheCon/OFBiz conference this week. There were several good presentations
> on OFBiz this week. Most of these are available at the us.apahecon.comwebsite.
>
> http://us.apachecon.com/presentation/materials/118/ApacheCon2008_SeleniumXml.pdf
>
>
> Brett
>
>
>
> On Fri, Oct 31, 2008 at 4:03 AM, Erwan de FERRIERES <
> erwan.de-ferrieres@nereide.biz> wrote:
>
>> Will the slides be available on the Internet after your presentation ? I'm
>> not coming to the ApacheCon, but I am very interested to see what you've
>> done with Selenium.
>>
>>
>> Brett Palmer a écrit :
>>
>> David,
>>> We have been using SeleniumRC and an extension called SeleniumXml that I
>>> will be presenting on at the ApacheCon conference next week. These could
>>> be
>>> called from a normal ant process or used in Cruise Control.
>>>
>>> Let's talk more about this next week at the conference.
>>>
>>>
>>> Brett
>>>
>>> On Wed, Oct 29, 2008 at 2:34 PM, David E Jones <jonesde@hotwaxmedia.com
>>> >wrote:
>>>
>>> Erwan,
>>>>
>>>> It would be great to have some tests that go through the user interface,
>>>> but we don't have tools for this yet that fit into the automated test
>>>> system
>>>> in OFBiz (ie so they can run along with other tests, and run
>>>> automatically).
>>>>
>>>> The goal is for the tests to all work with an "ant run-tests" (or "java
>>>> -jar ofbiz.jar tests"), and to cover as much of OFBiz OOTB as possible,
>>>> and
>>>> then to also be easy to customize or comment out those that no longer
>>>> apply
>>>> after people customize or add on to OFBiz.
>>>>
>>>> If you guys would like to work on getting Selenium tests to work this
>>>> way,
>>>> that would be great. Others have looked at this and run into troubles, so
>>>> the last idea I heard was to use something different and that might be
>>>> more
>>>> manual for initial test writing, but probably easier to maintain.
>>>>
>>>> At Hotwax we've written/recorded a bunch of Selenium tests for clients,
>>>> but
>>>> they are difficult to maintain and as far as we've gone they also have to
>>>> be
>>>> manually run and watched.
>>>>
>>>> -David
>>>>
>>>>
>>>>
>>>> On Oct 29, 2008, at 12:09 PM, Erwan de FERRIERES wrote:
>>>>
>>>> Here at Nereide, we are ready to make selenium tests (it's a task we
>>>> have
>>>>
>>>>> planned to do, but which is always postponed....).
>>>>> So, if it's ok with you and that you are interested in that, we are
>>>>> going
>>>>> to make it real !
>>>>>
>>>>> David E Jones a écrit :
>>>>>
>>>>> On Oct 29, 2008, at 11:54 AM, Adam Heath wrote:
>>>>>>
>>>>>> BJ Freeman wrote:
>>>>>>>
>>>>>>> there has been an effort to put in test units.
>>>>>>>> the only thing lacking, in making it complete is manpower.
>>>>>>>>
>>>>>>>> And fixing the existing tests that are broken. :|
>>>>>>>
>>>>>>> This is an area where it would be REALLY GREAT to have more effort go
>>>>>> into the project. Yep, great enough to capitalize "REALLY" and "GREAT".
>>>>>> Who has worked on the unit tests that are in place? I'll admit I
>>>>>> haven't
>>>>>> much except on the toolset and some of the framework unit tests and
>>>>>> helping
>>>>>> some of the Hotwax Media people who wrote many of the tests that now
>>>>>> exist,
>>>>>> especially the ones in the various applications.
>>>>>> Is there anyone interested in working on this stuff? If there are
>>>>>> enough
>>>>>> people who want to actively work on it we can setup some coordination
>>>>>> resources (ie Jira tasks, confluence pages, etc). If there are only 2-3
>>>>>> then
>>>>>> coordination through the mailing list would be better, and more visible
>>>>>> to
>>>>>> others possibly interested.
>>>>>> -David
>>>>>>
>>>>>> --
>>>>> - Erwan -
>>>>>
>>>>>
>>>>
>>>
>> --
>> - Erwan -
>>
>
Re: Selenium Presentation for OFBiz - Re: OOTB Unit Tests (was Re: Stable trunk?)
Posted by Jacques Le Roux <ja...@les7arts.com>.
Thanks for the link Brett,
Much appreciated
Jacques
From: "Brett Palmer" <br...@gmail.com>
FYI,
Here is the link to the presentation on Selenium that I gave at the
ApacheCon/OFBiz conference this week. There were several good presentations
on OFBiz this week. Most of these are available at the us.apahecon.comwebsite.
http://us.apachecon.com/presentation/materials/118/ApacheCon2008_SeleniumXml.pdf
Brett
On Fri, Oct 31, 2008 at 4:03 AM, Erwan de FERRIERES <
erwan.de-ferrieres@nereide.biz> wrote:
> Will the slides be available on the Internet after your presentation ? I'm
> not coming to the ApacheCon, but I am very interested to see what you've
> done with Selenium.
>
>
> Brett Palmer a écrit :
>
> David,
>> We have been using SeleniumRC and an extension called SeleniumXml that I
>> will be presenting on at the ApacheCon conference next week. These could
>> be
>> called from a normal ant process or used in Cruise Control.
>>
>> Let's talk more about this next week at the conference.
>>
>>
>> Brett
>>
>> On Wed, Oct 29, 2008 at 2:34 PM, David E Jones <jonesde@hotwaxmedia.com
>> >wrote:
>>
>> Erwan,
>>>
>>> It would be great to have some tests that go through the user interface,
>>> but we don't have tools for this yet that fit into the automated test
>>> system
>>> in OFBiz (ie so they can run along with other tests, and run
>>> automatically).
>>>
>>> The goal is for the tests to all work with an "ant run-tests" (or "java
>>> -jar ofbiz.jar tests"), and to cover as much of OFBiz OOTB as possible,
>>> and
>>> then to also be easy to customize or comment out those that no longer
>>> apply
>>> after people customize or add on to OFBiz.
>>>
>>> If you guys would like to work on getting Selenium tests to work this
>>> way,
>>> that would be great. Others have looked at this and run into troubles, so
>>> the last idea I heard was to use something different and that might be
>>> more
>>> manual for initial test writing, but probably easier to maintain.
>>>
>>> At Hotwax we've written/recorded a bunch of Selenium tests for clients,
>>> but
>>> they are difficult to maintain and as far as we've gone they also have to
>>> be
>>> manually run and watched.
>>>
>>> -David
>>>
>>>
>>>
>>> On Oct 29, 2008, at 12:09 PM, Erwan de FERRIERES wrote:
>>>
>>> Here at Nereide, we are ready to make selenium tests (it's a task we
>>> have
>>>
>>>> planned to do, but which is always postponed....).
>>>> So, if it's ok with you and that you are interested in that, we are
>>>> going
>>>> to make it real !
>>>>
>>>> David E Jones a écrit :
>>>>
>>>> On Oct 29, 2008, at 11:54 AM, Adam Heath wrote:
>>>>>
>>>>> BJ Freeman wrote:
>>>>>>
>>>>>> there has been an effort to put in test units.
>>>>>>> the only thing lacking, in making it complete is manpower.
>>>>>>>
>>>>>>> And fixing the existing tests that are broken. :|
>>>>>>
>>>>>> This is an area where it would be REALLY GREAT to have more effort go
>>>>> into the project. Yep, great enough to capitalize "REALLY" and "GREAT".
>>>>> Who has worked on the unit tests that are in place? I'll admit I
>>>>> haven't
>>>>> much except on the toolset and some of the framework unit tests and
>>>>> helping
>>>>> some of the Hotwax Media people who wrote many of the tests that now
>>>>> exist,
>>>>> especially the ones in the various applications.
>>>>> Is there anyone interested in working on this stuff? If there are
>>>>> enough
>>>>> people who want to actively work on it we can setup some coordination
>>>>> resources (ie Jira tasks, confluence pages, etc). If there are only 2-3
>>>>> then
>>>>> coordination through the mailing list would be better, and more visible
>>>>> to
>>>>> others possibly interested.
>>>>> -David
>>>>>
>>>>> --
>>>> - Erwan -
>>>>
>>>>
>>>
>>
> --
> - Erwan -
>
Re: Selenium Presentation for OFBiz - Re: OOTB Unit Tests (was Re: Stable trunk?)
Posted by Pranay Pandey <pr...@hotwaxmedia.com>.
Thanks Brett, Hans much appreciated.
Kind Regards
--
Pranay Pandey
On Nov 8, 2008, at 1:21 AM, Hans Bakker wrote:
> Thank you Brett,
>
> very interesting presentation. We sure should have these tests
> included
> as part of the application test.
>
> Actually all of the OFBiz presentations are available at the following
> links:
> http://us.apachecon.com/c/acus2008/schedule/2008/11/05
> http://us.apachecon.com/c/acus2008/schedule/2008/11/06
>
> go to the presentation you are interested in and from that page the
> presentation slides can be downloaded.
>
> Regards,
> Hans
>
> On Fri, 2008-11-07 at 11:21 -0700, Brett Palmer wrote:
>> FYI,
>>
>> Here is the link to the presentation on Selenium that I gave at the
>> ApacheCon/OFBiz conference this week. There were several good
>> presentations
>> on OFBiz this week. Most of these are available at the
>> us.apahecon.comwebsite.
>>
>> http://us.apachecon.com/presentation/materials/118/ApacheCon2008_SeleniumXml.pdf
>>
>>
>> Brett
>>
>>
>>
>> On Fri, Oct 31, 2008 at 4:03 AM, Erwan de FERRIERES <
>> erwan.de-ferrieres@nereide.biz> wrote:
>>
>>> Will the slides be available on the Internet after your
>>> presentation ? I'm
>>> not coming to the ApacheCon, but I am very interested to see what
>>> you've
>>> done with Selenium.
>>>
>>>
>>> Brett Palmer a écrit :
>>>
>>> David,
>>>> We have been using SeleniumRC and an extension called SeleniumXml
>>>> that I
>>>> will be presenting on at the ApacheCon conference next week.
>>>> These could
>>>> be
>>>> called from a normal ant process or used in Cruise Control.
>>>>
>>>> Let's talk more about this next week at the conference.
>>>>
>>>>
>>>> Brett
>>>>
>>>> On Wed, Oct 29, 2008 at 2:34 PM, David E Jones <jonesde@hotwaxmedia.com
>>>>> wrote:
>>>>
>>>> Erwan,
>>>>>
>>>>> It would be great to have some tests that go through the user
>>>>> interface,
>>>>> but we don't have tools for this yet that fit into the automated
>>>>> test
>>>>> system
>>>>> in OFBiz (ie so they can run along with other tests, and run
>>>>> automatically).
>>>>>
>>>>> The goal is for the tests to all work with an "ant run-
>>>>> tests" (or "java
>>>>> -jar ofbiz.jar tests"), and to cover as much of OFBiz OOTB as
>>>>> possible,
>>>>> and
>>>>> then to also be easy to customize or comment out those that no
>>>>> longer
>>>>> apply
>>>>> after people customize or add on to OFBiz.
>>>>>
>>>>> If you guys would like to work on getting Selenium tests to work
>>>>> this
>>>>> way,
>>>>> that would be great. Others have looked at this and run into
>>>>> troubles, so
>>>>> the last idea I heard was to use something different and that
>>>>> might be
>>>>> more
>>>>> manual for initial test writing, but probably easier to maintain.
>>>>>
>>>>> At Hotwax we've written/recorded a bunch of Selenium tests for
>>>>> clients,
>>>>> but
>>>>> they are difficult to maintain and as far as we've gone they
>>>>> also have to
>>>>> be
>>>>> manually run and watched.
>>>>>
>>>>> -David
>>>>>
>>>>>
>>>>>
>>>>> On Oct 29, 2008, at 12:09 PM, Erwan de FERRIERES wrote:
>>>>>
>>>>> Here at Nereide, we are ready to make selenium tests (it's a
>>>>> task we
>>>>> have
>>>>>
>>>>>> planned to do, but which is always postponed....).
>>>>>> So, if it's ok with you and that you are interested in that, we
>>>>>> are
>>>>>> going
>>>>>> to make it real !
>>>>>>
>>>>>> David E Jones a écrit :
>>>>>>
>>>>>> On Oct 29, 2008, at 11:54 AM, Adam Heath wrote:
>>>>>>>
>>>>>>> BJ Freeman wrote:
>>>>>>>>
>>>>>>>> there has been an effort to put in test units.
>>>>>>>>> the only thing lacking, in making it complete is manpower.
>>>>>>>>>
>>>>>>>>> And fixing the existing tests that are broken. :|
>>>>>>>>
>>>>>>>> This is an area where it would be REALLY GREAT to have more
>>>>>>>> effort go
>>>>>>> into the project. Yep, great enough to capitalize "REALLY" and
>>>>>>> "GREAT".
>>>>>>> Who has worked on the unit tests that are in place? I'll admit I
>>>>>>> haven't
>>>>>>> much except on the toolset and some of the framework unit
>>>>>>> tests and
>>>>>>> helping
>>>>>>> some of the Hotwax Media people who wrote many of the tests
>>>>>>> that now
>>>>>>> exist,
>>>>>>> especially the ones in the various applications.
>>>>>>> Is there anyone interested in working on this stuff? If there
>>>>>>> are
>>>>>>> enough
>>>>>>> people who want to actively work on it we can setup some
>>>>>>> coordination
>>>>>>> resources (ie Jira tasks, confluence pages, etc). If there are
>>>>>>> only 2-3
>>>>>>> then
>>>>>>> coordination through the mailing list would be better, and
>>>>>>> more visible
>>>>>>> to
>>>>>>> others possibly interested.
>>>>>>> -David
>>>>>>>
>>>>>>> --
>>>>>> - Erwan -
>>>>>>
>>>>>>
>>>>>
>>>>
>>> --
>>> - Erwan -
>>>
> --
> Antwebsystems.com: Quality OFBiz services for competitive prices
>
Re: Selenium Presentation for OFBiz - Re: OOTB Unit Tests (was Re:
Stable trunk?)
Posted by Hans Bakker <ma...@antwebsystems.com>.
Thank you Brett,
very interesting presentation. We sure should have these tests included
as part of the application test.
Actually all of the OFBiz presentations are available at the following
links:
http://us.apachecon.com/c/acus2008/schedule/2008/11/05
http://us.apachecon.com/c/acus2008/schedule/2008/11/06
go to the presentation you are interested in and from that page the
presentation slides can be downloaded.
Regards,
Hans
On Fri, 2008-11-07 at 11:21 -0700, Brett Palmer wrote:
> FYI,
>
> Here is the link to the presentation on Selenium that I gave at the
> ApacheCon/OFBiz conference this week. There were several good presentations
> on OFBiz this week. Most of these are available at the us.apahecon.comwebsite.
>
> http://us.apachecon.com/presentation/materials/118/ApacheCon2008_SeleniumXml.pdf
>
>
> Brett
>
>
>
> On Fri, Oct 31, 2008 at 4:03 AM, Erwan de FERRIERES <
> erwan.de-ferrieres@nereide.biz> wrote:
>
> > Will the slides be available on the Internet after your presentation ? I'm
> > not coming to the ApacheCon, but I am very interested to see what you've
> > done with Selenium.
> >
> >
> > Brett Palmer a écrit :
> >
> > David,
> >> We have been using SeleniumRC and an extension called SeleniumXml that I
> >> will be presenting on at the ApacheCon conference next week. These could
> >> be
> >> called from a normal ant process or used in Cruise Control.
> >>
> >> Let's talk more about this next week at the conference.
> >>
> >>
> >> Brett
> >>
> >> On Wed, Oct 29, 2008 at 2:34 PM, David E Jones <jonesde@hotwaxmedia.com
> >> >wrote:
> >>
> >> Erwan,
> >>>
> >>> It would be great to have some tests that go through the user interface,
> >>> but we don't have tools for this yet that fit into the automated test
> >>> system
> >>> in OFBiz (ie so they can run along with other tests, and run
> >>> automatically).
> >>>
> >>> The goal is for the tests to all work with an "ant run-tests" (or "java
> >>> -jar ofbiz.jar tests"), and to cover as much of OFBiz OOTB as possible,
> >>> and
> >>> then to also be easy to customize or comment out those that no longer
> >>> apply
> >>> after people customize or add on to OFBiz.
> >>>
> >>> If you guys would like to work on getting Selenium tests to work this
> >>> way,
> >>> that would be great. Others have looked at this and run into troubles, so
> >>> the last idea I heard was to use something different and that might be
> >>> more
> >>> manual for initial test writing, but probably easier to maintain.
> >>>
> >>> At Hotwax we've written/recorded a bunch of Selenium tests for clients,
> >>> but
> >>> they are difficult to maintain and as far as we've gone they also have to
> >>> be
> >>> manually run and watched.
> >>>
> >>> -David
> >>>
> >>>
> >>>
> >>> On Oct 29, 2008, at 12:09 PM, Erwan de FERRIERES wrote:
> >>>
> >>> Here at Nereide, we are ready to make selenium tests (it's a task we
> >>> have
> >>>
> >>>> planned to do, but which is always postponed....).
> >>>> So, if it's ok with you and that you are interested in that, we are
> >>>> going
> >>>> to make it real !
> >>>>
> >>>> David E Jones a écrit :
> >>>>
> >>>> On Oct 29, 2008, at 11:54 AM, Adam Heath wrote:
> >>>>>
> >>>>> BJ Freeman wrote:
> >>>>>>
> >>>>>> there has been an effort to put in test units.
> >>>>>>> the only thing lacking, in making it complete is manpower.
> >>>>>>>
> >>>>>>> And fixing the existing tests that are broken. :|
> >>>>>>
> >>>>>> This is an area where it would be REALLY GREAT to have more effort go
> >>>>> into the project. Yep, great enough to capitalize "REALLY" and "GREAT".
> >>>>> Who has worked on the unit tests that are in place? I'll admit I
> >>>>> haven't
> >>>>> much except on the toolset and some of the framework unit tests and
> >>>>> helping
> >>>>> some of the Hotwax Media people who wrote many of the tests that now
> >>>>> exist,
> >>>>> especially the ones in the various applications.
> >>>>> Is there anyone interested in working on this stuff? If there are
> >>>>> enough
> >>>>> people who want to actively work on it we can setup some coordination
> >>>>> resources (ie Jira tasks, confluence pages, etc). If there are only 2-3
> >>>>> then
> >>>>> coordination through the mailing list would be better, and more visible
> >>>>> to
> >>>>> others possibly interested.
> >>>>> -David
> >>>>>
> >>>>> --
> >>>> - Erwan -
> >>>>
> >>>>
> >>>
> >>
> > --
> > - Erwan -
> >
--
Antwebsystems.com: Quality OFBiz services for competitive prices