Document that tests should prefer to hit public APIs

This commit is contained in:
lvh 2024-10-23 10:53:36 -05:00 committed by GitHub
parent ec6a6a5cdb
commit 9031d87813
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -22,6 +22,9 @@ agreement, the PR will be merged.
Each bug fix, change or new feature should be tested well to prevent future Each bug fix, change or new feature should be tested well to prevent future
regressions. regressions.
If possible, tests should use public APIs. If the bug is in private/internal
code, try to trigger it from a public API.
### Force-push ### Force-push
Please do not use `git push --force` on your PR branch for the following Please do not use `git push --force` on your PR branch for the following