myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mike Kienenberger" <mkien...@gmail.com>
Subject Re: [VOTE] Move s:form to tomahawk
Date Fri, 14 Jul 2006 17:58:47 GMT
On 7/14/06, Matthias Wessendorf <matzew@apache.org> wrote:
> > I would like to see more test-cases too, but not by using mock tests. I
> > think for component testing its way too much work and error prone after
> > refactoring.
> > I was told (thanks to matze ;-) ) that trinidad uses so called
> > gold-files - it compares the resulting html with an "known-to-be-good"
> > (=gold) html file, though, what I really would like to see for component
> > testing is something like htmlunit (http://htmlunit.sourceforge.net/)
> > which allows some basic javascript testing too.
>
> Adam brought this to the wiki
> http://wiki.apache.org/myfaces/Trinidad_RenderKit_test_framework

Right, and from what I've glanced over, this is similar in function to
what I proposed a year ago.  It was pointed out at the time that this
didn't really let you test ajax/javascript, though.


---------- Forwarded message ----------
From: Mike Kienenberger <mkienenb@gmail.com>
Date: Aug 17, 2005 10:56 AM
Subject: Renderkit for testing
To: MyFaces User mailing list <users@myfaces.apache.org>


Has anyone given any thought to a renderkit designed for testing?

Perhaps it would "render" a Map entry for every UIOutput subclass with
the id as the key and the component value as the value during
encoding, and reverse the process for decoding.

Mime
View raw message