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

Improve unit tests to explain test skips

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: 3.8
    • Fix Version/s: None
    • Component/s: Analytics
    • Labels:
      None
    • Affected Branches:
      MOODLE_38_STABLE

      Description

      I noticed that the predictions tests mark things as skipped, but don't say why.

      The is_ready function returns a string to explain why it is not ready, and we should use that in the call to markTestSkipped to make it easier to find why a test has been skipped.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                dobedobedoh Andrew Nicols
                Participants:
                Component watchers:
                Elizabeth Dalton, David Monllaó
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: