Re: High level plans/ideas for _05

From: Adam Winer <>
Date: Fri, 02 Mar 2007 10:26:36 -0800

Ryan Lubke said the following on 3/2/07 10:19 AM PT:
> Jesse Alexander (KSFD 121) wrote:
>>> Are you using goldenfiles? :)
>> what's that?
> It's testing tecnique where a response is compare
> byte-for-byte against a control file. So even if
> the change in the response is only whitespace,
> the test would fail.

... which makes golden files generally a nightmare.
Tests also fail if you change, for instance, your
auto-ID generation code. Or if you change the
order in which attributes are written. Etc.

FYI, I wrote a ResponseWriter for Trinidad that
solves many of these problems:

... especially in conjunction with a special
ExternalContext implementation that I swap in.

-- Adam