Since Twitter now offers standardized responses for V2 queries, testing that each client can correctly deserialize a standardized response seems redundant. We know that tweet endpoints will return either a TweetResponse or TweetsResponse, similarly the user endpoints a UserResponse or UsersResponse, so can break our tests into query building vs deserialization.
Since Twitter now offers standardized responses for V2 queries, testing that each client can correctly deserialize a standardized response seems redundant. We know that tweet endpoints will return either a
TweetResponse
orTweetsResponse
, similarly the user endpoints aUserResponse
orUsersResponse
, so can break our tests into query building vs deserialization.