3 ms·
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. Giv
by pbill 16y ago
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.
- ryanfitz 16y agoFacebook does offer test user accounts (with an api) exactly for these types of scenarios http://developers.facebook.com/docs/test_users http://developers.facebook.com/docs/test_users I don't know if twitter offers anything similar.
- pbill 16y agoI didn't know about these Facebook test accounts. Thanks for letting me know. These will be very helpful.