Uploaded image for project: 'Moodle Community Sites'
  1. Moodle Community Sites
  2. MDLSITE-3856

moodlecheck to skip setup/teardown methods in unit tests

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Low Low
    • Integration
    • None

      This may be considered a followup of MDLSITE-3282, already implemented.

      And here it's an example of what we want to avoid:

      http://integration.moodle.org/job/Precheck%20remote%20branch/11198/artifact/work/smurf.html#phpdoc (from MDL-49315).

      Basically it's about to add some extra exceptions @:

      https://github.com/moodlehq/moodle-local_moodlecheck/blob/master/rules/phpdocs_basic.php#L113

      In order to get the setUp(), tearDown() ... phpunit methods skipped when they are missing phpdocs block completely.

      Ciao

            stronk7 Eloy Lafuente (stronk7)
            stronk7 Eloy Lafuente (stronk7)
            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.