[seam-dev] need advice for tests
Antoine Sabot-Durand
antoine at sabot-durand.net
Tue Mar 8 08:39:45 EST 2011
Thanks Marek, your help is welcome. I don't have doc for the app yet, but it's quite simple.
regards,
Antoine
Le 8 mars 2011 à 13:08, Marek Schmidt a écrit :
> ----- Original Message -----
>> From: "Antoine Sabot-Durand" <antoine at sabot-durand.net>
>> To: seam-dev at lists.jboss.org
>> Sent: Tuesday, March 8, 2011 11:14:24 AM
>> Subject: [seam-dev] need advice for tests
>> 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 ?
>
> Hi Antoine,
>
> I will try to write an ftest for the social web-client example with Selenium this week, using some test account.
>
> I'll let you know how it went, hopefully with a pull request :)
>
> I think it makes sense to also have unit tests for those parts that do not require a browser...
>
> Cheers,
>
> Marek
>
> --
> Marek Schmidt
> Seam QE
>
More information about the seam-dev
mailing list