1--TEST-- 2phpunit -c ../_files/configuration_stop_on_warning.xml --stop-on-warning StopOnWarningTestSuite ./tests/_files/StopOnWarningTestSuite.php 3--FILE-- 4<?php 5$_SERVER['argv'][1] = '-c'; 6$_SERVER['argv'][2] = __DIR__ . '/../_files/configuration_stop_on_warning.xml'; 7$_SERVER['argv'][3] = '--stop-on-warning'; 8$_SERVER['argv'][4] = 'StopOnWarningTestSuite'; 9$_SERVER['argv'][5] = __DIR__ . '/../_files/StopOnWarningTestSuite.php'; 10 11require __DIR__ . '/../bootstrap.php'; 12PHPUnit_TextUI_Command::main(); 13--EXPECTF-- 14PHPUnit %s by Sebastian Bergmann and contributors. 15 16W 17 18Time: %s, Memory: %s 19 20There was 1 warning: 21 221) Warning 23No tests found in class "NoTestCases". 24 25WARNINGS! 26Tests: 1, Assertions: 0, Warnings: 1.