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

Calendar repeating rule tests are a bit lame.

XMLWordPrintable

    • MOODLE_32_STABLE
    • MOODLE_31_STABLE, MOODLE_32_STABLE
    • MDL-57793-master
    • Hide
      1. Run PHPUnit tests for the core_calendar_testsuite.

        vendor/bin/phpunit --testsuite core_calendar_testsuite
        

        Or if using MDK

        mdk phpunit -r -s core_calendar
        

        • Confirm that all tests pass.
      Show
      Run PHPUnit tests for the core_calendar_testsuite. vendor/bin/phpunit --testsuite core_calendar_testsuite Or if using MDK mdk phpunit -r -s core_calendar Confirm that all tests pass.

      "These tests are also very weak - in that they test all the easy cases but none of the edge cases. I would expect to see a leap year test, 31 of november test and some DST / timezone tests. I will make a new issue about that."

      We are talking about calendar/tests/rrule_manager_test.php

            jpataleta Jun Pataleta
            damyon Damyon Wiese
            David Monllaó David Monllaó
            Jake Dallimore Jake Dallimore
            Dan Poltawski Dan Poltawski
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

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