Subject: | Compatibility with Test::Unit v 0.25 |
Date: | Mon, 7 May 2007 15:44:44 +0000 |
To: | <bug-test-unit-runner-xml [...] rt.cpan.org> |
From: | Ammar Hasan <ammar1310 [...] hotmail.com> |
Test Runner XML is not working
Environment:
Windows XP/ Active Perl 5.8.8/ Test::Unit version 0.25
All I am using are sample commands from both distributions and i am wondering if the Runner::XML volunteers have smoke tested it with current versions of Test::Unit and Active perl stated above.
I inserted the sample run script from Test::Unit::Runner::XML v 0.01 into sample TestRunner.pl from Test::Unit version 0.25 but the runner gave me this error:
==============TestRunner.pl=============================
#!/usr/bin/perl -w
use strict;
use Test::Unit::Debug qw(debug_pkgs);use Test::Unit::TestRunner;
# Uncomment and edit to debug individual packages.#debug_pkgs(qw/Test::Unit::TestCase/);
#my $testrunner = Test::Unit::TestRunner->new();#$testrunner->start(@ARGV);
use Test::Unit::Runner::XML;
mkdir("test_reports");my $runner = Test::Unit::Runner::XML->new("test-reports");$runner->start(@ARGV);exit(!$runner->all_tests_passed());
==========================================================
=============Command Line Command==========================
C:\Documents and Settings\ahasan\Desktop\Test-Unit-0.25>perl -w -I./t/tlib TestRunner.pl AllTestsCan't locate object method "run" via package "AllTests" (perhaps you forgot to load "AllTests"?) at C:/Perl/site/lib/Test/Unit/Runner/XML.pm line 39.
===========================================================
Show quoted text
_________________________________________________________________
Connect to the next generation of MSN Messenger
http://imagine-msn.com/messenger/launch80/default.aspx?locale=en-us&source=wlmailtagline