You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by andyhot <an...@di.uoa.gr> on 2006/11/08 04:56:54 UTC

Browser unit tests

We recently had a few browser specific issues,
http://issues.apache.org/jira/browse/TAPESTRY-1141 (already fixed)
http://issues.apache.org/jira/browse/TAPESTRY-1129 (same as an old tacos
bug, i.e. fix is already known)

Now, i wouldn't like closing them without some sort of browser specific
testing (since the issues are such)....

In tacos we had added several selenium based tests that we would
manually run in every major browser now and then.
Even though they weren't integrated in the build process, i really
enjoyed (and still do ) the confidence they provide.

Now i've seen a bit of Howard's code that interacts with selenium
programatically and:
- Can we use a similar approach?
- Are those tests integrated with maven?
- Who actually runs them? (a browser? rhino?)
- Any other approach?



-- 
Andreas Andreou - andyhot@apache.org - http://andyhot.di.uoa.gr
Tapestry / Tacos developer
Open Source / J2EE Consulting 


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org


Re: Browser unit tests

Posted by andyhot <an...@di.uoa.gr>.
I've started adding browser tests... Currently that include the issues
described in the initial post.

Can be run with
mvn -Dtest=IntegrationTests test

The second will fail (since TAPESTRY-1129 is open)


Jesse Kuhnert wrote:
> Awww come on. ..Ie is "easy" to test, just look at how others are
> doing it
> ;) :
>
> http://alex.dojotoolkit.org/?p=588
>
> On 11/8/06, Howard Lewis Ship <hl...@gmail.com> wrote:
>>
>> If the bugs are FF vs. IE then it should be possible to run Selenium
>> targetting one or the other for specific tests (or better yet, specific
>> test
>> cases). One of the options with selenium runner is the profile, the
>> browser
>> to be executed.
>>
>> When you get to more complex issues, say Mac IE vs. Windows IE ... or
>> different versions of IE, it's much more painful.
>>
>> Microsoft is doing its best to ensure that we can never test IE 6, by
>> making
>> IE 7 a required update!
>>
>> On 11/7/06, andyhot <an...@di.uoa.gr> wrote:
>> >
>> > We recently had a few browser specific issues,
>> > http://issues.apache.org/jira/browse/TAPESTRY-1141 (already fixed)
>> > http://issues.apache.org/jira/browse/TAPESTRY-1129 (same as an old
>> tacos
>> > bug, i.e. fix is already known)
>> >
>> > Now, i wouldn't like closing them without some sort of browser
>> specific
>> > testing (since the issues are such)....
>> >
>> > In tacos we had added several selenium based tests that we would
>> > manually run in every major browser now and then.
>> > Even though they weren't integrated in the build process, i really
>> > enjoyed (and still do ) the confidence they provide.
>> >
>> > Now i've seen a bit of Howard's code that interacts with selenium
>> > programatically and:
>> > - Can we use a similar approach?
>> > - Are those tests integrated with maven?
>> > - Who actually runs them? (a browser? rhino?)
>> > - Any other approach?
>> >
>> >
>> >
>> > --
>> > Andreas Andreou - andyhot@apache.org - http://andyhot.di.uoa.gr
>> > Tapestry / Tacos developer
>> > Open Source / J2EE Consulting
>> >
>> >
>> > ---------------------------------------------------------------------
>> > To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
>> > For additional commands, e-mail: dev-help@tapestry.apache.org
>> >
>> >
>>
>>
>> -- 
>> Howard M. Lewis Ship
>> TWD Consulting, Inc.
>> Independent J2EE / Open-Source Java Consultant
>> Creator and PMC Chair, Apache Tapestry
>> Creator, Apache HiveMind
>>
>> Professional Tapestry training, mentoring, support
>> and project work.  http://howardlewisship.com
>>
>>
>
>


-- 
Andreas Andreou - andyhot@apache.org - http://andyhot.di.uoa.gr
Tapestry / Tacos developer
Open Source / J2EE Consulting 


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org


Re: Browser unit tests

Posted by Jesse Kuhnert <jk...@gmail.com>.
Awww come on. ..Ie is "easy" to test, just look at how others are doing it
;) :

http://alex.dojotoolkit.org/?p=588

On 11/8/06, Howard Lewis Ship <hl...@gmail.com> wrote:
>
> If the bugs are FF vs. IE then it should be possible to run Selenium
> targetting one or the other for specific tests (or better yet, specific
> test
> cases). One of the options with selenium runner is the profile, the
> browser
> to be executed.
>
> When you get to more complex issues, say Mac IE vs. Windows IE ... or
> different versions of IE, it's much more painful.
>
> Microsoft is doing its best to ensure that we can never test IE 6, by
> making
> IE 7 a required update!
>
> On 11/7/06, andyhot <an...@di.uoa.gr> wrote:
> >
> > We recently had a few browser specific issues,
> > http://issues.apache.org/jira/browse/TAPESTRY-1141 (already fixed)
> > http://issues.apache.org/jira/browse/TAPESTRY-1129 (same as an old tacos
> > bug, i.e. fix is already known)
> >
> > Now, i wouldn't like closing them without some sort of browser specific
> > testing (since the issues are such)....
> >
> > In tacos we had added several selenium based tests that we would
> > manually run in every major browser now and then.
> > Even though they weren't integrated in the build process, i really
> > enjoyed (and still do ) the confidence they provide.
> >
> > Now i've seen a bit of Howard's code that interacts with selenium
> > programatically and:
> > - Can we use a similar approach?
> > - Are those tests integrated with maven?
> > - Who actually runs them? (a browser? rhino?)
> > - Any other approach?
> >
> >
> >
> > --
> > Andreas Andreou - andyhot@apache.org - http://andyhot.di.uoa.gr
> > Tapestry / Tacos developer
> > Open Source / J2EE Consulting
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
> > For additional commands, e-mail: dev-help@tapestry.apache.org
> >
> >
>
>
> --
> Howard M. Lewis Ship
> TWD Consulting, Inc.
> Independent J2EE / Open-Source Java Consultant
> Creator and PMC Chair, Apache Tapestry
> Creator, Apache HiveMind
>
> Professional Tapestry training, mentoring, support
> and project work.  http://howardlewisship.com
>
>


-- 
Jesse Kuhnert
Tapestry/Dojo/(and a dash of TestNG), team member/developer

Open source based consulting work centered around
dojo/tapestry/tacos/hivemind. http://blog.opencomponentry.com

Re: Browser unit tests

Posted by Howard Lewis Ship <hl...@gmail.com>.
If the bugs are FF vs. IE then it should be possible to run Selenium
targetting one or the other for specific tests (or better yet, specific test
cases). One of the options with selenium runner is the profile, the browser
to be executed.

When you get to more complex issues, say Mac IE vs. Windows IE ... or
different versions of IE, it's much more painful.

Microsoft is doing its best to ensure that we can never test IE 6, by making
IE 7 a required update!

On 11/7/06, andyhot <an...@di.uoa.gr> wrote:
>
> We recently had a few browser specific issues,
> http://issues.apache.org/jira/browse/TAPESTRY-1141 (already fixed)
> http://issues.apache.org/jira/browse/TAPESTRY-1129 (same as an old tacos
> bug, i.e. fix is already known)
>
> Now, i wouldn't like closing them without some sort of browser specific
> testing (since the issues are such)....
>
> In tacos we had added several selenium based tests that we would
> manually run in every major browser now and then.
> Even though they weren't integrated in the build process, i really
> enjoyed (and still do ) the confidence they provide.
>
> Now i've seen a bit of Howard's code that interacts with selenium
> programatically and:
> - Can we use a similar approach?
> - Are those tests integrated with maven?
> - Who actually runs them? (a browser? rhino?)
> - Any other approach?
>
>
>
> --
> Andreas Andreou - andyhot@apache.org - http://andyhot.di.uoa.gr
> Tapestry / Tacos developer
> Open Source / J2EE Consulting
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: dev-help@tapestry.apache.org
>
>


-- 
Howard M. Lewis Ship
TWD Consulting, Inc.
Independent J2EE / Open-Source Java Consultant
Creator and PMC Chair, Apache Tapestry
Creator, Apache HiveMind

Professional Tapestry training, mentoring, support
and project work.  http://howardlewisship.com