From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Glenn Morris Newsgroups: gmane.emacs.help Subject: Re: What tools and references do you use for Emacs Lisp unit testing? Date: Tue, 03 Apr 2012 18:10:59 -0400 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1333491079 22570 80.91.229.3 (3 Apr 2012 22:11:19 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 3 Apr 2012 22:11:19 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Matt McClure Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Apr 04 00:11:17 2012 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1SFBwU-0006Ke-DM for geh-help-gnu-emacs@m.gmane.org; Wed, 04 Apr 2012 00:11:10 +0200 Original-Received: from localhost ([::1]:35180 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SFBwT-0002y6-FU for geh-help-gnu-emacs@m.gmane.org; Tue, 03 Apr 2012 18:11:09 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:57018) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SFBwO-0002xv-Av for help-gnu-emacs@gnu.org; Tue, 03 Apr 2012 18:11:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SFBwL-00009x-Rh for help-gnu-emacs@gnu.org; Tue, 03 Apr 2012 18:11:03 -0400 Original-Received: from fencepost.gnu.org ([208.118.235.10]:55960) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SFBwL-00009t-Oh for help-gnu-emacs@gnu.org; Tue, 03 Apr 2012 18:11:01 -0400 Original-Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1SFBwJ-0005tQ-Td; Tue, 03 Apr 2012 18:10:59 -0400 X-Spook: bluebird freedom AIMSX Dick Cheney basement halcon kilo X-Ran: hGQq]zTm+fH"Hm4H}T@\:s*zu`]k2\&CrS?2hHg(&|KiC$JL?R08ik$1\lwd|d0f1.{;&9 X-Hue: magenta X-Attribution: GM Mail-Followup-To: help-gnu-emacs@gnu.org In-Reply-To: (Matt McClure's message of "Tue, 3 Apr 2012 00:11:27 -0400") User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 208.118.235.10 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:84304 Archived-At: Matt McClure wrote: > I've written a bit of Emacs Lisp, and I've written unit tests in other > languages. From the list of tools on http://emacswiki.org/emacs/UnitTesting, > ert.el and el-expectations.el look most promising to me. What tools are > others using for unit testing and TDD in Emacs Lisp? What are good examples > of packages using each? Well, ERT is included in Emacs (from 24.1 onwards), together with a nice manual, and is used for the (so far, somewhat sparse) tests in the test/automated directory in the Emacs repository.