From 0c357544b0d4415c464fb8b35593b21db1d1f7f7 Mon Sep 17 00:00:00 2001 From: =?utf8?q?=C3=86var=20Arnfj=C3=B6r=C3=B0=20Bjarmason?= Date: Sun, 25 Jul 2010 19:52:44 +0000 Subject: [PATCH] t/README: A new section about test coverage MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Document how test writers can generate coverage reports, to ensure that their tests are really testing the code they think they're testing. Signed-off-by: Ævar Arnfjörð Bjarmason Reviewed-by: Jonathan Nieder Signed-off-by: Junio C Hamano --- t/README | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) diff --git a/t/README b/t/README index 336871fe4..468876de0 100644 --- a/t/README +++ b/t/README @@ -268,6 +268,9 @@ Do: git push gh && test ... + - Check the test coverage for your tests. See the "Test coverage" + below. + Don't: - exit() within a