From: Karl Fogel Date: Tue, 10 Nov 2015 21:28:40 +0000 (-0600) Subject: * CONTRIBUTE: Encourage adding tests. X-Git-Tag: emacs-25.0.90~846 X-Git-Url: https://code.delx.au/gnu-emacs/commitdiff_plain/25775a12c5168b0494dff15639ac25d8e1017530 * CONTRIBUTE: Encourage adding tests. Based on this post from John Wiegley: From: "John Wiegley" Subject: Re: [Emacs-diffs] master 1f02cbe: Fix bug#21766 and add test To: Juanma Barranquero Cc: emacs-diffs@gnu.org, bruce.connor.am@gmail.com, emacs-devel Date: Wed, 28 Oct 2015 18:45:29 -0700 Message-ID: https://lists.gnu.org/archive/html/emacs-devel/2015-10/msg02372.html --- diff --git a/CONTRIBUTE b/CONTRIBUTE index 0ca5d0d56d..2aae251ce4 100644 --- a/CONTRIBUTE +++ b/CONTRIBUTE @@ -248,7 +248,9 @@ for documentation errors before submitting a patch. ** Test your changes. Please test your changes before committing them or sending them to the -list. +list. If possible, add a new test along with any bug fix or new +functionality you commit (of course, some changes cannot be easily +tested). Emacs uses ERT, Emacs Lisp Regression Testing, for testing. See (info "(ert)") or https://www.gnu.org/software/emacs/manual/html_node/ert/