[Seaside] Re: Testing a seaside task and component?

Paul DeBruicker pdebruic at gmail.com
Sun May 17 14:49:32 UTC 2015


This was a helpful video about testing seaside components using Parasol: 


https://www.youtube.com/watch?v=CoJ-Wnno6TY





abergel wrote
> Hi!
> 
> I have a rather simple question regarding seaside.
> Assuming I have a method MyTask>>go
> How can I test it in a unit test?
> Executing MyTask new go leads to the error:  'You can only #call: and
> #answer: from within a callback or a Task.'
> 
> Pity the Seaside distribution does not have the Sushi example and some
> tests.
> 
> Cheers,
> Alexandre
> -- 
> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
> Alexandre Bergel  http://www.bergel.eu
> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
> 
> 
> 
> _______________________________________________
> seaside mailing list

> seaside at .squeakfoundation

> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside





--
View this message in context: http://forum.world.st/Testing-a-seaside-task-and-component-tp4826759p4826886.html
Sent from the Seaside General mailing list archive at Nabble.com.


More information about the seaside mailing list