1--TEST-- 2GH-873: PHPUnit suppresses exceptions thrown outside of test case function 3--SKIPIF-- 4<?php 5if (PHP_MAJOR_VERSION > 5) { 6 print 'skip: PHP 5 is required'; 7} 8?> 9--FILE-- 10<?php 11$_SERVER['argv'][1] = '--no-configuration'; 12$_SERVER['argv'][2] = 'Issue873Test'; 13$_SERVER['argv'][3] = __DIR__ . '/873/Issue873Test.php'; 14 15require __DIR__ . '/../../bootstrap.php'; 16PHPUnit_TextUI_Command::main(); 17?> 18--EXPECTF-- 19 20Fatal error: Uncaught exception 'Exception' with message 'PHPUnit suppresses exceptions thrown outside of test case function' in %s:%i 21Stack trace: 22%a 23