X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=t%2FREADME;h=a1eb7c8720ad3e91f78fca6d58acd336c71171a0;hb=b3f01ff29f7131e959bcfdfd004744d74d5fa319;hp=410499a09645634349d7685e728228f238021c34;hpb=88bf110494c7f0dd3bcef7b7a8aebbbc2e9a826b;p=git.git diff --git a/t/README b/t/README index 410499a09..a1eb7c872 100644 --- a/t/README +++ b/t/README @@ -268,6 +268,18 @@ Do: git push gh && test ... + - Check the test coverage for your tests. See the "Test coverage" + below. + + Don't blindly follow test coverage metrics, they're a good way to + spot if you've missed something. If a new function you added + doesn't have any coverage you're probably doing something wrong, + but having 100% coverage doesn't necessarily mean that you tested + everything. + + Tests that are likely to smoke out future regressions are better + than tests that just inflate the coverage metrics. + Don't: - exit() within a