• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7848 for generic doc work for TWiki-6.1.1. Use View topic Item7851 for doc work on extensions that are not part of a release. More... Close
• Anything you create or change in standard webs (Main, TWiki, Sandbox etc) will be automatically reverted on every SVN update.
Does this site look broken?. Use the LitterTray web for test cases.

Item6139: Test Cases Failures in Release Branch, trunk branch. A few standard files require modification before release

Item Form Data

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
Extension   Normal Closed   n/a 4.2.4, 5.0.0

Edit Form Data

Summary:
Reported By:
Codebase:
Applies To:
Component:
Priority:
Current State:
Waiting For:
Target Release:
Released In:
 

Detail

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

ItemTemplate
Summary Test Cases Failures in Release Branch, trunk branch. A few standard files require modification before release
ReportedBy TWiki:Main.SopanShewale
Codebase 4.2.2
SVN Range TWiki-5.0.0, Wed, 22 Oct 2008, build 17677
AppliesTo Extension
Component

Priority Normal
CurrentState Closed
WaitingFor

Checkins TWikirev:17763 TWikirev:17764 TWikirev:17765
TargetRelease n/a
ReleasedIn 4.2.4, 5.0.0
Edit | Attach | Watch | Print version | History: r13 < r12 < r11 < r10 < r9 | Backlinks | Raw View |  Raw edit | More topic actions
Topic revision: r13 - 2008-12-11 - SopanShewale
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback