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
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.
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.
Thank you Hideyo-san! I synched to 5.1 branch and updated the contrib doc. Closing this item...