gmarche/vendor/phpunit/phpunit/tests/TextUI/report-useless-tests-isolat...

22 lines
675 B
PHP

--TEST--
phpunit --report-useless-tests --process-isolation IncompleteTest ../_files/IncompleteTest.php
--FILE--
<?php
$_SERVER['argv'][1] = '--no-configuration';
$_SERVER['argv'][2] = '--report-useless-tests';
$_SERVER['argv'][3] = '--process-isolation';
$_SERVER['argv'][4] = 'NothingTest';
$_SERVER['argv'][5] = __DIR__ . '/../_files/NothingTest.php';
require __DIR__ . '/../bootstrap.php';
PHPUnit_TextUI_Command::main();
--EXPECTF--
PHPUnit %s by Sebastian Bergmann and contributors.
R 1 / 1 (100%)
Time: %s, Memory: %s
OK, but incomplete, skipped, or risky tests!
Tests: 1, Assertions: 0, Risky: 1.