HomePhabricator

Support running PHPUnit unit tests

Authored by kostajh on Jun 26 2019, 3:16 AM.

Description

Support running PHPUnit unit tests

Introduce the phpunit-unit stage. These tests can be run without installing
MediaWiki. The phpunit-unit command can be used in conjunction with new
testsuites defined in (I2fb57f4a9a58ec7a4042d9cc1821cc484661a6b9) which would
allow e.g.
--run phpunit-unit --phpunit-testsuite=core:unit,extensions:unit,skins:unit

See also I69b92db3e70093570e05cc0a64c7780a278b321a and
Ie717b0ecf4fcfd089d46248f14853c80b7ef4a76

Bug: T87781
Change-Id: I5301f35d82c427ab347cf1b3940ff6ff58705316

Details

Committed
jenkins-botJul 6 2019, 7:37 PM
Parents
rQUIBBLE86120bac2605: Minor copyediting
Branches
Unknown
Tags
Unknown
ChangeId
I5301f35d82c427ab347cf1b3940ff6ff58705316