unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Lennart Borgman (gmail)" <lennart.borgman@gmail.com>
To: Christian Ohler <ohler+emacs@fastmail.net>
Cc: emacs-devel@gnu.org
Subject: Re: ert.el --- Emacs Lisp Regression Testing
Date: Mon, 31 Dec 2007 00:28:57 +0100	[thread overview]
Message-ID: <477829B9.1070406@gmail.com> (raw)
In-Reply-To: <47782302.5000201@fastmail.net>

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.

  reply	other threads:[~2007-12-30 23:28 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-12-30 23:00 ert.el --- Emacs Lisp Regression Testing Christian Ohler
2007-12-30 23:28 ` Lennart Borgman (gmail) [this message]
2008-01-05 11:32   ` Christian Ohler
2007-12-31 14:42 ` Richard Stallman
2008-01-05 11:32   ` Christian Ohler
2008-01-05 13:06     ` Eli Zaretskii
2008-01-06  8:10       ` Richard Stallman
2008-01-06 19:46         ` Eli Zaretskii
2008-01-07 11:31           ` Richard Stallman
2008-01-07 13:00             ` Mike Mattie
2008-01-03 18:48 ` Phil Hagelberg
2008-01-05 11:32   ` Christian Ohler

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=477829B9.1070406@gmail.com \
    --to=lennart.borgman@gmail.com \
    --cc=emacs-devel@gnu.org \
    --cc=ohler+emacs@fastmail.net \
    /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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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).