Following up on this report:
[MERLYN - Mon Dec 22 14:06:05 2003]:
I tried v0.07 on Mac OS X (10.3), running Perl 5.8.4, using Test-Simple-0.62. Here's my
output:
PERL_DL_NONLAZY=1 /usr/local/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0,
'blib/lib', 'blib/arch')" t/*.t
t/00-prerequisites..............................ok
t/01-fallback-libxml............................ok
4/4 skipped: Need Test::Without::Module to test the fallback
t/01-fallback-pureperl..........................ok
4/4 skipped: Need Test::Without::Module to test the fallback
t/01-fallback-xpath.............................ok
4/4 skipped: Need Test::Without::Module to test the fallback
t/01-internal-api...............................ok
t/01-xpath-query-builder........................ok
t/02-tags.......................................ok
t/03-links......................................ok
t/04-comments...................................ok
t/05-doctype....................................ok
t/06-text.......................................ok
t/07-errors.link................................NOK 2
# Failed test 'Finding no link works'
# in t/07-errors.link.t at line 29.
# STDERR is:
#
# # Failed test 'Link failure (no links)'
# # in t/07-errors.link.t at line 28.
# # Expected to find at least one <a> tag(s) matching
# # href =
http://www.perl.com
# # Got none
#
# not:
# # Failed test (t/07-errors.link.t at line 28)
# # Expected to find at least one <a> tag(s) matching
# # href =
http://www.perl.com
# # Got none
#
# as expected
t/07-errors.link................................NOK 3
# Failed test 'Finding no link returns all other links'
# in t/07-errors.link.t at line 48.
# STDERR is:
#
# # Failed test 'Link failure (two links that don't match)'
# # in t/07-errors.link.t at line 46.
# # Expected to find at least one <a> tag(s) matching
# # href =
http://www.perl.com
# # Got
# # <a href='
http://www.foo.com'>
# # <a href='index.html'>
#
# not:
# # Failed test (t/07-errors.link.t at line 46)
# # Expected to find at least one <a> tag(s) matching
# # href =
http://www.perl.com
# # Got
# # <a href='
http://www.foo.com'>
# # <a href='index.html'>
#
# as expected
t/07-errors.link................................NOK 4
# Failed test 'Finding a link where one should be returns all other links'
# in t/07-errors.link.t at line 67.
# STDERR is:
#
# # Failed test 'Link failure (two links shouldn't exist do)'
# # in t/07-errors.link.t at line 65.
# # Expected to find no <a> tag(s) matching
# # href = (?-xism:.)
# # Got
# # <a href='
http://www.foo.com'>
# # <a href='index.html'>
#
# not:
# # Failed test (t/07-errors.link.t at line 65)
# # Expected to find no <a> tag(s) matching
# # href = (?-xism:.)
# # Got
# # <a href='
http://www.foo.com'>
# # <a href='index.html'>
#
# as expected
t/07-errors.link................................NOK 5
# Failed test 'Diagnosing too few links works'
# in t/07-errors.link.t at line 85.
# STDERR is:
#
# # Failed test 'Link failure (too few links)'
# # in t/07-errors.link.t at line 84.
# # Expected to find exactly 3 <a> tag(s) matching
# # href = (?-xism:.)
# # Got
# # <a href='
http://www.foo.com'>
# # <a href='index.html'>
#
# not:
# # Failed test (t/07-errors.link.t at line 84)
# # Expected to find exactly 3 <a> tag(s) matching
# # href = (?-xism:.)
# # Got
# # <a href='
http://www.foo.com'>
# # <a href='index.html'>
#
# as expected
t/07-errors.link................................NOK 6
# Failed test 'Diagnosing too many links works'
# in t/07-errors.link.t at line 107.
# STDERR is:
#
# # Failed test 'Link failure (too many links)'
# # in t/07-errors.link.t at line 106.
# # Expected to find exactly 3 <a> tag(s) matching
# # href = (?-xism:.)
# # Got
# # <a href='
http://www.bar.com'>
# # <a href='
http://www.dot.com'>
# # <a href='
http://www.foo.com'>
# # <a href='index.html'>
#
# not:
# # Failed test (t/07-errors.link.t at line 106)
# # Expected to find exactly 3 <a> tag(s) matching
# # href = (?-xism:.)
# # Got
# # <a href='
http://www.bar.com'>
# # <a href='
http://www.dot.com'>
# # <a href='
http://www.foo.com'>
# # <a href='index.html'>
#
# as expected
t/07-errors.link................................FAILED tests 2-6
Failed 5/6 tests, 16.67% okay
t/08-errors.comment.............................NOK 2
# Failed test 'Finding no comment works'
# in t/08-errors.comment.t at line 28.
# STDERR is:
#
# # Failed test 'Comment failure (no comments)'
# # in t/08-errors.comment.t at line 27.
# # No comment found at all
# # Expected at least one comment like 'hidden message'
#
# not:
# # Failed test (t/08-errors.comment.t at line 27)
# # No comment found at all
# # Expected at least one comment like 'hidden message'
#
# as expected
t/08-errors.comment.............................NOK 3
# Failed test 'Finding no comment returns all other comments'
# in t/08-errors.comment.t at line 42.
# STDERR is:
#
# # Failed test 'Comment failure (nonmatching comments)'
# # in t/08-errors.comment.t at line 40.
# # Saw '<!-- hidden massage -->'
# # Saw '<!-- hidden massage -->'
# # Saw '<!-- hidden massage -->'
# # Expected at least one comment like 'hidden message'
#
# not:
# # Failed test (t/08-errors.comment.t at line 40)
# # Saw '<!-- hidden massage -->'
# # Saw '<!-- hidden massage -->'
# # Saw '<!-- hidden massage -->'
# # Expected at least one comment like 'hidden message'
#
# as expected
t/08-errors.comment.............................NOK 4
# Failed test 'Finding a comment where none should be returns all comments'
# in t/08-errors.comment.t at line 55.
# STDERR is:
#
# # Failed test 'Comment failure (two comments that shouldn't exist do)'
# # in t/08-errors.comment.t at line 53.
# # Saw '<!-- hidden massage -->'
# # Saw '<!-- hidden massage -->'
# # Expected no comment like '(?-xism:hidden m.ssage)'
#
# not:
# # Failed test (t/08-errors.comment.t at line 53)
# # Saw '<!-- hidden massage -->'
# # Saw '<!-- hidden massage -->'
# # Expected no comment like '(?-xism:hidden m.ssage)'
#
# as expected
t/08-errors.comment.............................NOK 5
# Failed test 'Diagnosing too few comments works'
# in t/08-errors.comment.t at line 68.
# STDERR is:
#
# # Failed test 'Comment failure (too few comments)'
# # in t/08-errors.comment.t at line 66.
# # Saw '<!-- hidden massage -->'
# # Saw '<!-- hidden massage -->'
# # Expected exactly 3 comments like '(?-xism:hidden m.ssage)'
#
# not:
# # Failed test (t/08-errors.comment.t at line 66)
# # Saw '<!-- hidden massage -->'
# # Saw '<!-- hidden massage -->'
# # Expected exactly 3 comments like '(?-xism:hidden m.ssage)'
#
# as expected
t/08-errors.comment.............................NOK 6
# Failed test 'Diagnosing too many comments works'
# in t/08-errors.comment.t at line 81.
# STDERR is:
#
# # Failed test 'Comment failure (too few comments)'
# # in t/08-errors.comment.t at line 79.
# # Saw '<!-- hidden massage -->'
# # Saw '<!-- hidden massage -->'
# # Expected exactly 1 comments like '(?-xism:hidden m.ssage)'
#
# not:
# # Failed test (t/08-errors.comment.t at line 79)
# # Saw '<!-- hidden massage -->'
# # Saw '<!-- hidden massage -->'
# # Expected exactly 1 comments like '(?-xism:hidden m.ssage)'
#
# as expected
t/08-errors.comment.............................FAILED tests 2-6
Failed 5/6 tests, 16.67% okay
t/09-errors.declaration.........................ok
t/09-errors.xpath...............................ok
6/7 skipped: Need XPath functionality to test it
t/10-errors.text................................NOK 2
# Failed test 'Empty document gets reported'
# in t/10-errors.text.t at line 31.
# STDERR is:
#
# # Failed test 'Text failure (empty document)'
# # in t/10-errors.text.t at line 22.
# # No text found at all
# # Expected at least one text element like 'Perl'
#
# not:
# # Failed test (t/10-errors.text.t at line 22)
# # No text found at all
# # Expected at least one text element like 'Perl'
#
# as expected
t/10-errors.text................................NOK 3
# Failed test 'Empty document gets reported'
# in t/10-errors.text.t at line 31.
# STDERR is:
#
# # Failed test 'Text failure (empty document)'
# # in t/10-errors.text.t at line 22.
# # No text found at all
# # Expected at least one text element like 'Perl'
#
# not:
# # Failed test (t/10-errors.text.t at line 22)
# # No text found at all
# # Expected at least one text element like 'Perl'
#
# as expected
t/10-errors.text................................FAILED tests 2-3
Failed 2/3 tests, 33.33% okay
t/12-title-fallback.............................ok
6/13 skipped: XML::LibXML or XML::XPath not loaded
t/12-title......................................ok
6/7 skipped: XML::XPath or XML::LibXML is needed for title testing
t/13-xpath-gracefull-errors.....................ok
2/4 skipped: XML::XPath or XML::LibXML required
t/99-manifest...................................ok
t/99-Pod........................................ok
t/99-todo.......................................ok
t/99-unix-text..................................ok
t/embedded-Test-HTML-Content-NoXPath............ok
t/embedded-Test-HTML-Content-XPathExtensions....ok
t/embedded-Test-HTML-Content....................ok
Failed Test Stat Wstat Total Fail Failed List of Failed
------------------------------------------------------------------------------
-
t/07-errors.link.t 6 5 83.33% 2-6
t/08-errors.comment.t 6 5 83.33% 2-6
t/10-errors.text.t 3 2 66.67% 2-3
32 subtests skipped.
Failed 3/26 test scripts, 88.46% okay. 12/264 subtests failed, 95.45% okay.
make: *** [test_dynamic] Error 2
/usr/bin/make test -- NOT OK