Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generate tests for Go client #4

Open
vearutop opened this issue Oct 27, 2019 · 0 comments
Open

Generate tests for Go client #4

vearutop opened this issue Oct 27, 2019 · 0 comments
Labels
enhancement New feature or request

Comments

@vearutop
Copy link
Member

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.

@vearutop vearutop added the enhancement New feature or request label Oct 27, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant