X: I am writing something that uses Dancer2 and Template::Toolkit to produce HTML. I want to write tests along the lines of "is the fourth column of the third row of the second table what I expect?".
I'd use XML::XPath for that. XPATH expressions are straight-forward, the element hierarchy is the xpath itself, and elements can be indexed.
In reply to Re: Testing generated HTML
by shmem
in thread [Solved] Testing generated HTML
by davies
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |