Open vearutop opened 5 years ago
In order to provide some code coverage and ensure the quality of generated code we can generate integration tests for happy paths of REST operation. These can use httptest.Server to mimic REST API of the client and assert requests, write response.
httptest.Server
In order to provide some code coverage and ensure the quality of generated code we can generate integration tests for happy paths of REST operation. These can use
httptest.Server
to mimic REST API of the client and assert requests, write response.