distributedlife

passionate about everything

Testing the Cache – Auditing Published by Ryan Boucher @ 11:55 pm

If you audit cache accesses then you are going to need to make sure that occurs regardless of whether you have User Level or Shared caching

Whether you audit when the source record is viewed or on any view (on cache access) is an organisational decision. I won’t tell you which way to go here. In my examples I will be using the scenario that auditing is only done when the source record is read.

Three basic tests:

  • you should be auditing that when User A access the source object
  • you should not audit when User A access the cached object
  • you should be auditing when User B access the cached object placed in the cache by User A
My Mug Ryan Boucher is a Software Inquisitor and is passionate about it. You can find a whole raft of articles and anecdotes about software testing and other topics he gets excited about.
Tags , , ,