On 7/14/06, Matthias Wessendorf <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]>
Date: Aug 17, 2005 10:56 AM
Subject: Renderkit for testing
To: MyFaces User mailing list <[email protected]>


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.

Reply via email to