Details
-
Type:
Sub-task
-
Status: Closed
-
Priority:
Critical
-
Resolution: Fixed
-
Affects Version/s: 2.4
-
Fix Version/s: 2.4
-
Component/s: Unit tests
-
Labels:
-
Testing Instructions:
-
Affected Branches:MOODLE_24_STABLE
-
Fixed Branches:MOODLE_24_STABLE
-
Pull from Repository:
-
Pull Master Branch:w47_
MDL-36701_m24_composer -
Pull Master Diff URL:
Description
should be a lot better than PEAR...
Sample installation of PHPUnit into moodle project:
$ cd yourmoodledir
|
$ curl -s https://getcomposer.org/installer | php
|
$ php composer.phar install
|
Execution of PHPUnit:
$ cd yourmoodledir
|
$ vendor/bin/phpunit
|
Upgrade to next PHPUnit version:
$ cd yourmoodledir
|
$ php composer.phar update
|