[REBOL] Re: [TDD with run.r] Help needed please...
From: gregg:pointillistic at: 9-May-2007 5:58
Hi Sash,
I like the concept of TDD, but I'm not a fan of the xUnit model;
%run.r is an excellent implementation though (IMO).
Testing GUIs is not easy. I worked on some ideas with Robert Muench
that work at the level of programmatically inserting data, checking
what value a face has, etc. That doesn't tell you anything about the
rendering level though, which Anton's message alludes to. And as soon
as you start using style sheets, things might change even more. You
can check for some things automatically, like whether any faces in a
pane fall outside its boundaries, or what color they are (by facet
value), but it's a lot of work, and still may not help find problems
that occur when a user is actually using the app.
Maybe Robert will have some words of wisdom.
My thoughts on non-UI unit testing will have to wait for another
message. :)
-- Gregg