Hi all,

Perhaps this already exists, but if not it would be great: a URL or
flag for API testing.

Eg, all requests to this service would process the queries for only
for validity of the message (and ignore whether the status/user/
favorite etc exists) and return an sample dataset as would be expected
of a successful request.

Malformed requests would return the expected failure notice, and
perhaps a 'return false' flag could be added to tell the api to send
the relevant negative response for a particular request.

Since it would have no effect on any actual data, it would not need to
be rate limited (or at least the rate could be extremely high and only
by I.P.).

This would be great for unit testing. At the moment it's difficult to
create a testing framework that works reliably. Especially if you want
other people to be able to run the tests, but not see your twitter
password :P. For example, you have to generate a random status message
to avoid the 'ignore repeated messages' issue, and create and destroy
friendships and notifications that you've manually set up.

It's not a biggie, but would be a very useful developer tool.

Thanks!

Reply via email to