X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;ds=sidebyside;f=t%2FREADME;h=a1eb7c8720ad3e91f78fca6d58acd336c71171a0;hb=c295cf06608cb07a132abef5802366522fd2f5e0;hp=0d1183c3e69904e9e3543d757f14f10c629e199b;hpb=c7f649a794250ca680569bd8c2466af42acb434a;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