Item12925: Unit tests needed for Foswiki PageCache
Current State: Closed
Released In: 1.2.0
Target Release: minor
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
Assert checking on 1
Starting CWD is /var/www/foswiki/trunk/core/test/unit
*** No tests in CacheTests
Unit test run Summary:
- Tested with perl v5.16.3 from /usr/bin/perl5.16.3
All tests passed (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.
- 30 May 2014