From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/70122 Path: news.gmane.org!not-for-mail From: Cecil Westerhof Newsgroups: gmane.comp.tex.context Subject: Re: General suggestion: Unit tests for ConText Date: Tue, 19 Jul 2011 12:28:28 +0200 Message-ID: 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="===============0233778842==" X-Trace: dough.gmane.org 1311071323 21265 80.91.229.12 (19 Jul 2011 10:28:43 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 19 Jul 2011 10:28:43 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Jul 19 12:28:37 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 1Qj7XY-00018e-I0 for gctc-ntg-context-518@m.gmane.org; Tue, 19 Jul 2011 12:28:36 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 53EFACAE4D; Tue, 19 Jul 2011 12:28:36 +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 x+ygDGGEdgiI; Tue, 19 Jul 2011 12:28:33 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 433C5CAE44; Tue, 19 Jul 2011 12:28:33 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 793E8CAE44 for ; Tue, 19 Jul 2011 12:28:31 +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 i8naZAZ4rdWr for ; Tue, 19 Jul 2011 12:28:29 +0200 (CEST) Original-Received: from filter3-til.mf.surf.net (filter3-til.mf.surf.net [194.171.167.219]) by balder.ntg.nl (Postfix) with ESMTP id 950E0CAE11 for ; Tue, 19 Jul 2011 12:28:29 +0200 (CEST) Original-Received: from mail-ew0-f41.google.com (mail-ew0-f41.google.com [209.85.215.41]) by filter3-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p6JASS4l023239 for ; Tue, 19 Jul 2011 12:28:29 +0200 Original-Received: by ewy9 with SMTP id 9so2885057ewy.14 for ; Tue, 19 Jul 2011 03:28:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=ONzCQ7pbANTtfi+R7VDlPPugReT2CNqguNRSViA2HrQ=; b=wQAL8zX3q53gAstYNidDucoH+6+A0FcTpHwE7f8yO6I2Je76cgNcNI2wnj3CvFyr6r xontTDXJrNCesF54vTYpLPNlOryMHPDeKTarl2yI3naxP7LsvybDau3Aejdon0CZu7oZ Ck/Qcz19Wjdg4pwfp5eMduYrfkzTL8g+lMtOs= Original-Received: by 10.14.96.201 with SMTP id r49mr2718981eef.63.1311071308717; Tue, 19 Jul 2011 03:28:28 -0700 (PDT) Original-Received: by 10.14.48.65 with HTTP; Tue, 19 Jul 2011 03:28:28 -0700 (PDT) In-Reply-To: <20110718195148.4fa6e92f@freenet.de> X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.215.41; country=US; region=CA; city=Mountain View; postalcode=94043; latitude=37.4192; longitude=-122.0574; metrocode=807; areacode=650; http://maps.google.com/maps?q=37.4192,-122.0574&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0eF9Kstyh - 52b26868d1eb - 20110719 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.219 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:70122 Archived-At: --===============0233778842== Content-Type: multipart/alternative; boundary=bcaec52be677a19f0104a8699329 --bcaec52be677a19f0104a8699329 Content-Type: text/plain; charset=ISO-8859-1 2011/7/18 Peter Schorsch > during my work with context I wrote a bunch of fewliners mainly to test > how to do things. When there change from mkii to mkiv occured many of > my mini-tests failed and later with the growing of mkiv restartet to > work - some just without adaption.. some with some adjustment to a new > syntax. > > I realize that they have the same functionality like unit-tests - > just instead of comparing classes and variables - a pdf-output is > visually compared. > > So I like to suggest to introduce unit tests for context. It would > > a) increase the quality of context as it makes the > testing easier for the developer > > b) it also would be a great source of minihowtos for learning > context. > > Before I write my technical ideas about this I would like to know what > are you thinking about this idea? > I think it is a great idea. -- Cecil Westerhof --bcaec52be677a19f0104a8699329 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
2011/7/18 Peter Schorsch <<= a href=3D"mailto:tralalas@freenet.de">tralalas@freenet.de>
during my work with context I wrote a bunch of fewliners mainly to test
how to do things. When there change from mkii to mkiv occured many of
my mini-tests failed and later with the growing of mkiv restartet to
work - some just without adaption.. some with some adjustment to a new
syntax.

I realize that they have the same functionality like unit-tests -
just instead of comparing classes and variables - a pdf-output is
visually compared.

So I like to suggest to introduce unit tests for context. It would

=A0 =A0 =A0 =A0a) increase the quality of context as it makes the
=A0 =A0 =A0 =A0testing easier for the developer

=A0 =A0 =A0 =A0b) it also would be a great source of minihowtos for learni= ng
=A0 =A0 =A0 =A0context.

Before I write my technical ideas about this I would like to know what
are you thinking about this idea?

I think it is a = great idea.

--
Cecil Westerhof
--bcaec52be677a19f0104a8699329-- --===============0233778842== 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 ___________________________________________________________________________________ --===============0233778842==--