I have this challenge and I'm very interested in seeing how others solve this without using mocks. For my tests, I have 5 tests that rely on Twitter logins. Given that I run my tests ~10 times per day (on each commit), and other developers run my tests on their commits, I would have number_of_developers * commits_per_developer_per_day * 5 logins per day with a real twitter account. My guess is that that would run afoul of twitter's policies.
I'd love to see a web based stubbing service that would let me test against Twitter and especially Facebook without using real accounts on either.
Comments
I have this challenge and I'm very interested in seeing how others solve this without using mocks. For my tests, I have 5 tests that rely on Twitter logins. Given that I run my tests ~10 times per day (on each commit), and other developers run my tests on their commits, I would have number_of_developers * commits_per_developer_per_day * 5 logins per day with a real twitter account. My guess is that that would run afoul of twitter's policies.
I'd love to see a web based stubbing service that would let me test against Twitter and especially Facebook without using real accounts on either.
Facebook does offer test user accounts (with an api) exactly for these types of scenarios http://developers.facebook.com/docs/test_users
I don't know if twitter offers anything similar.
I didn't know about these Facebook test accounts. Thanks for letting me know. These will be very helpful.