|
1 |
| -- [Contributing to OpenSearch-SDK-Java](#contributing-to-opensearch-sdk-java) |
| 1 | +- [Contributing to OpenSearch SDK for Java](#contributing-to-opensearch-sdk-for-java) |
2 | 2 | - [First Things First](#first-things-first)
|
3 | 3 | - [Ways to Contribute](#ways-to-contribute)
|
4 | 4 | - [Bug Reports](#bug-reports)
|
5 | 5 | - [Feature Requests](#feature-requests)
|
6 | 6 | - [Contributing Code](#contributing-code)
|
7 | 7 | - [Developer Certificate of Origin](#developer-certificate-of-origin)
|
| 8 | + - [Code Coverage](#code-coverage) |
8 | 9 | - [Review Process](#review-process)
|
9 | 10 |
|
10 |
| -# Contributing to OpenSearch-SDK |
| 11 | +# Contributing to OpenSearch SDK for Java |
11 | 12 |
|
12 | 13 | OpenSearch-SDK is a community project that is built and maintained by people just like **you**. We're glad you're interested in helping out. There are several different ways you can do it, but before we talk about that, let's talk about how to get started.
|
13 | 14 |
|
|
77 | 78 | ```
|
78 | 79 | You may type this line on your own when writing your commit messages. However, if your user.name and user.email are set in your git configs, you can use `-s` or `--signoff` to add the `Signed-off-by` line to the end of the commit message.
|
79 | 80 |
|
| 81 | +## Code Coverage |
| 82 | + |
| 83 | +Any new functionality requires testing. Your PR will trigger an automatic assessment of the code coverage of the lines you've added. You should add unit and/or integration tests to exercise as much of your new code as possible. |
| 84 | + |
| 85 | +If you'd like to preview your coverage before submitting your PR, to identify lines of code which are not tested, you may run `./gradlew diffCoverage` and review the report available in the project build directory at `build/reports/jacoco/diffCoverage/html/index.html`. |
| 86 | + |
80 | 87 | ## Review Process
|
81 | 88 |
|
82 | 89 | We deeply appreciate everyone who takes the time to make a contribution. We will review all contributions as quickly as possible. As a reminder, [opening an issue](https://github.com/opensearch-project/opensearch-sdk-java/issues/new/choose) discussing your change before you make it is the best way to smooth the PR process. This will prevent a rejection because someone else is already working on the problem, or because the solution is incompatible with the architectural direction.
|
|
0 commit comments