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

Item6870: Some test modules of UnitTestContrib are aborted

Item Form Data

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
Extension UnitTestContrib Normal Closed   n/a  

Edit Form Data

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

Detail

In a test environment set up according to TWiki:Codev/TestCasesTutorial#SettingUpATestEnvironment, if you run "perl ../bin/TestRunner.pl PluginHandlerTests.pm" you get the following error.
Assert checking on 1
Running PluginHandlerTests
        PluginHandlerTests::test_afterAttachmentSaveHandler
RCS: copy /home/himazu/trunk/core/pub/TWiki/BehaviourContrib/cssQuery to /home/himazu/trunk/core/pub/TemporaryPluginHandlersSystemWeb/BehaviourContrib/cssQuery failed: Is a directory at /home/himazu/trunk/core/lib/TWiki/Store/RcsFile.pm line 769.

This error occurs in set_up(). The cause is existence of the directory data/TWiki/BehaviourContrib/cssQuery. This directory needs to be moved somewhere else.

The same error occurs with PrefsTests.pm and RegisterTests.pm as well.

-- TWiki:Main/HideyoImazu - 2012-04-21

set_up() of those three files have been modified to cope with the issue. And it's much faster by minimizing file copy for fixture creation.

-- TWiki:Main.HideyoImazu - 2012-07-13

Thank you Hideyo-san! I synched to 5.1 branch and updated the contrib doc. Closing this item...

-- TWiki:Main.PeterThoeny - 2012-10-06

ItemTemplate
Summary Some test modules of UnitTestContrib are aborted
ReportedBy TWiki:Main.HideyoImazu
Codebase ~twiki4, 5.1.1
SVN Range

AppliesTo Extension
Component UnitTestContrib
Priority Normal
CurrentState Closed
WaitingFor

Checkins TWikirev:23074 TWikirev:23075 TWikirev:23539 TWikirev:23540 TWikirev:23541
TargetRelease n/a
ReleasedIn

Edit | Attach | Watch | Print version | History: r7 < r6 < r5 < r4 < r3 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r7 - 2012-10-06 - PeterThoeny
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback