Re: Unit testing GUIs

From: Ilja Preuß (preuss_at_disy.net)
Date: 11/24/03


Date: Mon, 24 Nov 2003 10:55:44 +0100

Uncle Bob (Robert C. Martin) wrote:

> No doubt. We don't know how to write tests for "sounds good" or
> "looks good". To know if a GUI "looks good" you have to look at it.
> Even then the evaluation is subjective.
>
> However, you *can* write automatic tests that demonstrate that the GUI
> behaves correctly. Such tests are not intrinsically more difficult to
> write than any other kind of automated test.

A coworker of mine also wrote a small library once which could test wether
two images "looked similar", even when resolutions differed.

Take care, Ilja



Relevant Pages


Loading