Sometimes the API could be slightly changed on purpose or totally by accident.
Having a complete test suite to make sure the API is returning result in the right format could help debugging when something related to API does not work.
It depends, some can argue these tests should be written by the API people that their API should always return in same format.
Sometimes the API could be slightly changed on purpose or totally by accident. Having a complete test suite to make sure the API is returning result in the right format could help debugging when something related to API does not work.
It depends, some can argue these tests should be written by the API people that their API should always return in same format.