# Only testing modified requests

This feature enables you to test only those requests that were modified in the new commits added. Hypertest considers a request to be modified when the code covered in that request gets modified. So this feature requires the code coverage of the requests to be updated using `htcli update-coverage` command. Requests not having code coverage are not tested.

1. Add nyc to your the command that starts your app. Follow [this](https://docs-v2.hypertest.co/user-guides/node.js-sdk/code-coverage-based-features/updating-test-coverage) for help
2. Add `shouldExcludeUnmodifiedRequests` in cli config

```json
// Your cli config
{
    /*
        ...Rest of your cli config
    */
    shouldExcludeUnmodifiedRequests: true
}
```

{% hint style="info" %}
We  don't need to know your master branch for this feature, we store the commitId while updating coverage. We use that to calculate git diff.
{% endhint %}

3. Run cli test
