1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
--TEST-- phpunit FatalTest ../_files/FatalTest.php --FILE-- <?php $_SERVER['argv'][1] = '--no-configuration'; $_SERVER['argv'][2] = 'FatalTest'; $_SERVER['argv'][3] = dirname(dirname(__FILE__)) . '/_files/FatalTest.php'; require __DIR__ . '/../bootstrap.php'; PHPUnit_TextUI_Command::main(); ?> --EXPECTF-- PHPUnit %s by Sebastian Bergmann. Fatal error: Call to undefined function non_existing_function() in %s |