Install giorgiosironi/eris as require-dev
authorPablo Grass <pablo.grass@wikimedia.de>
Mon, 27 Aug 2018 11:24:34 +0000 (13:24 +0200)
committerPablo Grass <pablo.grass@wikimedia.de>
Tue, 28 Aug 2018 09:06:40 +0000 (11:06 +0200)
Eris is a porting of QuickCheck and property-based testing tools to
the PHP and PHPUnit ecosystem.
It is used in WikibaseLexeme to generate inputs for tests cases.
These tests are skipped if the library is not present.
T188354 / Iba3da2820262ca8a879780ee7848cfc831df28b5 removed the
extension-specific phpunit run from composer scripts.
Due to the unavailability of eris in core composer, and the fact that
the composer merge plugin does not install require-dev of extensions,
all eris-based tests have been skipped since (2018-02-17).

Change-Id: I3909fb34025d9a9e07ccd6c85b30c34144714d04

composer.json

index 454e27c..4284260 100644 (file)
@@ -57,6 +57,7 @@
        "require-dev": {
                "cache/integration-tests": "0.16.0",
                "composer/spdx-licenses": "1.4.0",
+               "giorgiosironi/eris": "^0.10.0",
                "hamcrest/hamcrest-php": "^2.0",
                "jakub-onderka/php-parallel-lint": "0.9.2",
                "jetbrains/phpstorm-stubs": "dev-master#38ff1a581b297f7901e961b8c923862ea80c3b96",