From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Lennart Borgman (gmail)" Newsgroups: gmane.emacs.devel Subject: Re: ert.el --- Emacs Lisp Regression Testing Date: Mon, 31 Dec 2007 00:28:57 +0100 Message-ID: <477829B9.1070406@gmail.com> References: <47782302.5000201@fastmail.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1199057356 22483 80.91.229.12 (30 Dec 2007 23:29:16 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 30 Dec 2007 23:29:16 +0000 (UTC) Cc: emacs-devel@gnu.org To: Christian Ohler Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Dec 31 00:29:31 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1J97ay-0002EL-BR for ged-emacs-devel@m.gmane.org; Mon, 31 Dec 2007 00:29:28 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1J97ac-0007dK-96 for ged-emacs-devel@m.gmane.org; Sun, 30 Dec 2007 18:29:06 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1J97aY-0007aw-CU for emacs-devel@gnu.org; Sun, 30 Dec 2007 18:29:02 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1J97aW-0007YD-U3 for emacs-devel@gnu.org; Sun, 30 Dec 2007 18:29:01 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1J97aW-0007Y0-Ms for emacs-devel@gnu.org; Sun, 30 Dec 2007 18:29:00 -0500 Original-Received: from ch-smtp02.sth.basefarm.net ([80.76.149.213]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1J97aW-0005EA-6z for emacs-devel@gnu.org; Sun, 30 Dec 2007 18:29:00 -0500 Original-Received: from c83-254-148-228.bredband.comhem.se ([83.254.148.228]:64981 helo=[127.0.0.1]) by ch-smtp02.sth.basefarm.net with esmtp (Exim 4.68) (envelope-from ) id 1J97aU-0003QS-8d; Mon, 31 Dec 2007 00:28:58 +0100 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.9) Gecko/20071031 Thunderbird/2.0.0.9 Mnenhy/0.7.5.666 In-Reply-To: <47782302.5000201@fastmail.net> X-Antivirus: avast! (VPS 071230-0, 2007-12-30), Outbound message X-Antivirus-Status: Clean X-Originating-IP: 83.254.148.228 X-Scan-Result: No virus found in message 1J97aU-0003QS-8d. X-Scan-Signature: ch-smtp02.sth.basefarm.net 1J97aU-0003QS-8d 6bbc37a5c8a4068981d4e7f7ffb66b65 X-detected-kernel: by monty-python.gnu.org: Linux 2.6? (barebone, rare!) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:85717 Archived-At: Christian Ohler wrote: > I'm a big fan of automated testing/unit testing. However, it seems that > there is no widely-used testing framework for Emacs Lisp yet. I've > tried various packages (regress.el, elunit.el, elk-test.el, XEmacs' > test-harness.el, the code in slime.el, and cc-mode's tests), but they're > all either too simplistic, very specialized, or not very Lispy. > > Here's the code that I use at the moment. It requires Emacs 22. > > Please try it out and let me know what you think. Something like this > really ought to be added to Emacs. I will try to test it ;-) One thing that might be handy is something that runs selected entries in a new instance of Emacs, starting from either "emacs" or "emacs -Q". I think that is one of the most common things I do when I am testing.