A few test cases are failing in Release Branch as well as trunk branch.
I am creating this bug to track the failures.
As of today (02/Dec/2008) - 1297 of 1309 test cases passed
e.g. 12 cases are failing.
--
TWiki:Main/SopanShewale - 02 Dec 2008
A few cases fixed
Current score is - 1302 of 1309 test cases passed
e.g. 7 cases failing
--
TWiki:Main/SopanShewale - 02 Dec 2008
A few test cases depend on test environment (e.g. if test box not connected to internet then my $response = TWiki::Func::getExternalResource('http://develop.twiki.org'); will definitely give "500" and not 200 so $this->assert_equals(200, $response->code());
is bound to fail.
Anyway - current score is: 1303 of 1309 test cases passed
Currently i am facing with
6 failures
SemiAutomaticTestCaseTests::test_TestCaseAutoFormattedSearch
TestCaseAutoFormattedSearch FAILED - output in TestCaseAutoFormattedSearch.html and TestCaseAutoFormattedSearch_run.html at /var/www/dev424/test/unit/SemiAutomaticTestCaseTests.pm line 61
SemiAutomaticTestCaseTests::run_testcase('SemiAutomaticTestCaseTests=HASH(0xb1d3f68)', 'TestCaseAutoFormattedSearch') called at /var/www/dev424/test/unit/SemiAutomaticTestCaseTests.pm line 32
SemiAutomaticTestCaseTests::__ANON__('SemiAutomaticTestCaseTests=HASH(0xb1d3f68)') called at /var/www/dev424/lib/Unit/TestRunner.pm line 49
Unit::TestRunner::__ANON__() called at /var/www/dev424/lib/CPAN/lib/Error.pm line 379
eval {...} called at /var/www/dev424/lib/CPAN/lib/Error.pm line 371
Error::subs::try('CODE(0xb158104)', 'HASH(0xb32a300)') called at /var/www/dev424/lib/Unit/TestRunner.pm line 55
Unit::TestRunner::start('Unit::TestRunner=HASH(0x85a35e8)', 'TWikiSuite.pm') called
---------------------------
*** Failed to use EditTablePluginTests: Bareword "Unit::Response" not allowed while "strict subs" in use at /var/www/dev424/twikiplugins/EditTablePlugin/test/unit/EditTablePlugin/EditTablePluginTests.pm line 356.
Compilation failed in require at (eval 495793) line 2.
BEGIN failed--compilation aborted at (eval 495793) line 2.
---------------------------
WysiwygPluginTests::test_save_utf_8d
Cannot decode string with wide characters at /usr/lib/perl5/5.8.8/i386-linux-thread-multi/Encode.pm line 166.
---------------------------
WysiwygPluginTests::test_save_utf_8a
Cannot decode string with wide characters at /usr/lib/perl5/5.8.8/i386-linux-thread-multi/Encode.pm line 166.
---------------------------
WysiwygPluginTests::test_save_utf_8e
Cannot decode string with wide characters at /usr/lib/perl5/5.8.8/i386-linux-thread-multi/Encode.pm line 166.
---------------------------
WysiwygPluginTests::test_save_utf_8b
Cannot decode string with wide characters at /usr/lib/perl5/5.8.8/i386-linux-thread-multi/Encode.pm line 166.
1303 of 1309 test cases passed
--
TWiki:Main/SopanShewale - 02 Dec 2008
The summary is:
- One failure from EditTablePlugin - this is because Bareword "Unit::Response" not allowed while "strict subs" - Unit::Response is not yet part of Release Branch...
- One failure in SemiAutomaticTestCaseTests.pm
- Six failures in WysiwygPlugin - could be issue with my own Test Environment - error is Cannot decode string with wide characters at /usr/lib/perl5/5.8.8/i386-linux-thread-multi/Encode.pm line 166.
--
TWiki:Main/SopanShewale - 02 Dec 2008
All test Cases from WysiwygPlugin pass with recent version 2.26 of Encode Perl module.
--
TWiki:Main/SopanShewale - 02 Dec 2008
Ok.. I am assuming all test cases Pass required to patch release.
Ignoring following test cases
- One failure from EditTablePlugin - this is because Bareword "Unit::Response" not allowed while "strict subs" - Unit::Response is not yet part of Release Branch...
- One failure in SemiAutomaticTestCaseTests.pm
Updated files like AUTHORS and readme.txt
--
TWiki:Main/SopanShewale - 03 Dec 2008
Closing this after 4.2.4 Release
--
TWiki:Main.SopanShewale - 11 Dec 2008