X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=t%2FREADME;h=a1eb7c8720ad3e91f78fca6d58acd336c71171a0;hb=c14daa4845ff2ec0d27807fa50f9fac1ca4d6462;hp=0d1183c3e69904e9e3543d757f14f10c629e199b;hpb=6a7f71d376becc1a5b0357b682dd0c20842104b0;p=git.git diff --git a/t/README b/t/README index 0d1183c3e..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