[seam-dev] need advice for tests

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


No they don't (at least Twitter and LinkedIn). There's no big deal for creating a fake account in Twitter it's heavier in LinkedIn. The problem is that I don't want automated test be launch with my own account acces token ;-).

regards,

Antoine 

Le 8 mars 2011 à 14:36, Jason Porter a écrit :

> Don't they have test accounts devs can use to try their integration
> apis? I know many third party services I've used in the past have
> these already setup to exercise their full API.
> 
> On Tuesday, March 8, 2011, Marek Schmidt <maschmid at redhat.com> wrote:
>> ----- 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
>> 
>> _______________________________________________
>> seam-dev mailing list
>> seam-dev at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/seam-dev
>> 
> 
> -- 
> Jason Porter
> http://lightguard-jp.blogspot.com
> http://twitter.com/lightguardjp
> 
> Software Engineer
> Open Source Advocate
> Author of Seam Catch - Next Generation Java Exception Handling
> 
> PGP key id: 926CCFF5
> PGP key available at: keyserver.net, pgp.mit.edu




More information about the seam-dev mailing list