Uploaded image for project: 'Moodle Community Sites'
  1. Moodle Community Sites
  2. MDLSITE-2095 PHPUnit problem detection by CI servers
  3. MDLSITE-2101

We're incorrectly detecting an empty tests directory as having phpunit tests

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Fixed
    • Icon: Low Low
    • Integration
    • None

      auth/tests/ is being detected by the check implemented in MDLSITE-1972, despite there being no phpunit tests.

      Eloy said

      well, I can get the list of possible testcases:

      grep -lr 'extends PHPUnit_Framework_TestCase' *

      and then look for them within the directories.
      1 = need to be covered
      >1 = more than 1 in the same file
      0 = not need to be covered

            stronk7 Eloy Lafuente (stronk7)
            poltawski Dan Poltawski
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

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