Received: from mx0.gmx.net (mx0.gmx.net [213.165.64.100]) by h1439878.stratoserver.net (8.14.2/8.14.2/Debian-2build1) with SMTP id q78KWplV020374 for ; Wed, 8 Aug 2012 22:32:52 +0200 Received: (qmail 5563 invoked by alias); 8 Aug 2012 20:32:46 -0000 Delivered-To: GMX delivery to rainer.schoepf@gmx.net Received: (qmail invoked by alias); 08 Aug 2012 20:32:45 -0000 Received: from relay.uni-heidelberg.de (EHLO relay.uni-heidelberg.de) [129.206.100.212] by mx0.gmx.net (mx064) with SMTP; 08 Aug 2012 22:32:45 +0200 Received: from listserv.uni-heidelberg.de (listserv.uni-heidelberg.de [129.206.100.94]) by relay.uni-heidelberg.de (8.14.1/8.14.1) with ESMTP id q78KUD9X024050 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 8 Aug 2012 22:30:14 +0200 Received: from listserv.uni-heidelberg.de (listserv.uni-heidelberg.de [127.0.0.1]) by listserv.uni-heidelberg.de (8.13.8/8.13.1) with ESMTP id q78CSa9Z008220; Wed, 8 Aug 2012 22:30:14 +0200 Received: by LISTSERV.UNI-HEIDELBERG.DE (LISTSERV-TCP/IP release 16.0) with spool id 2603975 for LATEX-L@LISTSERV.UNI-HEIDELBERG.DE; Wed, 8 Aug 2012 22:30:14 +0200 Received: from relay.uni-heidelberg.de (relay.uni-heidelberg.de [129.206.100.212]) by listserv.uni-heidelberg.de (8.13.8/8.13.1) with ESMTP id q78KUE26021797 for ; Wed, 8 Aug 2012 22:30:14 +0200 Received: from mail-vb0-f49.google.com (mail-vb0-f49.google.com [209.85.212.49]) by relay.uni-heidelberg.de (8.14.1/8.14.1) with ESMTP id q78KU43G024012 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=FAIL) for ; Wed, 8 Aug 2012 22:30:08 +0200 Received: by vbbfo1 with SMTP id fo1so1573906vbb.22 for ; Wed, 08 Aug 2012 13:30:03 -0700 (PDT) MIME-Version: 1.0 Received: by 10.220.214.208 with SMTP id hb16mr14916433vcb.56.1344457803791; Wed, 08 Aug 2012 13:30:03 -0700 (PDT) Received: by 10.58.124.136 with HTTP; Wed, 8 Aug 2012 13:30:03 -0700 (PDT) References: <5022BFB4.1090800@latex-project.org> Content-Type: text/plain; charset=UTF-8 X-Spam-Whitelist: Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by listserv.uni-heidelberg.de id q78KUE26021798 Message-ID: Date: Wed, 8 Aug 2012 16:30:03 -0400 Reply-To: Mailing list for the LaTeX3 project Sender: Mailing list for the LaTeX3 project From: "Joel C. Salomon" Subject: Re: Examples of l3doc & unit testing? To: LATEX-L@listserv.uni-heidelberg.de In-Reply-To: <5022BFB4.1090800@latex-project.org> Precedence: list List-Help: , List-Unsubscribe: List-Subscribe: List-Owner: List-Archive: X-GMX-Antispam: 0 (BackTrace mail analyze); Detail=5D7Q89H36p4L00VTXC6D4q0N+AH0PUCnGL2vqOgpaBYL16oitsMrgDt/NQNpSCZFFjDOy 97xb7Zpf+wZnd5ZXNcvLDXR3Wg3wRjdQbwEMh8=V1; X-Resent-By: Forwarder X-Resent-For: rainer.schoepf@gmx.net X-Resent-To: rainer@rainer-schoepf.de Status: R X-Status: X-Keywords: X-UID: 7110 On Wed, Aug 8, 2012 at 3:36 PM, Frank Mittelbach wrote: > Am 08.08.2012 19:34, schrieb Joel C. Salomon: > >> Is there a simple example somewhere of the use of l3doc’s \TestFiles, >> \UnitTested, & \TestMissing commands? What sort of unit-tests are >> these meant to document? >> >> (Or are these just meant to be dumb pointers to arbitrary kinds of >> unit testing?) > > they are meant to document how much testing has been written in the > regression test suite. The idea being that each interface function gets > tested on standard and boundary cases (in the ./testfiles directories). > > but nothing scientific about really. It always depended on how well people > wrote and write tests. Now at some point we did some attempt to sort out > where we have tests and where we are still missing them. > > There is some support in the make file for this "make checktest" > > but we didn't quite got this properly going (yet) And on Wed, Aug 8, 2012 at 3:54 PM, Joseph Wright wrote: > Frank has covered what the idea is here. To see the tests themselves, > take a look at the GitHub site: the tests don't go to CTAN. Thank you both. I'll have to see whether & how to adapt that model to my own programming style. And since there's nothing l3-specific going on, I can get tips on writing effective unit tests elsewhere (read: on TeX.SX) without distracting this list. ;-) (There shouldn't be any funny interactions between l3doc and qstest, right?) —Joel