1--TEST-- 2phpunit --report-useless-tests NothingTest ../_files/NothingTest.php 3--FILE-- 4<?php 5$_SERVER['argv'][1] = '--no-configuration'; 6$_SERVER['argv'][2] = '--report-useless-tests'; 7$_SERVER['argv'][3] = '--verbose'; 8$_SERVER['argv'][4] = 'NothingTest'; 9$_SERVER['argv'][5] = __DIR__ . '/../_files/NothingTest.php'; 10 11require __DIR__ . '/../bootstrap.php'; 12PHPUnit_TextUI_Command::main(); 13--EXPECTF-- 14PHPUnit %s by Sebastian Bergmann and contributors. 15 16Runtime: %s 17 18R 1 / 1 (100%) 19 20Time: %s, Memory: %s 21 22There was 1 risky test: 23 241) NothingTest::testNothing 25This test did not perform any assertions 26 27OK, but incomplete, skipped, or risky tests! 28Tests: 1, Assertions: 0, Risky: 1. 29