From: Masatake YAMATO <yamato@redhat.com>
To: sdl.web@gmail.com
Cc: emacs-devel@gnu.org
Subject: Re: unit test framework
Date: Thu, 18 Mar 2010 20:25:21 +0900 (JST) [thread overview]
Message-ID: <20100318.202521.329767484983295922.yamato@redhat.com> (raw)
In-Reply-To: <xbai1vfirlhv.fsf@cam.ac.uk>
> On 2010-03-18 09:31 +0000, Lennart Borgman wrote:
>> On Thu, Mar 18, 2010 at 8:39 AM, Masatake YAMATO <yamato@redhat.com> wrote:
>>> Hi,
>>>
>>> Do you have a plan to include an elisp library for unit
>>> testing in Emacs-24?
>>>
>>> I've tried some and I'm using ert.el written by Christian M. Ohler.
>>>
>>> http://github.com/masatake/ert/blob/master/ert.el
>>
>>
>> I am using that in nXhtml with some additions to test fontifications
>> and commands.
>
> I have been thinking about using a unit test framework even for my own
> .emacs which has grown to a few thousand lines. But there are so many of
> them available and I don't know which one is good. Could you share why
> you use ert.el? Thanks.
I'm using it because it supports a use case, testing an elisp with "emacs --batch".
The emacs process run for unit testing can tell the test result via exit status;
0 is for successful, 1 is for failure. With ert.el it is possible to integrate
running unit test to "make check".
If you are interested in, see the new docuemnt for ``ert-run-tests-batch'' in
http://github.com/masatake/ert/commit/5f1bc45c5c54e1f95e9e8ba787f3f66b33ddc583
Masatake YAMATO
next prev parent reply other threads:[~2010-03-18 11:25 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-03-18 7:39 unit test framework Masatake YAMATO
2010-03-18 9:31 ` Lennart Borgman
2010-03-18 10:07 ` Leo
2010-03-18 10:23 ` Lennart Borgman
2010-03-18 11:25 ` Masatake YAMATO [this message]
2010-03-18 14:22 ` Stefan Monnier
2010-03-18 14:56 ` Lennart Borgman
2010-03-19 0:16 ` rubikitch
2010-03-19 19:00 ` Phil Hagelberg
2010-03-20 11:01 ` Nikolaj Schumacher
2010-03-23 9:02 ` joakim
2010-03-23 13:15 ` Lennart Borgman
2010-03-24 3:03 ` Masatake YAMATO
2010-03-23 14:22 ` Stefan Monnier
2010-04-13 10:32 ` joakim
2010-06-12 6:06 ` Christian Ohler
2010-06-12 13:48 ` Lennart Borgman
2010-06-14 11:24 ` Masatake YAMATO
2010-07-23 21:58 ` Stefan Monnier
2010-03-23 10:15 ` Philip Jackson
2010-06-27 18:50 ` Philip Jackson
2010-07-09 13:43 ` Christian Ohler
2010-07-09 23:01 ` Glenn Morris
2010-07-10 1:12 ` 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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20100318.202521.329767484983295922.yamato@redhat.com \
--to=yamato@redhat.com \
--cc=emacs-devel@gnu.org \
--cc=sdl.web@gmail.com \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.