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

Unit tests fail

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • 2.0
    • 2.0
    • Unit tests
    • None
    • MOODLE_20_STABLE
    • MOODLE_20_STABLE

      Moodle 2 unit tests fail in a really big way. I will create subtasks for failures in particular areas.

      It is general practice that software should not be released if any unit tests fail, so I marked this as 'blocker'.

      As part of the OU's Moodle Monday (1 November) we will try to fix as many of these problems as we can (so everyone else, feel free to ignore them until after that date). Probably in the majority of cases the failures will be caused by test-rot rather than actual system failures, so we can fix them with low risk.

        1.
        Backup unit tests fail Sub-task Closed Sam Marshall
        2.
        Blog unit tests fail Sub-task Closed Jes Ackland-Snow
        3.
        DDL unit tests made to fail by previous test (unknown) Sub-task Closed Sam Marshall
        4.
        Unit test time limit is per class, causes gradebook unit tests to sometimes fail Sub-task Closed Sam Marshall
        5.
        Lib/blocklib unit test fails Sub-task Closed Ray Guo
        6.
        Various unit tests fail, possibly due to previous test not resetting prefix Sub-task Closed Sam Marshall
        7.
        Lib/htmlpurifier unit test fails Sub-task Closed John Beedell
        8.
        Lib/moodlelib unit test fails Sub-task Closed Sam Marshall
        9.
        Lib/navigationlib unit test fails, causes fatal error Sub-task Closed Sam Marshall
        10.
        lib/simpletest/testcompletionlib.php unit test fails Sub-task Closed Ray Guo
        11.
        lib/simpletest/testconditionlib.php unit test fails Sub-task Closed Mahmoud Kassaei
        12.
        lib/simpletest/testfilterconfig.php unit test fails Sub-task Closed Tim Hunt
        13.
        lib/simpletest/testmoodlelib.php unit test fails Sub-task Closed Sam Marshall
        14.
        xmldb does not clear error flag before parsing xml file and checking errors Sub-task Closed Sam Marshall
        15.
        lib/simpletest/testportfolioaddbutton.php unit test fails (needs migrating) Sub-task Closed Colin Chambers
        16.
        lib/simpletest/testportfoliolib.php unit test fails Sub-task Closed Sam Marshall
        17.
        lib/simpletest/testrepositorylib.php unit test fails (needs migrating) Sub-task Closed James Brisland
        18.
        Unit tests should have green/red hilighting Sub-task Closed Tim Hunt
        19.
        test_portfolio_callers unit tests all fail (need migrating) Sub-task Closed Colin Chambers
        20.
        mod/wiki unit tests fail Sub-task Closed Anthony Forth
        21.
        Portfolio unit tests fails (need migrating) Sub-task Closed Sam Marshall
        22.
        Question unit tests fail, cause fatal error Sub-task Closed Sam Marshall

            quen Sam Marshall
            quen Sam Marshall
            Nobody Nobody
            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.