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

Improve unit tests to explain test skips

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Duplicate
    • 3.8
    • None
    • Analytics
    • None
    • 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

              Unassigned Unassigned
              dobedobedoh Andrew Lyons
              David Woloszyn, Huong Nguyen, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: