From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: joakim@verona.se Newsgroups: gmane.emacs.devel Subject: Re: unit test framework Date: Tue, 13 Apr 2010 12:32:39 +0200 Message-ID: References: <20100318.163911.560917315840337376.yamato@redhat.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1271154804 20053 80.91.229.12 (13 Apr 2010 10:33:24 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 13 Apr 2010 10:33:24 +0000 (UTC) Cc: Nikolaj Schumacher , web@shellarchive.co.uk, Lennart Borgman , 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 Tue Apr 13 12:33:18 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 1O1dQj-0002ww-KK for ged-emacs-devel@m.gmane.org; Tue, 13 Apr 2010 12:33:17 +0200 Original-Received: from localhost ([127.0.0.1]:38689 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O1dQj-0006C0-1Z for ged-emacs-devel@m.gmane.org; Tue, 13 Apr 2010 06:33:17 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O1dQb-0006BN-3A for emacs-devel@gnu.org; Tue, 13 Apr 2010 06:33:09 -0400 Original-Received: from [140.186.70.92] (port=43511 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O1dQV-0006A0-LO for emacs-devel@gnu.org; Tue, 13 Apr 2010 06:33:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O1dQP-00007t-Hi for emacs-devel@gnu.org; Tue, 13 Apr 2010 06:33:00 -0400 Original-Received: from iwfs.imcode.com ([82.115.149.64]:37525 helo=gate.verona.se) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O1dQO-00006R-Ux for emacs-devel@gnu.org; Tue, 13 Apr 2010 06:32:57 -0400 Original-Received: from localhost.localdomain (IDENT:1005@localhost [127.0.0.1]) by gate.verona.se (8.13.4/8.11.4) with ESMTP id o3DAWdlp026675; Tue, 13 Apr 2010 12:32:39 +0200 In-Reply-To: (Stefan Monnier's message of "Tue, 23 Mar 2010 10:22:17 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.90 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4-2.6 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:123563 Archived-At: Stefan Monnier writes: >> I write try to write unit tests for my elisp, and it would be much >> easier if there was a canonical unit test framework in Emacs. > > Yes, that's the intention. We should pick one and run with it. > The choice doesn't have to be "the very best", but it should aim for: > - simple&clean code, easy to maintain&extend. > - well maintained with a maintainer interested in taking a lead helping > us integrate it into Emacs. > > > Stefan I've now tested "elunit" and converted to "ert". So far I prefer "ert" because its available in ELPA, and the report looks like the ones I'm used to get with JUnit or something similar. OTOH none of the packages reported exactly where in my code my errors where. "ert" was slightly better tough. Just my =A40.02, to get the thread going again. Again, to quote Stefan, we should just pick something and run with it. I'm sure Emacs will improve from it. --=20 Joakim Verona