OK, I've done that:
<?php defined('MOODLE_INTERNAL') || die(); global $CFG; require_once($CFG->dirroot . '/filter/Link2Wiki/filter.php'); /** * Unit tests for Link2Wiki filter * @group CompanyExtensions * @group Link2Wiki */ class filter_Link2Wiki_test extends basic_testcase { /** * @dataProvider buildWikiUrlDataProvider */ public function test_buildWikiUrl($articleName, $linkText, $expected) { //... } //...
Then I ran init.php again. This is the output of --list-groups:
Available test group(s): - Andrew Nicols - Charles Severance csev@unmich.edu - Chris Scribner - David Jimenez - Jordi Piguillem - Josep Arus - Kenneth Riba - Marc Alier - Marc Alier (marc.alier@upc.edu) - Mark Nielsen - Nikolas Galanis - Petr Skoda {@link http://skodak.org} - Sam Marshall - T.J.Hunt@open.ac.uk - Yuliya Bozhko <yuliya.bozhko@totaralms.com> - __nogroup__ - core_plugin - nicolas@moodle.com
We are running 2.5 right now, if that matters.