From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/70092 Path: news.gmane.org!not-for-mail From: Paul Menzel Newsgroups: gmane.comp.tex.context Subject: Re: General suggestion: Unit tests for ConText Date: Mon, 18 Jul 2011 20:03:32 +0200 Message-ID: <1311012212.4760.19.camel@mattotaupa> References: <20110718195148.4fa6e92f@freenet.de> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2064507998==" X-Trace: dough.gmane.org 1311012239 17411 80.91.229.12 (18 Jul 2011 18:03:59 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 18 Jul 2011 18:03:59 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Mon Jul 18 20:03:53 2011 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QisAa-0004E7-Ru for gctc-ntg-context-518@m.gmane.org; Mon, 18 Jul 2011 20:03:52 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id A110BCAE48; Mon, 18 Jul 2011 20:03:51 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id C8jFMM7Ny3uj; Mon, 18 Jul 2011 20:03:47 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 7ECC1CAE3F; Mon, 18 Jul 2011 20:03:47 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 7027BCAE3F for ; Mon, 18 Jul 2011 20:03:46 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id aAkRpWLlIP+k for ; Mon, 18 Jul 2011 20:03:35 +0200 (CEST) Original-Received: from filter2-ams.mf.surf.net (filter2-ams.mf.surf.net [192.87.102.70]) by balder.ntg.nl (Postfix) with ESMTP id 713CBCAB80 for ; Mon, 18 Jul 2011 20:03:35 +0200 (CEST) Original-Received: from mail.gw90.de (mail.gw90.de [188.40.100.199]) by filter2-ams.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p6II3Y8A010691 for ; Mon, 18 Jul 2011 20:03:35 +0200 Original-Received: from f053040145.adsl.alicedsl.de ([78.53.40.145] helo=[192.168.178.21]) by mail.gw90.de with esmtpsa (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1QisB1-0004X7-Sx for ntg-context@ntg.nl; Mon, 18 Jul 2011 18:04:20 +0000 In-Reply-To: <20110718195148.4fa6e92f@freenet.de> X-Mailer: Evolution 2.32.3 X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=188.40.100.199; country=DE; latitude=51.0000; longitude=9.0000; http://maps.google.com/maps?q=51.0000,9.0000&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0rF9u3yh9 - a08a57d4a658 - 20110718 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.70 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:70092 Archived-At: --===============2064507998== Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-F8mL97FxPxZ729sM6Lj9" --=-F8mL97FxPxZ729sM6Lj9 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Dear Peter, Am Montag, den 18.07.2011, 19:51 +0200 schrieb Peter Schorsch: [=E2=80=A6] > I realize that they have the same functionality like unit-tests - > just instead of comparing classes and variables - a pdf-output is > visually compared. >=20 > So I like to suggest to introduce unit tests for context. It would >=20 > a) increase the quality of context as it makes the > testing easier for the developer >=20 > b) it also would be a great source of minihowtos for learning > context. >=20 > Before I write my technical ideas about this I would like to know what > are you thinking about this idea? not being a developer I like that idea very much. Could the PDF output be converted to a picture and some routine be used to determine a difference between the template picture and the created one? Thanks, Paul --=-F8mL97FxPxZ729sM6Lj9 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iEYEABECAAYFAk4kdXQACgkQPX1aK2wOHVg+YACfY8ToPpBmjJ/TnkIybZbLngxW mFoAnRNg2TlPDOGkb5OFgU2CEfUQjMr7 =yG40 -----END PGP SIGNATURE----- --=-F8mL97FxPxZ729sM6Lj9-- --===============2064507998== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ --===============2064507998==--