[seam-dev] need advice for tests

Antoine Sabot-Durand antoine at sabot-durand.net
Tue Mar 8 09:40:42 EST 2011


Thanks Chris,

but I want to avoid mocking OAuth service like Twitter : tests will far more complicated than my code :-).

Antoine 

Le 8 mars 2011 à 14:10, Chris Wash a écrit :

> Antoine,
> 
> Sorry if you've already considered this... 
> 
> SoapUI can generate all the infrastructure for mock SOAP and REST services. Adds some complexity to your testing stack, however.
> 
> Chris
> 
> Sent from my iPhone
> 
> On Mar 8, 2011, at 5:14 AM, "Antoine Sabot-Durand" <antoine at sabot-durand.net> wrote:
> 
>> Hi team
>> 
>> I need some advice regarding Social module and tests. Most of the job of the module is to dialog with remote services. I don't feel like mocking Twitter or LinkedIn service behavior to create my test. Do you have any suggestion to set those tests ? for the moment, all I see is to create a test account on these services to post update and request timeline, but it won't really test OAuth authentication since this ask user interaction. Any thought ? 
>> 
>> Thanks
>> 
>> Antoine SABOT-DURAND
>> ---------------------------------------
>> Twitter ; http://twitter.com/antoine_sd
>> LinkedIn : http://fr.linkedin.com/in/antoinesabotdurand
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> _______________________________________________
>> seam-dev mailing list
>> seam-dev at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/seam-dev




More information about the seam-dev mailing list