- your plugin must be tested for 3.1 compatibility,
- all eventual regressions (including PHP notices) must be fixed,
- the compatible version must be released in time of actual Moodle 3.1 release (expected to happen on May 23rd).
As a new rule (to make it even more funny and challenging!), your plugin must come with a valid PHPUnit and/or Behat test. The test coverage does not need to be 100% but dummy tests will not qualify.
Ready, steady, go!
I don't know any theme including the tests. And thinking in Adaptable, it is really difficult to find some automatic testing having 300 different settings that can be combined.
I'm not a behat expert, all the opposite, but maybe a simple test that could be common for all the themes is the only we could test: Profile, Preferences, Dashboard, .. mainly the items that should be in the custom menu. (Just random thoughts)
The latest OU theme has a lot of behat tests to test things like:
- What appears and disappears, or blocks change to hamburger menus, as the width of the page changes (responsiveness)
- We have used the theme (with a related course format) to make a lot of changes to navigation, and verifying that that works
There must be more than that. All the behat tests take about 20 minutes to run.
OK, here is one simple one
Obviously all the tests are rather specific to the particular functionality of our theme, but I hope that example helps.
OK, so we have results here! After considering all the received feedback, we have finally decided it will be best to keep the early bird award criteria clean from any additional rules.
All plugins that had a compatible version available by the 3.1 release day 23:59 UTC, receive the "Early 3.1 bird" award. At the end there are 110 such plugins now. Some of them are still waiting for the initial approval checks even if they were submitted in time. Those will appear at the list once they are published in the Plugins directory.
To award those who answered the call for unit tests and Behat tests and have added them to their plugins, we are introducing a fresh new award called "Automated testing support". This award is given to recent plugins that support automated testing via PHPUnit and/or Behat. Recent means that the plugin has to be compatible with currently supported Moodle versions. Initially the award was granted to 177 such plugins.
I am very happy to see numbers of actively maintained plugins that are up-to-date with latest Moodle development. Big thanks and respect to all the maintainers!