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

Create PHP Unit tests for backups

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Inactive
    • Affects Version/s: 2.3.1
    • Fix Version/s: None
    • Component/s: Backup, Unit tests
    • Labels:
    • Affected Branches:
      MOODLE_23_STABLE

      Description

      We need some PHP Unit tests that will check the consistency of the backups and restore.

      This should be tested by generating small courses, backing them up and trying to restore them.

      Those small courses should produce well-known issues/warnings/errors such as use of file references or file missing during backup/restore.

      See http://tracker.moodle.org/browse/MDL-28346?focusedCommentId=175248&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-175248 6th bullet point for more about this issue.

      • Test backup of course, activity, ...
      • Test restore of course, activity, ...
      • Test automated backups
      • Test deletion of excess backups
      • Test backup_general_helper::get_backup_information()
      • Test backup_general_helper::get_backup_information_from_mbz()
      • ...

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                fred Frédéric Massart
                Participants:
                Component watchers:
                Adrian Greeve, Mihail Geshoski, Peter Dias, Andrew Nicols, Mathew May, Michael Hawkins, Shamim Rezaie, Simey Lameze
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: