Only testing modified requests
How to only test 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.
Add nyc to your the command that starts your app. Follow this for help
Add
shouldExcludeUnmodifiedRequests
in cli config
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.
Run cli test
Last updated