| 1 |
This directory contains unit test scripts for the LaTeX::Driver module. |
| 2 |
|
| 3 |
The test scripts invoke the module to format documents in |
| 4 |
subdirectories of the testdata directory. Each subdirectory |
| 5 |
corresponds to a single test script (so 14-makeindex.t uses the files |
| 6 |
in testdata/14-makeindex.t, with the main LaTeX file being |
| 7 |
14-makeindex.tex). The subdirectory should be cleaned out at the start |
| 8 |
of the test script and again at the end of the script. |
| 9 |
|
| 10 |
The test documents are structured so that they each test an aspect of |
| 11 |
LaTeX formatting and the test scripts look for a series of patterns in |
| 12 |
the generated dvi files. The function test_dvifile uses the dvitype |
| 13 |
program if found to extract the strings from a DVI file. |
| 14 |
|
| 15 |
|
| 16 |
TODO |
| 17 |
==== |
| 18 |
|
| 19 |
write test scripts to cover |
| 20 |
|
| 21 |
* included graphics |
| 22 |
|
| 23 |
* documents with errors (in progress) |
| 24 |
|
| 25 |
* test generation of PDF and PostScript files |
| 26 |
|
| 27 |
|
| 28 |
|