Go — Minimum Test-cases on API Call Table Test

  1. when the client failed to create http.NewRequest
  2. when the client got non-successful http.StatusCode
  3. when the client failed to read http.Response.Body
  4. when the client got an empty http.Response.Body
  5. when the client got an unmeet/broken response structure/contract
  6. when the client got an error/failed status response
  7. when the client got a fully successful response

--

--

Burhan Mubarok

… in a journey to find anything I didn’t find yet