You are here: Foswiki>Tasks Web>Item9278 (09 Jul 2010, GeorgeClark)Edit Attach

Item9278: Unit test runner no longer clean up the files and directories they create

pencil
Priority: Normal
Current State: Closed
Released In: 1.1.0
Target Release: minor
Applies To: Engine
Component:
Branches:
Reported By: KennethLavrsen
Waiting For:
Last Change By: GeorgeClark
When I run the unit test suite I have around 150 garbage directories left behind in the data directory.

Until a few months ago I could run these tests and when completed all files had been removed and all directories removed.

Someone broke something.

It is all tests that create directories that leave behind garbage. So it is something in the unit test engine that is broken.

It creates problems when testing because you have all these non working webs and other garbage.

-- KennethLavrsen - 08 Jul 2010

Part of problem is that -clean assumes all unit test webs match "Temp*" So following webs are not following the convention:

-- GeorgeClark - 08 Jul 2010

Same problem as for Item9279. Fixed it here, and should fix both.

-- OlivierRaginel - 08 Jul 2010
 

ItemTemplate edit

Summary Unit test runner no longer clean up the files and directories they create
ReportedBy KennethLavrsen
Codebase trunk
SVN Range
AppliesTo Engine
Component
Priority Normal
CurrentState Closed
WaitingFor
Checkins distro:432ae43c4186 distro:a89e8ae6e243 distro:2f943695271c distro:0c1f0ca9b8a8 distro:28d0c62c37cd
TargetRelease minor
ReleasedIn 1.1.0
Topic revision: r8 - 09 Jul 2010, 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