From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lennart Borgman Newsgroups: gmane.emacs.devel Subject: Re: unit test framework Date: Thu, 18 Mar 2010 15:56:51 +0100 Message-ID: References: <20100318.163911.560917315840337376.yamato@redhat.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1268925552 5714 80.91.229.12 (18 Mar 2010 15:19:12 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 18 Mar 2010 15:19:12 +0000 (UTC) Cc: Nikolaj Schumacher , web@shellarchive.co.uk, Masatake YAMATO , ohler+emacs@fastmail.net, emacs-devel@gnu.org, rubikitch , Phil Hagelberg To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Mar 18 16:19:06 2010 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.69) (envelope-from ) id 1NsHUv-0004eG-0A for ged-emacs-devel@m.gmane.org; Thu, 18 Mar 2010 16:18:57 +0100 Original-Received: from localhost ([127.0.0.1]:60660 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NsHBS-0000ZA-RV for ged-emacs-devel@m.gmane.org; Thu, 18 Mar 2010 10:58:50 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NsHBG-0000Ug-DQ for emacs-devel@gnu.org; Thu, 18 Mar 2010 10:58:38 -0400 Original-Received: from [140.186.70.92] (port=59715 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NsHAV-0007ZY-SZ for emacs-devel@gnu.org; Thu, 18 Mar 2010 10:58:37 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NsH9t-0000LR-41 for emacs-devel@gnu.org; Thu, 18 Mar 2010 10:57:14 -0400 Original-Received: from mail-yw0-f191.google.com ([209.85.211.191]:59434) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NsH9t-0000LN-0c for emacs-devel@gnu.org; Thu, 18 Mar 2010 10:57:13 -0400 Original-Received: by ywh29 with SMTP id 29so317398ywh.14 for ; Thu, 18 Mar 2010 07:57:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=g9NYfalBTxaKSPKwt1i+q/0nftV/1G//g/ZHrf0WjQM=; b=JbtNRt+gdxW59aDbwAcIeH/6J8SV8/nmDfUWC2S2UIUZs9yjOj05tw0j70P8ybKioa V2i8uJXu6EYP2BTJgFEIQxFmGu3MExPvqNEWgdrxZEy4bCuBfYPB+SveXrFFpXtjl0C8 8793ow4qsvAHJzYpcNFM0jeN+DlbyTuL2LTus= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=J6getFpO93W82O2U8Mo/5b5+D5QwzwuBRcNlceKZ1wZovqSef632IQXacfE3aQsQ2X om5tH9q/zgFjgMkpDn+OlU830rhNc9tpZFNBkQsh/cRI6CwbmTUb06DSz4jfDhb1JF8u y9YpoSyR4ixLMHKrDCkYNy1+X/aEq/lFj8dXI= Original-Received: by 10.239.141.65 with SMTP id b1mr1396649hba.28.1268924231153; Thu, 18 Mar 2010 07:57:11 -0700 (PDT) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) 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:122170 Archived-At: On Thu, Mar 18, 2010 at 3:22 PM, Stefan Monnier wrote: >> Do you have a plan to include an elisp library for unit >> testing in Emacs-24? > > It's not in the current plan, but I'm in favor of adding such > a thing, yes. =C2=A0I simply don't have the time and energy to delve much > into it. > >> I've tried some and I'm using ert.el written by Christian M. Ohler. >> =C2=A0 =C2=A0 =C2=A0http://github.com/masatake/ert/blob/master/ert.el > > If other people can chime in on the various options and form > a consensus, that would be wonderful. I asked long ago for a comparision on EmacsWiki: http://www.emacswiki.org/cgi-bin/wiki/UnitTesting However there have not been any interest in that. If have cc:ed the unit test framework authors, maybe they want to say something. I am not sure which of them have signed papers: ert: Christian Ohler elunit: Phil Hagelberg elk-test: Nikolaj Schumacher etest: Phil Jackson el-mock: rubikitch > =C2=A0 =C2=A0 =C2=A0 =C2=A0Stefan > > > PS: One thing for which I'd like to be able to use such a test framework,= is > to link tests<->bug numbers<->commits. > > >