From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Tom Breton (Tehom)" Subject: Test-file naming conventions - mine and suggested for org Date: Mon, 17 May 2010 21:01:51 -0400 Message-ID: <519bd899d41d1f97d0b7638ad2b702da.squirrel@mail.panix.com> References: <047c96c5361a8739fc4e8bb94abeef8e.squirrel@mail.panix.com> <736AEF85-4B24-41A0-8701-A2585CBDB4C7@gmail.com> Mime-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: Received: from [140.186.70.92] (port=33335 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OEBC0-0003EP-VL for emacs-orgmode@gnu.org; Mon, 17 May 2010 21:02:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OEBBv-0002ID-Oe for emacs-orgmode@gnu.org; Mon, 17 May 2010 21:01:56 -0400 Received: from mail1.panix.com ([166.84.1.72]:62500) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OEBBv-0002I6-CA for emacs-orgmode@gnu.org; Mon, 17 May 2010 21:01:51 -0400 In-Reply-To: <736AEF85-4B24-41A0-8701-A2585CBDB4C7@gmail.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Carsten Dominik Cc: emacs-orgmode@gnu.org In developing emtest, I've given some thought to conventions for test files. My convention is that: * tests of foo.el go into foo/tests.el * With feature name foo/tests * Any shared testhelp goes into foo/testhelp.el * With feature name foo/testhelp * Example files go in foo/examples/ * Alternative, they can all be placed in another directory hierarchy, like "org/testing/foo/tests.el" as long as "org/testing" is in the load-path (emacs doesn't know the difference). I welcome any comments on this convention. I considered it carefully; I wrote a small document considering the alternatives and chose this as best. But it's young enough that it could be changed, were strong arguments made towards some alternative. Tom Breton (Tehom)