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

Add tags to identify core unit tests that check plugins implement APIs properly

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • 5.1
    • Unit tests
    • None
    • MOODLE_501_STABLE

      There are some unit tests that appear to be designed to verify that plugins implement some APIs correctly, for example the Privacy API, and SVG icons.

      It would be really useful if this sort of test had a tag so when we are writing or upgrading a plugin we can easily run all of these unit tests, when we run the plugins own tests, to help verify that everything is working correctly.

      Some of the tests that I have seen that do this sort of thing are:

      So for example being able to run a unit test commend like: vendor/bin/phpunit --group api-verification would make it easy to use them all.

            Unassigned Unassigned
            nmagill Neill Magill
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:

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