With Wikibase and PropertySuggester cloned, Quibble installs mediawiki with:
install.php --with-extensions [..]
That injects the extensions in LocalSettings with wfLoadExtension(). install.php works fine but when running phpunit tests, the Wikibase autoloader does not seem to be registered:
$ tests/phpunit/phpunit.php --debug-tests --testsuite extensions Using PHP 7.0.27-0+deb9u1 PHP Fatal error: Class 'Wikibase\Repo\Tests\Api\WikibaseApiTestCase' not found in /workspace/src/extensions/PropertySuggester/tests/phpunit/PropertySuggester/GetSuggestionsTest.php on line 24
The class is defined in Wikibase at:
353 'Wikibase\\Repo\\Tests\\Api\\WikibaseApiTestCase' => __DIR__ . '/tests/phpunit/includes/Api/WikibaseApiTestCase.php',
Wikibase does not have an extension.json, its Wikibase.php lets one switch between client and repo setup based on $wgEnableWikibaseRepo or $wgEnableWikibaseClient being set.