Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-56071

Improve cache store testing fixture

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Development in progress
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.2
    • Fix Version/s: None
    • Component/s: Caching, Unit tests
    • Labels:
    • Testing Instructions:
      Hide

      1. Unit tests pass for all stores.

      Need memcached, memcache and mongodb installed and configured. (Possibly redis and apcu as well. Depends on integration timeframes.

      Show
      1. Unit tests pass for all stores. Need memcached, memcache and mongodb installed and configured. (Possibly redis and apcu as well. Depends on integration timeframes.
    • Affected Branches:
      MOODLE_32_STABLE
    • Pull Master Branch:

      Description

      As discovered during the development of MDL-39117, has, has_all, has_any are not tested in the cache/tests/fixtures/stores.php default cachestore test file.

      Testing was also limited and didn't cover different types or confirm that guarantees made by the cache store are being met. Dereferences objects was the key one that comes to mind.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                mr-russ Russell Smith
                Reporter:
                mr-russ Russell Smith
                Participants:
                Component watchers:
                Matteo Scaramuccia, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Víctor Déniz Falcón, Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              • Votes:
                1 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated: