in reply to TODO blocks for Test::XML, and in general
Can you add the actual output and what you expect the output to be? For example, on my machine, I get:
#$ perl -MTest::More -e 'plan "no_plan";TODO:{local $TODO="foo bar"; f +ail("blog");}' not ok 1 - blog # TODO foo bar # Failed (TODO) test 'blog' # at -e line 1. 1..1
This is a valid TODO test (and a harness would mark the test suite as passed, even though it looks like it has failed). I don't have Test::XML::XPath installed, so just in case this is more of a case of improper expectations, pasting what you are seeing might help.
--MidLifeXis
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: TODO blocks for Test::XML, and in general
by nglenn (Beadle) on Sep 04, 2012 at 17:31 UTC | |
by MidLifeXis (Monsignor) on Sep 04, 2012 at 18:18 UTC | |
by nglenn (Beadle) on Sep 04, 2012 at 19:49 UTC |
In Section
Seekers of Perl Wisdom