-
Improvement
-
Resolution: Fixed
-
Minor
-
3.4.3, 3.5, 3.6
-
MOODLE_34_STABLE, MOODLE_35_STABLE, MOODLE_36_STABLE
-
MOODLE_34_STABLE, MOODLE_35_STABLE
-
When a unit test fails, we get a message like the following:
To re-run:
vendor/bin/phpunit repository_flickr_privacy_testcase repository/flickr/tests/privacy_test.php
where the command can be copied and pasted into the command line and run.
If the testcase is namespaced, this doesn't work as the backslashes have to be manually escaped:
To re-run:
vendor/bin/phpunit \repository_flickr\privacy_testcase repository/flickr/tests/privacy_test.php
It would be good if the class name were quoted to allow the command to work as-is.
(I'm not sure how much of this is valid on Windows, but it's certainly the case on Linux.)
- has a non-specific relationship to
-
MDLSITE-4800 Decide upon unit test namespace rules
- Closed