Item12925: Unit tests needed for Foswiki PageCache

pencil
Priority: Urgent
Current State: Closed
Released In: 1.2.0
Target Release: minor
Applies To: Engine
Component: PageCache
Branches: master
Reported By: GeorgeClark
Waiting For:
Last Change By: MichaelDaum
The current "CacheTests" simply end with no tests run.
(master)$ ../bin/TestRunner.pl -clean CacheTests.pm 
exporting FOSWIKI_ASSERTS=1 for extra checking; disable by exporting FOSWIKI_ASSERTS=0
Options: -clean
Assert checking on 1
Starting CWD is /var/www/foswiki/trunk/core/test/unit 
Running CacheTests
*** No tests in CacheTests

Unit test run Summary:
 - Tested with perl v5.16.3 from /usr/bin/perl5.16.3

All tests passed (0)
1..0

We need functional unit tests for critical core components.

The issue is that the current test lists the Foswiki/Cache directory looking for cache algorithms. Also the test issues POST requests which are not cached.

-- GeorgeClark - 30 May 2014

 

ItemTemplate edit

Summary Unit tests needed for Foswiki PageCache
ReportedBy GeorgeClark
Codebase trunk
SVN Range
AppliesTo Engine
Component PageCache
Priority Urgent
CurrentState Closed
WaitingFor
Checkins distro:f6a50da353fc
TargetRelease minor
ReleasedIn 1.2.0
CheckinsOnBranches master
trunkCheckins
masterCheckins distro:f6a50da353fc
ItemBranchCheckins
Release01x01Checkins
Topic revision: r4 - 06 Nov 2018, MichaelDaum - This page was cached on 07 Sep 2020 - 16:42.

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