Koha/xt/author
Galen Charlton 9c7d9b0934 new test script to help debug template errors
From the POD:

NAME

show-template-structure.pl

DESCRIPTION

This script displays the structure of loops and conditional statements in
an HTML::Template::Pro template, and is an aid for debugging errors
reported by the xt/author/valid-templates.t test.  It also identifies the
following errors:

* TMPL_IF/TMPL_UNLESS/TMPL_LOOP with no closing tag
* TMPL_ELSE with no initial TMPL_IF or TMPL_UNLESS
* extra closing tags
* HTML comment of the form <!-- TMPL_FOO ..., where TMPL_FOO is not a valid HTML::Template::Pro tag

USAGE

xt/author/show-template-structure.pl path/to/template.tmpl

Output is sent to STDOUT.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-02-14 18:09:33 -05:00
..
icondirectories.t bug 2295 [followup 1/2]: added name to one of tests in icondirectories.t 2008-07-07 16:32:32 -05:00
pod_spell.t adding pod spelling test 2008-07-10 09:10:40 -05:00
podcorrectness.t Adding an automated test for POD correctness. 2008-06-20 13:04:56 -05:00
show-template-structure.pl new test script to help debug template errors 2010-02-14 18:09:33 -05:00
test_template.pl new author test for syntax errors in HTML templates 2009-05-01 16:21:47 -05:00
Text_CSV_Various.t moved Test_CSV_Various.t to xt/author 2008-11-17 10:19:43 -06:00
translatable-templates.t new automated test for template translatability 2008-06-23 10:34:31 -05:00
valid-templates.t new author test for syntax errors in HTML templates 2009-05-01 16:21:47 -05:00