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

Add unit tests for cache stores

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.5
    • Fix Version/s: 2.5
    • Component/s: Caching
    • Labels:
    • Testing Instructions:
      Hide
      1. Run unit test combined: vendor/bin/phpunit
      2. Run individual unit tests separately:
        • vendor/bin/phpunit cache/tests/cache_test.php
        • vendor/bin/phpunit cache/stores/file/tests/file_test.php
        • vendor/bin/phpunit cache/stores/memcache/tests/memcache_test.php
        • vendor/bin/phpunit cache/stores/memcached/tests/memcached_test.php
        • vendor/bin/phpunit cache/stores/mongodb/tests/mongodb_test.php
        • vendor/bin/phpunit cache/stores/session/tests/session_test.php
        • vendor/bin/phpunit cache/stores/static/tests/static_test.php
      Show
      Run unit test combined: vendor/bin/phpunit Run individual unit tests separately: vendor/bin/phpunit cache/tests/cache_test.php vendor/bin/phpunit cache/stores/file/tests/file_test.php vendor/bin/phpunit cache/stores/memcache/tests/memcache_test.php vendor/bin/phpunit cache/stores/memcached/tests/memcached_test.php vendor/bin/phpunit cache/stores/mongodb/tests/mongodb_test.php vendor/bin/phpunit cache/stores/session/tests/session_test.php vendor/bin/phpunit cache/stores/static/tests/static_test.php
    • Affected Branches:
      MOODLE_25_STABLE
    • Fixed Branches:
      MOODLE_25_STABLE
    • Pull Master Branch:
      wip-MDL-38247-m25

      Description

      It would be hugely beneficial to have unit tests available for cache stores.

        Attachments

          Activity

            People

            Assignee:
            samhemelryk Sam Hemelryk
            Reporter:
            samhemelryk Sam Hemelryk
            Integrator:
            Eloy Lafuente (stronk7)
            Tester:
            Jason Fowler
            Participants:
            Component watchers:
            Matteo Scaramuccia, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Víctor Déniz Falcón
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              14/May/13