From: Jeremiah Dodds <jeremiah.dodds@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: What tools and references do you use for Emacs Lisp unit testing?
Date: Fri, 06 Apr 2012 01:04:39 -0400 [thread overview]
Message-ID: <87mx6pqwm0.fsf@destructor.i-did-not-set--mail-host-address--so-tickle-me> (raw)
In-Reply-To: <n2398k4gb0.fsf@fencepost.gnu.org> (Glenn Morris's message of "Tue, 03 Apr 2012 18:10:59 -0400")
Glenn Morris <rgm@gnu.org> writes:
> 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.
Here's a +1 for ERT -- I've used it a bit, and think it's a fine unit
testing library for elisp, it's more or less what you expect it to be.
prev parent reply other threads:[~2012-04-06 5:04 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-04-03 4:11 What tools and references do you use for Emacs Lisp unit testing? Matt McClure
2012-04-03 22:10 ` Glenn Morris
2012-04-06 5:04 ` Jeremiah Dodds [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87mx6pqwm0.fsf@destructor.i-did-not-set--mail-host-address--so-tickle-me \
--to=jeremiah.dodds@gmail.com \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).