Koha/xt
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
..
author new test script to help debug template errors 2010-02-14 18:09:33 -05:00
check_sysprefs.t MT2637, Follow-up : Adds a test to check for missing sysprefs in the database 2010-01-28 15:11:56 +01:00
perltidyrc bug: 2269 - adding a perltidyrc file 2008-06-25 11:47:30 -05:00
syspref.t Test case identifying incoherences between 'en' sysprefs and translated ones 2009-08-19 21:56:43 -04:00