-
Notifications
You must be signed in to change notification settings - Fork 185
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
[FEATURE] Generated tests for generated code #521
Comments
I recommend using this Yaml test runner for integration tests. https://github.com/opensearch-project/opensearch-py/blob/main/test_opensearchpy/test_server/test_rest_api_spec.py |
@saimedhi Can we generate some tests from this? |
The YAML test runner generates tests based on the spec https://github.com/saimedhi/OpenSearch/tree/main/rest-api-spec/src/main/resources/rest-api-spec/test |
I think some unit tests wouldn't hurt either. |
@saimedhi Are we generating with the recent changes when a new API is added? If we do we can close this. |
Currently tests are not generated. This needs to be done :) |
Coming from #511 (review), as @dblock suggested, we should have tests for all the generated code we are putting in, starting with some basic tests that are also generated.
The text was updated successfully, but these errors were encountered: