22 lines
597 B
PHP
22 lines
597 B
PHP
--TEST--
|
|
phpunit --configuration tests/_files/phpunit-example-extension
|
|
--FILE--
|
|
<?php
|
|
$_SERVER['argv'][1] = '--configuration';
|
|
$_SERVER['argv'][2] = __DIR__ . '/../_files/phpunit-example-extension';
|
|
|
|
require __DIR__ . '/../bootstrap.php';
|
|
PHPUnit\TextUI\Command::main();
|
|
--EXPECTF--
|
|
PHPUnit %s by Sebastian Bergmann and contributors.
|
|
|
|
Runtime: %s
|
|
Configuration: %s%ephpunit-example-extension%ephpunit.xml
|
|
Extension: phpunit/phpunit-example-extension 1.0.1
|
|
|
|
. 1 / 1 (100%)
|
|
|
|
Time: %s, Memory: %s
|
|
|
|
OK (1 test, 1 assertion)
|