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

Calendar repeating rule tests are a bit lame.

    XMLWordPrintable

Details

    • 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.

    Description

      "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

      Attachments

        Issue Links

          Activity

            People

              jpataleta Jun Pataleta
              damyon Damyon Wiese
              David Monllaó David Monllaó
              Jake Dallimore Jake Dallimore
              Dan Poltawski Dan Poltawski
              Andrew Lyons, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze, Andrew Lyons, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                8/May/17