http://qs1969.pair.com?node_id=1060005


in reply to Re: How to test all TT2 tags are escaped.
in thread How to test all TT2 tags are escaped.

Thanks, that looks very promising

It looks like I can use your code in a test script to just load each template file in turn, and get a report of any non escaped variables. I can then call that test script from my commit hook and test suite.

How compatible is Template::Alloy with TT2? Seeing as it will only be used for tests it does not have to be perfect, so long as it does not barf and crash over TT2 macros or suchlike.

Thanks a lot.