summaryrefslogtreecommitdiff
path: root/tests/phpunit/README
diff options
context:
space:
mode:
Diffstat (limited to 'tests/phpunit/README')
-rw-r--r--tests/phpunit/README17
1 files changed, 7 insertions, 10 deletions
diff --git a/tests/phpunit/README b/tests/phpunit/README
index 0a32ba17..f555812d 100644
--- a/tests/phpunit/README
+++ b/tests/phpunit/README
@@ -14,16 +14,13 @@ TO RETAIN YOUR DATA.
== Installation ==
-If PHPUnit is not installed, follow the installation instructions in the
-PHPUnit Manual at:
-
- http://www.phpunit.de/manual/current/en/installation.html
+If you used composer to install MediaWiki's dependencies PHPUnit will already be available, unless
+you explicitly specified the --no-dev flag during the install. In this case just run "composer update".
-- or -
-
-On Unix-like operating systems, run:
+Otherwise follow the installation instructions in the
+PHPUnit Manual at:
- make install
+ https://phpunit.de/manual/current/en/installation.html
== Running tests ==
@@ -47,7 +44,7 @@ On Windows-family operating systems, run the 'run-tests.bat' batch file.
=== Writing tests ===
-A guide to writing unit tests for MediaWiki can be found at:
+A guide to writing PHP unit tests for MediaWiki can be found at:
- http://mediawiki.org/wiki/Unit_Testing
+ https://www.mediawiki.org/wiki/Manual:PHP_unit_testing