From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Stephen J. Turnbull" Newsgroups: gmane.emacs.devel Subject: unit testing [was Re: when emacs 22.1 release will ready?] Date: Tue, 01 May 2007 00:18:57 +0900 Message-ID: <87y7k9hov2.fsf@uwakimon.sk.tsukuba.ac.jp> References: <259495020704291337s35dd584fi3b7ef1dd511b11d4@mail.gmail.com> <4635B7F9.8090909@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1177945766 6504 80.91.229.12 (30 Apr 2007 15:09:26 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 30 Apr 2007 15:09:26 +0000 (UTC) Cc: emacs-devel To: joakim@verona.se Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Apr 30 17:09:22 2007 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.50) id 1HiXVB-0002t0-BJ for ged-emacs-devel@m.gmane.org; Mon, 30 Apr 2007 17:09:21 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HiXbM-0000qK-Re for ged-emacs-devel@m.gmane.org; Mon, 30 Apr 2007 11:15:44 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HiXbJ-0000q5-FG for emacs-devel@gnu.org; Mon, 30 Apr 2007 11:15:41 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HiXbI-0000pt-18 for emacs-devel@gnu.org; Mon, 30 Apr 2007 11:15:40 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HiXbH-0000pq-Ph for emacs-devel@gnu.org; Mon, 30 Apr 2007 11:15:39 -0400 Original-Received: from mtps01.sk.tsukuba.ac.jp ([130.158.97.223]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1HiXV5-0006uO-0r for emacs-devel@gnu.org; Mon, 30 Apr 2007 11:09:15 -0400 Original-Received: from uwakimon.sk.tsukuba.ac.jp (uwakimon.sk.tsukuba.ac.jp [130.158.99.156]) by mtps01.sk.tsukuba.ac.jp (Postfix) with ESMTP id D8A781535AF; Tue, 1 May 2007 00:09:09 +0900 (JST) Original-Received: by uwakimon.sk.tsukuba.ac.jp (Postfix, from userid 1000) id A94801A2964; Tue, 1 May 2007 00:18:58 +0900 (JST) In-Reply-To: X-Mailer: VM 7.17 under 21.5 (beta27) "fiddleheads" (+CVS-20070324) XEmacs Lucid X-detected-kernel: Linux 2.6, seldom 2.4 (older, 4) 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:70409 Archived-At: joakim@verona.se writes: > The problem is of course to get developers interested in creating > unit-test. XEmacs has a unit-test framework, comprising about 100,000 individual tests, which is probably 500 to 1,000 features being tested. Not much, but much better than nothing. You'd have to check with rms / FSF legal dept, but we do have CVS commit records and ChangeLogs, so authorship should be easy to establish with high accuracy. The framework itself probably has at most 5 authors, of whom two surely have assignments on file. Tests themselves are mostly single-author and independent of each other, so you can take only the well-documented and assigned ones. FSF legal would possibly want further documentation, but this might be easier to get than to write a framework and tests from scratch, and would have the advantage that (where papers are available) tests written for XEmacs and SXEmacs would "just work." Any Lisp coder can write simple tests in a couple of minutes.