From 25775a12c5168b0494dff15639ac25d8e1017530 Mon Sep 17 00:00:00 2001 From: Karl Fogel Date: Tue, 10 Nov 2015 15:28:40 -0600 Subject: [PATCH] * 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 --- CONTRIBUTE | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/CONTRIBUTE b/CONTRIBUTE index 0ca5d0d56db..2aae251ce42 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/ -- 2.39.2