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

Prepare for removal of PHPUnit/DbUnit

    XMLWordPrintable

Details

    • MOODLE_37_STABLE

    Description

      DbUnit was deprecated recently https://github.com/sebastianbergmann/dbunit/issues/217

      We need to prepare for its pending removal upon the release of PHPUnit 8.

      The only uses are:

      1. Directly:
        1. lib/phpunit/classes/arraydataset.php
        2. lib/tests/statslib_test.php
      2. advanced_testcase::createFlatXMLDataSet
        (Unused in core)
      3. advanced_testcase::createXMLDataSet
        1. lib/tests/statslib_test.php
      4. advanced_testcase::createCsvDataSet
        1. mod/quiz/tests/attempt_walkthrough_from_csv_test.php
        2. mod/data/tests/search_test.php
      5. advanced_testcase::loadDataSet
        1. mod/data/tests/search_test.php
      6. advanced_testcase::createArrayDataSet
        (Unused in core)
      7. References to DbUnit:
        1. mod/quiz/report/responses/tests/responses_from_steps_walkthrough_test.php
        2. mod/quiz/report/statistics/tests/stats_from_steps_walkthrough_test.php
        3. mod/quiz/tests/attempt_walkthrough_from_csv_test.php

      Pinging timhunt for your info on this .

      Attachments

        Issue Links

          Activity

            People

              stronk7 Eloy Lafuente (stronk7)
              dobedobedoh Andrew Lyons
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Sujith Haridasan, Tim Hunt, Andrew Lyons, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze, Andrew Lyons, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: