• 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.

Item6377: Fixing Test Cases - trunk and release branches

Item Form Data

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
Engine   Normal New   n/a  

Edit Form Data

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

Detail

Fixing and improving/adding test cases for trunk and release branches

-- TWiki:Main/SopanShewale - 28 Dec 2009

Fn_REVINFO.pm : 4 of 10 cases pass
Fn_URLPARAM.pm: 4 of 5 cases pass
MailerContribSuite - 6 of 7 cases pass
PreferencesPlugin - 3 of 4 cases pass
RegisterTests.pm - 18 of 122 cases pass
RenameTests.pm - 5 of 9 cases pass
SaveScriptTests.pm - fails  (22 cases fail) 
SemiAutomaticTestCaseTests.pm - 18 of 22 cases fail 

-- TWiki:Main.SopanShewale - 12 Jan 2010

=>>SaveScriptTests.pm - fails  (22 cases fail) = Pass now

-- TWiki:Main.SopanShewale - 16 Jan 2010

StoreSmokeTests.pm pass now

-- TWiki:Main.SopanShewale - 16 Jan 2010

>>RegisterTests.pm 116 of 122 test cases passed

-- TWiki:Main.SopanShewale - 16 Jan 2010

Overall Score is

1096 of 1118 test cases passed

-- TWiki:Main.SopanShewale - 16 Jan 2010

>>RegisterTests.pm - pass all cases

-- TWiki:Main.SopanShewale - 16 Jan 2010

Now the score is >>1103 of 1118 test cases passed

-- TWiki:Main.SopanShewale - 16 Jan 2010

Thank you Sopan for fixing those failing test cases!

-- TWiki:Main.PeterThoeny - 17 Jan 2010

RenameTests - 5 of 9 test cases passed (4 fail)
SemiAutomaticCases - 19 of 22 test cases passed (3 fail)
Fn_REVEINFO  - 4 of 10 test cases passed (6 fail)

-- TWiki:Main.SopanShewale - 19 Jan 2010

Failure at - TestCaseAutoSearch and TestCaseAutoSearch

-- TWiki:Main.SopanShewale - 19 Jan 2010

The latest status is:


3 failures
ResponseTests::test_headers

Wrong header field names at /var/www/50/core/lib/Unit/TestCase.pm line 127
   Unit::TestCase::assert_equals('ResponseTests=HASH(0xad738cc)', 'F-O-O-Bar', 'Date', 'Wrong header field names') called at /var/www/50/core/lib/Unit/TestCase.pm line 222
   Unit::TestCase::assert_deep_equals('ResponseTests=HASH(0xad738cc)', 'F-O-O-Bar', 'Date', 'Wrong header field names', 'HASH(0xadd0358)') called at /var/www/50/core/lib/Unit/TestCase.pm line 200
   Unit::TestCase::assert_deep_equals('ResponseTests=HASH(0xad738cc)', 'ARRAY(0xacd1258)', 'ARRAY(0xaced3cc)', 'Wrong header field names') called at /var/www/50/core/test/unit/ResponseTests.pm line 63
   ResponseTests::test_headers('ResponseTests=HASH(0xad738cc)') called at /var/www/50/core/lib/Unit/TestRunner.pm line 49
   Unit::TestRunner::__ANON__() called at /var/www/50/core/lib/CPAN/lib/Error.pm line 379
   eval {...} called at /var/www/50/core/lib/CPAN/lib/Error.pm line 371
   Error::subs::try('CODE(0xade6d24)', 'HASH(0xac0a7ac)') called at /var/www/50/core/lib/Unit/TestRunner.pm line 55
   Unit::TestRunner::start('Unit::TestRunner=HASH(0x86d55e8)', 'TWikiSuite.pm') called

---------------------------
SemiAutomaticTestCaseTests::test_TestCaseAutoInternalTags

TestCaseAutoInternalTags FAILED - output in TestCaseAutoInternalTags.html and TestCaseAutoInternalTags_run.html at /var/www/50/core/test/unit/SemiAutomaticTestCaseTests.pm line 60
   SemiAutomaticTestCaseTests::run_testcase('SemiAutomaticTestCaseTests=HASH(0xade9d54)', 'TestCaseAutoInternalTags') called at /var/www/50/core/test/unit/SemiAutomaticTestCaseTests.pm line 31
   SemiAutomaticTestCaseTests::__ANON__('SemiAutomaticTestCaseTests=HASH(0xade9d54)') called at /var/www/50/core/lib/Unit/TestRunner.pm line 49
   Unit::TestRunner::__ANON__() called at /var/www/50/core/lib/CPAN/lib/Error.pm line 379
   eval {...} called at /var/www/50/core/lib/CPAN/lib/Error.pm line 371
   Error::subs::try('CODE(0xac8c268)', 'HASH(0xaf52b78)') called at /var/www/50/core/lib/Unit/TestRunner.pm line 55
   Unit::TestRunner::start('Unit::TestRunner=HASH(0x86d55e8)', 'TWikiSuite.pm') called

---------------------------
SemiAutomaticTestCaseTests::test_TestCaseAutoNestedVerbatim

TestCaseAutoNestedVerbatim FAILED - output in TestCaseAutoNestedVerbatim.html and TestCaseAutoNestedVerbatim_run.html at /var/www/50/core/test/unit/SemiAutomaticTestCaseTests.pm line 60
   SemiAutomaticTestCaseTests::run_testcase('SemiAutomaticTestCaseTests=HASH(0xade9d54)', 'TestCaseAutoNestedVerbatim') called at /var/www/50/core/test/unit/SemiAutomaticTestCaseTests.pm line 31
   SemiAutomaticTestCaseTests::__ANON__('SemiAutomaticTestCaseTests=HASH(0xade9d54)') called at /var/www/50/core/lib/Unit/TestRunner.pm line 49
   Unit::TestRunner::__ANON__() called at /var/www/50/core/lib/CPAN/lib/Error.pm line 379
   eval {...} called at /var/www/50/core/lib/CPAN/lib/Error.pm line 371
   Error::subs::try('CODE(0xad99e64)', 'HASH(0xaf46b80)') called at /var/www/50/core/lib/Unit/TestRunner.pm line 55
   Unit::TestRunner::start('Unit::TestRunner=HASH(0x86d55e8)', 'TWikiSuite.pm') called

1114 of 1117 test cases passed
-bash-3.2$ 

Summary :

  • ResponseTests::test_headers ==> needs to be corrected, but does not sound to be big issue
  • SemiAutomaticTestCaseTests::test_TestCaseAutoInternalTags ==> this is because of newly added graphics icons, not big issue
  • SemiAutomaticTestCaseTests::test_TestCaseAutoNestedVerbatim ==> has bug (Item6099) , correction deferred to next release.

-- TWiki:Main.SopanShewale - 28 May 2010

Edit | Attach | Watch | Print version | History: r26 < r25 < r24 < r23 < r22 | Backlinks | Raw View |  Raw edit | More topic actions
Topic revision: r26 - 2010-05-28 - SopanShewale
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2023 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback