[Seaside] Testing a callback (no fuctional test)

Davide lasmiste at gmail.com
Fri Apr 27 08:00:58 UTC 2012

 It's not really clear to me how to test a callback without interact with a
browser or tool like selenium, watir etc. etc 

Let's take an example from the Seaside book:

AnchorCallbackExample>>renderContentOn: html
 html text: count.
 html break.
 html anchor
 callback: [ self anchorClicked ]; 
  with: 'click to increment'

How can I trigger the callback via unit test?

View this message in context: http://forum.world.st/Testing-a-callback-no-fuctional-test-tp4592036p4592036.html
Sent from the Seaside General mailing list archive at Nabble.com.

More information about the seaside mailing list