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

FakeDBUnitTestCase and UnitTestCaseUsingDatabase are being silently skipped

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 2.0
    • 2.0
    • Unit tests
    • None
    • MOODLE_20_STABLE
    • MOODLE_20_STABLE
    • Moderate

      Since some months ago we have "old" FakeDBUnitTestCase disabled. Also UnitTestCaseUsingDatabase aren't executed if test-prefix isn't set.

      That leads to a bunch of tests of those types not being performed without further notification.

      Is it possible to add debugging/notification or whatever there, both to FakeDBUnitTestCase and UnitTestCaseUsingDatabase, in order to get some visual feedbak about each skipped test? Something like:

      • FakeDBUnitTestCase: deprecated, needs conversion to UnitTestCaseUsingDatabase
      • UnitTestCaseUsingDatabase: skipped, set the testprefix

      Right now it's skipping way too much (portfolio, completion...) to be acceptable.

      Ciao

            stronk7 Eloy Lafuente (stronk7)
            stronk7 Eloy Lafuente (stronk7)
            Nobody Nobody (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

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