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 11:23:37 +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 1268907985 30064 80.91.229.12 (18 Mar 2010 10:26:25 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 18 Mar 2010 10:26:25 +0000 (UTC) Cc: emacs-devel@gnu.org To: Leo Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Mar 18 11:26:21 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 1NsCvl-0008JR-0y for ged-emacs-devel@m.gmane.org; Thu, 18 Mar 2010 11:26:21 +0100 Original-Received: from localhost ([127.0.0.1]:38128 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NsCvk-0003FZ-5o for ged-emacs-devel@m.gmane.org; Thu, 18 Mar 2010 06:26:20 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NsCtZ-0001Ns-94 for emacs-devel@gnu.org; Thu, 18 Mar 2010 06:24:05 -0400 Original-Received: from [140.186.70.92] (port=41895 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NsCtX-0001La-46 for emacs-devel@gnu.org; Thu, 18 Mar 2010 06:24:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NsCtV-0007sK-7t for emacs-devel@gnu.org; Thu, 18 Mar 2010 06:24:02 -0400 Original-Received: from mail-fx0-f210.google.com ([209.85.220.210]:37517) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NsCtV-0007sC-36 for emacs-devel@gnu.org; Thu, 18 Mar 2010 06:24:01 -0400 Original-Received: by fxm2 with SMTP id 2so241335fxm.26 for ; Thu, 18 Mar 2010 03:23:59 -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=ElQx6FS0aMo4EMGoloSc/G+MFAcXN9J5qrnrlxYY7kU=; b=F/sqHsS08kvSWda4PX32UI5Lc0nd8W+vC6iA6Rgv5ozvVAWv/G/ESaMPBnTwclQ3R8 3spNNrVUuxIOd1f8eBwWyItajIPCghAV5FPTPNAU6/6Pn0LDuNmrmtWbLf3nE0A0GCLw foTJYg5zhsfkQdtS/CJzdFNhqo7C6dQYcrVfU= 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=uw+B8n3Y9Q+wrHwolz5VzZ5mJQsQgsLTXjTPppvsqW8cbBvda/5YZjEtyoTE3tnheb NKbTZuVe7BvgocWcmHf5564XJW0KXPbzDRr8Z7SxtiKuQB3xozD3YRpI3ykHp7vVURNt WrJGzkJ4fVnyUI1HHSYrtETOjO2EcavmMAsXo= Original-Received: by 10.239.190.79 with SMTP id w15mr1392745hbh.123.1268907837173; Thu, 18 Mar 2010 03:23:57 -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:122154 Archived-At: On Thu, Mar 18, 2010 at 11:07 AM, Leo wrote: > On 2010-03-18 09:31 +0000, Lennart Borgman wrote: >> On Thu, Mar 18, 2010 at 8:39 AM, Masatake YAMATO wro= te: >>> 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. >>> >>> =C2=A0 =C2=A0 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. At the time I looked at it ert seemed to be the best. I do not remember why now and maybe it is not so important since there are alternatives now. I will not be switching now because the modifications I have made to ert is really what I need. (If however another unit framework gets included in Emacs I will try to switch.) I think those who have been writing new frameworks should be those that answers why they have done so instead of trying to make ert better fit their needs.