opensearch-project / opensearch-sdk-java

OpenSearch SDK to build and run extensions
Apache License 2.0
28 stars 59 forks source link

[Testing Confirmation] Confirm current testing requirements #470

Open stephen-crawford opened 1 year ago

stephen-crawford commented 1 year ago

As part of the discussion around implementing an organization-wide testing policy, I am visiting each repo to see what tests they currently perform. I am conducting this work on GitHub so that it is easy to reference.

Looking at the Opensearch-SDK-Java repository, it appears there is

Repository Unit Tests Integration Tests Backwards Compatibility Tests Additional Tests Link
Opensearch-SDK-Java
  • - [ ]
  • - [ ]
  • - [x]
  • Validate Gradle Wrapper https://github.com/opensearch-project/opensearch-sdk-java/issues/470

    I don't see any requirements for code coverage in the testing documentation. If there are any specific requirements could you respond to this issue to let me know?

    If there are any tests I missed or anything you think all repositories in OpenSearch should have for testing please respond to this issue with details.

    dbwiddis commented 1 year ago

    Hey @scrawfor99 we definitely have unit tests and view coverage:

    We do not have any specific minimum requirements to test code coverage.

    As for Integration tests, yes, we know we need them: https://github.com/opensearch-project/opensearch-sdk-java/issues?q=is%3Aissue+is%3Aopen+integration+label%3Atesting

    stephen-crawford commented 1 year ago

    Hi @dbwiddis,

    Thank you for your detailed response. Apologies on incorrectly labeling the table before but thank you for clearing that up. I went ahead and updated things to be accurate. I will also add notes about your other comments and appreciate your help on this front.

    Thanks again.