[Seaside] Pharo/Seaside UI testing

Nick Ager nick.ager at gmail.com
Tue Jan 11 08:48:44 UTC 2011


Hi Tony,

I'd be very interested to compare you testing approach with Selenium-RC
method see:
http://www.pharocasts.com/2010/08/web-application-testing-through.html

Nick

On 11 January 2011 00:51, Tony Fleig <tony.fleig at gmail.com> wrote:

> I have to say, I am loving the Pharo/Seaside development environment.
>
> Manually testing TFLogin (a basic login and user account management
> package for Seaside) using Firefox was taking longer and longer as
> added features multiplied the number of cases to be tested. I had unit
> tests for the underlying pieces; testing the callbacks on the rendered
> pages was where most of my time was being spent.
>
> Yesterday I loaded WebClient and Soup from Squeaksource and together
> they made it possible for me to script tests of the TFLogin Web UI
> without needing a browser. This even includes verifying confirmation
> email callbacks.
>
> I've constructed web apps in other environments (e.g. LAMP, ASP) and
> never had this level of automated testing. Its surely not impossible
> in other development environments, but somehow it never happened. I've
> been thinking about why in the Pharo/Seaside environment this seemed
> so natural and I've come up with these reasons:
>
> 1. It required no extra infrastructure or products to set up the test
> environment. Seaside's server, the WebClient clients, Soup, and the
> TFLogin test app are all present in the Pharo image.
>
> 2. No shell scripts or Perl or Python code was necessary.
>
> 3. The tests cases are integrated into the development environment,
> and are not in another tool or language.
>
> Regards,
> TF
> _______________________________________________
> seaside mailing list
> seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/seaside/attachments/20110111/fecbbb60/attachment.htm


More information about the seaside mailing list