Go — Minimum Test-cases on API Call Table Test
May 8, 2020
- when the client failed to create http.NewRequest
- when the client got non-successful http.StatusCode
- when the client failed to read http.Response.Body
- when the client got an empty http.Response.Body
- when the client got an unmeet/broken response structure/contract
- when the client got an error/failed status response
- when the client got a fully successful response