From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/70091 Path: news.gmane.org!not-for-mail From: Peter Schorsch Newsgroups: gmane.comp.tex.context Subject: General suggestion: Unit tests for ConText Date: Mon, 18 Jul 2011 19:51:48 +0200 Message-ID: <20110718195148.4fa6e92f@freenet.de> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1311011536 12924 80.91.229.12 (18 Jul 2011 17:52:16 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 18 Jul 2011 17:52:16 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Mon Jul 18 19:52:12 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 1QirzG-0007pt-Nm for gctc-ntg-context-518@m.gmane.org; Mon, 18 Jul 2011 19:52:10 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 826A7CAE4D; Mon, 18 Jul 2011 19:52:09 +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 2CeotokEngo3; Mon, 18 Jul 2011 19:52:09 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 10273CAE44; Mon, 18 Jul 2011 19:52:04 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id DC04ECAE44 for ; Mon, 18 Jul 2011 19:52:02 +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 faWnTRCZAS9u for ; Mon, 18 Jul 2011 19:51:52 +0200 (CEST) Original-Received: from filter4-nij.mf.surf.net (filter4-nij.mf.surf.net [195.169.124.155]) by balder.ntg.nl (Postfix) with ESMTP id 04200CAE3F for ; Mon, 18 Jul 2011 19:51:52 +0200 (CEST) Original-Received: from mout8.freenet.de (mout8.freenet.de [IPv6:2001:748:100:40::2:a]) by filter4-nij.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p6IHpo8c005840 for ; Mon, 18 Jul 2011 19:51:51 +0200 Original-Received: from [195.4.92.27] (helo=17.mx.freenet.de) by mout8.freenet.de with esmtpa (ID tralalas@freenet.de) (port 25) (Exim 4.76 #5) id 1Qiryw-0002t1-K7 for ntg-context@ntg.nl; Mon, 18 Jul 2011 19:51:50 +0200 Original-Received: from [31.18.179.211] (port=35693 helo=freenet.de) by 17.mx.freenet.de with esmtpsa (ID tralalas@freenet.de) (TLSv1:AES128-SHA:128) (port 25) (Exim 4.72 #5) id 1Qiryv-0002jW-TG for ntg-context@ntg.nl; Mon, 18 Jul 2011 19:51:50 +0200 X-Mailer: Claws Mail 3.7.8 (GTK+ 2.24.4; i686-pc-linux-gnu) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=2001:748:100:40::2:a; country=DE X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 04F9tPPrt - c270d4931d14 - 20110718 X-Scanned-By: CanIt (www . roaringpenguin . com) on IPv6:2001:610:0:800e:195:169:124:155 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:70091 Archived-At: Hi, 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? ___________________________________________________________________________________ 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 ___________________________________________________________________________________