You are here: Foswiki>Tasks Web>Item9212 (13 Mar 2011, GeorgeClark)Edit Attach

Item9212: Unit tests leaves behind all the test directories

pencil
Priority: Normal
Current State: Closed
Released In: 1.1.3
Target Release: patch
Applies To: Engine
Component:
Branches:
Reported By: KennethLavrsen
Waiting For:
Last Change By: GeorgeClark
Unit tests are supposed to clean up after themselves.

And they used to

Until recently. Now they leave behind all these in the data directory

TemporaryLinkTestWebLink\
TemporaryLinkUsersWeb\
TemporaryFuncTestWebFunc\
TemporaryFuncTestWebFuncExtra\
TemporaryFuncUsersWeb\
TemporaryTopicUserMappingTestsNormalWeb\
TemporaryTopicUserMappingTestsSystemWeb\
TemporaryTopicUserMappingTestsUsersWeb\
TemporaryTopicUserMappingContribTestsTestWebTopicUserMappingContribTests\
TemporaryTopicUserMappingContribTestsUsersWeb\
TemporaryWysiwygPluginTestsTestWebWysiwygPluginTests\
TemporaryWysiwygPluginTestsUsersWeb\
TemporarySpreadSheetPluginTestsTestWebSpreadSheetPluginTests\
TemporarySpreadSheetPluginTestsUsersWeb\
TestSpreadSheet\
TemporaryPreferencesPluginTestsTestWebPreferencesPluginTests\
TemporaryPreferencesPluginTestsUsersWeb\
TemporaryTwistyFormattingTestWebTwistyFormatting\
TemporaryTwistyFormattingUsersWeb\
TemporaryTableFormattingTestWebTableFormatting\
TemporaryTableFormattingUsersWeb\
TemporaryMailerContribTestsTestWebMailerContribTests\
TemporaryMailerContribTestsUsersWeb\
TemporaryEditTableFunctionsTestWebEditTableFunctions\
TemporaryEditTableFunctionsUsersWeb\
TemporaryCommentPluginTestsTestWebCommentPluginTests\
TemporaryCommentPluginTestsTestWebCommentPluginTestsTarget\
TemporaryCommentPluginTestsUsersWeb\
TemporaryZoneTestsTestWebZoneTests\
TemporaryZoneTestsUsersWeb\
TemporaryViewScriptTestWebViewScript\
TemporaryViewScriptUsersWeb\
TemporaryViewParamSectionTestsTestWebViewParamSectionTests\
TemporaryViewParamSectionTestsUsersWeb\
TemporaryViewFileScriptTestWebViewFileScript\
TemporaryViewFileScriptUsersWeb\
TemporaryVariablesTestWebVariables\
TemporaryVariablesUsersWeb\
TemporaryUploadScriptTestWebUploadScript\
TemporaryUploadScriptUsersWeb\
TemporaryUIFnCompileTestWebUIFnCompile\
TemporaryUIFnCompileUsersWeb\
TemporaryUTF8TestsTestWebUTF8Tests\
TemporaryUTF8TestsUsersWeb\
TemporaryTOCTestsTestWebTOCTests\
TemporaryTOCTestsUsersWeb\
TemporaryStoreTestsTestWebStoreTests\
TemporaryStoreTestsUsersWeb\
TestStoreWeb\
TemporaryStoreSmokeTestsTestWebStoreSmokeTests\
TemporaryStoreSmokeTestsUsersWeb\
TemporarySemiAutomaticTestCaseTestsTestWebSemiAutomaticTestCaseTests\
TemporarySemiAutomaticTestCaseTestsUsersWeb\
TemporarySaveTestWebSave\
TemporarySaveUsersWeb\
TemporaryRenderFormTestsTestWebRenderFormTests\
TemporaryRenderFormTestsUsersWeb\
TemporaryRenameTestsTestWebRenameTests\
TemporaryRenameTestsTestWebRenameTestsNew\
TemporaryRenameTestsUsersWeb\
RenamedTemporaryRenameTestsTestWebRenameTests\
TemporaryRegisterTestsSystemWeb\
TemporaryRegistrationTestWebRegistration\
TemporaryRegistrationUsersWeb\
TemporaryRESTTestsTestWebRESTTests\
TemporaryRESTTestsUsersWeb\
TemporarySEARCHTestWebSEARCH\
TemporarySEARCHUsersWeb\
TemporaryPrefsTestWebPrefs\
TemporaryPrefsUsersWeb\
TemporaryTestPrefsSystemWeb\
TemporaryPluginHandlersSystemWeb\
TemporaryPluginHandlersTestWebPluginHandlers\
TemporaryPluginHandlersUsersWeb\
TemporaryMetaTestsTestWebMetaTests\
TemporaryMetaTestsUsersWeb\
ZoopyDoopy\
TemporaryManageDotPmTestsTestWebManageDotPmTests\
TemporaryManageDotPmTestsUsersWeb\
TemporaryLoadedRevTestsTestWebLoadedRevTests\
TemporaryLoadedRevTestsUsersWeb\
TestWeb\
TemporaryHoistREsTestsTestWebHoistREsTests\
TemporaryHoistREsTestsUsersWeb\
HierarchicalWebsTestsTestWeb\
TemporaryFuncUsersTestWebFuncUsers\
TemporaryFuncUsersUsersWeb\
TemporaryFuncTestWebFuncBlah\
TemporaryFuncTestWebFuncBlah2\
TemporaryFoswikiPmFunctionsTestsTestWebFoswikiPmFunctionsTests\
TemporaryFoswikiPmFunctionsTestsUsersWeb\
TemporaryFormattingTestWebFormatting\
TemporaryFormattingUsersWeb\
TemporaryFormDefTestsTestWebFormDefTests\
TemporaryFormDefTestsUsersWeb\
TemporaryWEBLISTTestWebWEBLIST\
TemporaryWEBLISTUsersWeb\
TemporaryVARTestWebVAR\
TemporaryVARUsersWeb\
TemporaryURLPARAMTestWebURLPARAM\
TemporaryURLPARAMUsersWeb\
TemporaryUSERINFOTestWebUSERINFO\
TemporaryUSERINFOUsersWeb\
TemporaryTOPICLISTTestWebTOPICLIST\
TemporaryTOPICLISTUsersWeb\
TemporarySEPTestWebSEP\
TemporarySEPUsersWeb\
TemporarySECTIONTestWebSECTION\
TemporarySECTIONUsersWeb\
TemporaryREVINFOTestWebREVINFO\
TemporaryREVINFOUsersWeb\
TemporarySCRIPTURLTestWebSCRIPTURL\
TemporarySCRIPTURLUsersWeb\
TemporaryQUERYPARAMSTestWebQUERYPARAMS\
TemporaryQUERYPARAMSUsersWeb\
TemporaryQUERYTestWebQUERY\
TemporaryQUERYUsersWeb\
TemporaryINCLUDETestWebINCLUDE\
TemporaryINCLUDETestWebINCLUDEother\
TemporaryINCLUDEUsersWeb\
TemporaryNOPTestWebNOP\
TemporaryNOPUsersWeb\
TemporaryIFTestWebIF\
TemporaryIFUsersWeb\
TemporaryGROUPINFOTestWebGROUPINFO\
TemporaryGROUPINFOUsersWeb\
TemporaryGROUPSTestWebGROUPS\
TemporaryGROUPSUsersWeb\
TemporaryICONTestWebICON\
TemporaryICONUsersWeb\
TemporaryFORMFIELDTestWebFORMFIELD\
TemporaryFORMFIELDUsersWeb\
TemporaryENCODETestWebENCODE\
TemporaryENCODEUsersWeb\
TemporaryExpandMacrosTestsTestWebExpandMacrosTests\
TemporaryExpandMacrosTestsUsersWeb\
TemporaryExceptionTestsTestWebExceptionTests\
TemporaryExceptionTestsUsersWeb\
Testsandboxweb1234\
Testsystemweb1234\
Testtrashweb1234\
TemporaryClientTestsTestWebClientTests\
TemporaryClientTestsUsersWeb\
TemporaryCacheTestsTestWebCacheTests\
TemporaryCacheTestsUsersWeb\
TemporaryAutoAttachTestWebAutoAttach\
TemporaryAutoAttachUsersWeb\
TemporaryAccessControlTestWebAccessControl\
TemporaryAccessControlUsersWeb\

And then I have to spend time manually deleting all this.

Please - whoever you are that changed this - fix this.

-- KennethLavrsen - 27 Jun 2010

oh,me too - I thought this was an artefact of my working on windows - if this is a universal issue - bummer.

-- SvenDowideit - 28 Jun 2010

Most of this appears to have been fixed somewhere else. ManageDotPmTests and RenameTests were still leaving a few test webs around. Added code to remove the webs.

-- GeorgeClark - 13 Mar 2011
 

ItemTemplate edit

Summary Unit tests leaves behind all the test directories
ReportedBy KennethLavrsen
Codebase trunk
SVN Range
AppliesTo Engine
Component
Priority Normal
CurrentState Closed
WaitingFor
Checkins distro:b0c483b93d36
TargetRelease patch
ReleasedIn 1.1.3
Topic revision: r3 - 13 Mar 2011, GeorgeClark
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy