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 q7DGDeuB016108 for ; Mon, 13 Aug 2012 18:13:41 +0200 Received: (qmail 16453 invoked by alias); 13 Aug 2012 16:13:35 -0000 Delivered-To: GMX delivery to rainer.schoepf@gmx.net Received: (qmail invoked by alias); 13 Aug 2012 16:13:35 -0000 Received: from relay.uni-heidelberg.de (EHLO relay.uni-heidelberg.de) [129.206.100.212] by mx0.gmx.net (mx074) with SMTP; 13 Aug 2012 18:13:35 +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 q7DGBc3Z009989 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 13 Aug 2012 18:11:38 +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 q7DEAtSF008220; Mon, 13 Aug 2012 18:11:38 +0200 Received: by LISTSERV.UNI-HEIDELBERG.DE (LISTSERV-TCP/IP release 16.0) with spool id 2709078 for LATEX-L@LISTSERV.UNI-HEIDELBERG.DE; Mon, 13 Aug 2012 18:11:38 +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 q7DGBcrk001410 for ; Mon, 13 Aug 2012 18:11:38 +0200 Received: from mail-vc0-f177.google.com (mail-vc0-f177.google.com [209.85.220.177]) by relay.uni-heidelberg.de (8.14.1/8.14.1) with ESMTP id q7DGBYBn009972 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=FAIL) for ; Mon, 13 Aug 2012 18:11:37 +0200 Received: by vcbfl13 with SMTP id fl13so5080088vcb.22 for ; Mon, 13 Aug 2012 09:11:33 -0700 (PDT) MIME-Version: 1.0 Received: by 10.58.239.232 with SMTP id vv8mr9702329vec.37.1344874293823; Mon, 13 Aug 2012 09:11:33 -0700 (PDT) Received: by 10.58.226.198 with HTTP; Mon, 13 Aug 2012 09:11:33 -0700 (PDT) References: <502502DA.7050009@gmail.com> <5029052A.2090507@gmail.com> 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 q7DGBcrk001411 Message-ID: Date: Mon, 13 Aug 2012 12:11:33 -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: <5029052A.2090507@gmail.com> 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: 7121 On Mon, Aug 13, 2012 at 9:46 AM, Paulo Roberto Massa Cereda wrote: >>> One possibility is to have a test spec, so we can have a "generic" >>> test infrastructure which reads this spec and "knows" how to perform >>> a certain analysis. >> >> Can you elaborate? Currently we simply run some functions, and check >> the output. > > I was just thinking out loud. :) I was thinking of a input format, say > written in XML (/me looks at David) or another markup language, with a list > of assertions, e.g, (sorry I don't know the innards of the tests neither L3 > sutff) > > > > or something similar. To test a certain code snippet, a single test spec > would suffice. That looks to me like the technique of qstest’s `\Expect` macro. --Joel