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

Create PHP Unit tests for backups

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Inactive
    • Icon: Minor Minor
    • None
    • 2.3.1
    • Backup, Unit tests
    • MOODLE_23_STABLE

      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()
      • ...

            Unassigned Unassigned
            fred Frédéric Massart
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.