ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Paul Menzel <paulepanter@users.sourceforge.net>
To: ntg-context@ntg.nl
Subject: Re: General suggestion: Unit tests for ConText
Date: Mon, 18 Jul 2011 20:03:32 +0200	[thread overview]
Message-ID: <1311012212.4760.19.camel@mattotaupa> (raw)
In-Reply-To: <20110718195148.4fa6e92f@freenet.de>


[-- Attachment #1.1: Type: text/plain, Size: 847 bytes --]

Dear Peter,


Am Montag, den 18.07.2011, 19:51 +0200 schrieb Peter Schorsch:

[…]

> 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?

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

[-- Attachment #1.2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

  reply	other threads:[~2011-07-18 18:03 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-18 17:51 Peter Schorsch
2011-07-18 18:03 ` Paul Menzel [this message]
2011-07-18 23:20 ` Hans Hagen
2011-07-19 10:30   ` Cecil Westerhof
2011-07-19 10:28 ` Cecil Westerhof

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1311012212.4760.19.camel@mattotaupa \
    --to=paulepanter@users.sourceforge.net \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).