[seam-dev] need advice for tests
Marek Schmidt
maschmid at redhat.com
Tue Mar 8 07:08:24 EST 2011
----- 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