On Nov 24, 10:26 pm, Ian MacLennan <
ian.maclen...@joomla.org> wrote:
> Well... not sure what they are... but to warn you... the caching stuff is
> a little bit messy with a mix of half implemented and poorly implemented
> stuff. It is certainly something that needs to be reworked at some point.
I'm noticing more than a few fiddly bits about JCache while I'm
testing. Just as an uninformed guess, the memcache and eaccelerator
are the badly implemented bits? Those and the view and callback
handlers gave me the most issues during writing some basic tests for
JCache, anyway. I'm checking in a set of rudimentary tests for JCache;
shouldn't break the unittest tree and maybe they'll prove useful for
someone while debugging. I'm going to walk on through this family, and
probably amend some of the tests as I go, as my understanding of the
code improves. This first batch of tests are just a few steps away
from shooting in the dark.
And, as every ex-SAC vet knows, shooting in the dark only is reliable
if you nuke 'em 'til they glow, first.
(Unofficial Strategic Air Command motto: 'We nuke 'em 'til they glow,
so you can shoot 'em in the dark!')
Just think of unit tests as the developer's SAC. ;{>}