Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
SubmittingPatches: refer to t/README for tests
author
Junio C Hamano
<gitster@pobox.com>
Mon, 24 Nov 2014 17:43:29 +0000
(09:43 -0800)
committer
Junio C Hamano
<gitster@pobox.com>
Mon, 24 Nov 2014 17:43:29 +0000
(09:43 -0800)
There are general guidelines for writing good tests in t/README
but neither SubmittingPatches nor CodingGuidelines refers to it,
which makes the document easy to be missed.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/SubmittingPatches
patch
|
blob
|
history
raw
|
patch
|
inline
| side by side (parent:
eeff891
)
diff --git
a/Documentation/SubmittingPatches
b/Documentation/SubmittingPatches
index e6d46edbe7376a9f15d4f337a341a344b5197ca4..bfcf1d1b1f5568d2717fc33336dc06cc9c985724 100644
(file)
--- a/
Documentation/SubmittingPatches
+++ b/
Documentation/SubmittingPatches
@@
-57,7
+57,8
@@
change, the approach taken by the change, and if relevant how this
differs substantially from the prior version, are all good things
to have.
differs substantially from the prior version, are all good things
to have.
-Make sure that you have tests for the bug you are fixing.
+Make sure that you have tests for the bug you are fixing. See
+t/README for guidance.
When adding a new feature, make sure that you have new tests to show
the feature triggers the new behaviour when it should, and to show the
When adding a new feature, make sure that you have new tests to show
the feature triggers the new behaviour when it should, and to show the