David Wheeler sent the following bits through the ether:

> we can't really figure out a way to automate the testing of the UI

Well, on our current project we're using using OpenFrame[1] and the
Template Toolkit to completely seperate application logic from
presentation logic. We have applications which deal with the business
logic and all that the templates do is present the data. This way we
can completely test the application using "make test". In fact, here
is some sample output ;-):
Files=4, Tests=205,  4 wallclock secs ( 3.80 cusr +  0.19 csys =  3.99 CPU)

Of course, this doesn't stop us from creating templates that don't
work and thus break the user path (so we have to test that
seperately), but seeing as all the templates do is present information
that is passed to them from the application, this testing gives us
great faith in the application as a whole.

HTH, Leon

[1] http://openframe.fotango.com/
-- 
Leon Brocard.............................http://www.astray.com/
Nanoware...............................http://www.nanoware.org/

... Beware of Geeks bearing gifs

Reply via email to