| 1 |
This is the public release of the qstest bundle |
| 2 |
(written for DocScape Publisher <URL:http://www.docscape.de>) |
| 3 |
(C) 2006, 2007 QuinScape GmbH <URL:http://www.quinscape.de> |
| 4 |
|
| 5 |
This software comes without warranty of any kind. |
| 6 |
|
| 7 |
The TeX source files are licensed under the LPPL version 1.3 or later, |
| 8 |
see the individual files for details. Generated files refer to the |
| 9 |
license of their respective source. Makefile and this README may be |
| 10 |
freely used, modified and copied. |
| 11 |
|
| 12 |
The bundle contains the packages `makematch' for matching patterns to |
| 13 |
targets (with a generalization in the form of pattern lists and |
| 14 |
keyword lists), and `qstest' for performing unit tests, allowing to |
| 15 |
run a number of logged tests ensuring the consistency of values, |
| 16 |
properties and call sequences during execution of test code. Both |
| 17 |
packages make extensive use of qstest in their package documentation, |
| 18 |
providing illustrated examples that are automatically verified to work |
| 19 |
as expected. |
| 20 |
|
| 21 |
For efficiency and feature completeness reasons, both styles require |
| 22 |
the use of an eTeX-based engine for LaTeX, as recommended by the LaTeX |
| 23 |
team for some years (while the source code provides a way of producing |
| 24 |
files for a non-eTeX setup, this is discouraged, untested, not feature |
| 25 |
complete, not supported by Makefile and author). |
| 26 |
|
| 27 |
Files in the bundle: |
| 28 |
|
| 29 |
Makefile: this contains rules for managing unpacking, testing, and |
| 30 |
installing the bundle in TDS-compliant trees. Interesting targets are |
| 31 |
all generated files, "test", and "install". |
| 32 |
|
| 33 |
qstest.ins: installer file. Running |
| 34 |
tex qstest.ins |
| 35 |
will unpack the packages (but not their driver files) right into the |
| 36 |
target tree if your docstrip is configured for it. If you want to |
| 37 |
unpack into the current directory instead (and avoid getting asked |
| 38 |
whether you want to overwrite old files, as is desirable for working |
| 39 |
with the program `make'), you can do so by instead running |
| 40 |
tex "\let\Make=y \input qstest.ins" |
| 41 |
Should qstest.ins be missing, you can use (or look at) the Makefile |
| 42 |
for regenerating it. |
| 43 |
|
| 44 |
makematch.dtx: documented source of makematch.sty. Running this |
| 45 |
document through LaTeX will give you the documentation of the package, |
| 46 |
but without the documented package source. |
| 47 |
|
| 48 |
qstest.dtx: documented source of qstest.sty. Running this document |
| 49 |
through LaTeX will give you the documentation of the package, but |
| 50 |
without the documented package source. |
| 51 |
|
| 52 |
|
| 53 |
The following files are also placed on CTAN for informational |
| 54 |
purposes; as part of a TeX installation it would usually be preferable |
| 55 |
to rather install DVI files with full source code listing, generated |
| 56 |
by running latex on the files of form *.drv (see below): |
| 57 |
|
| 58 |
qstest.pdf: the result of running PDFLaTeX on qstest.dtx, namely the |
| 59 |
documentation for the qstest package without source code listing. |
| 60 |
|
| 61 |
makematch.pdf: the result of running PDFLaTeX on qstest.dtx, namely |
| 62 |
the documentation for the makematch package without source code |
| 63 |
listing. |
| 64 |
|
| 65 |
|
| 66 |
The following files will be unpacked by qstest.ins: |
| 67 |
|
| 68 |
makematch.sty: this package matches pattern lists with wildcards to |
| 69 |
keyword lists. |
| 70 |
|
| 71 |
makematch.drv: this file can be run through LaTeX in order to generate |
| 72 |
the documentation for the makematch package including the full |
| 73 |
documented source code. |
| 74 |
|
| 75 |
qstest.sty: this package allows one to perform unit tests and check |
| 76 |
for values, definitions and macro call sequences to meet expectations. |
| 77 |
Call sequences are specified with a syntax reminiscent of regular |
| 78 |
expressions. |
| 79 |
|
| 80 |
qstest.drv: this file can be run through LaTeX in order to generate |
| 81 |
the documentation for the qstest package including the full documented |
| 82 |
source code. |
| 83 |
|
| 84 |
makematch-qs.tex: a standalone unit test of makematch.sty, to be run |
| 85 |
through LaTeX. |
| 86 |
|
| 87 |
qstest-qs.tex: a standalone unit test of qstest.sty, to be run |
| 88 |
through LaTeX. |
| 89 |
|
| 90 |
|
| 91 |
David Kastrup <[email protected]> |
| 92 |
QuinScape GmbH |
| 93 |
http://www.QuinScape.de |