D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
home
/
t
/
a
/
t
/
tattooscyy
/
api
/
vendor
/
phpunit
/
phpunit
/
tests
/
end-to-end
/
regression
/
GitHub
/
Filename :
873.phpt
back
Copy
--TEST-- GH-873: PHPUnit suppresses exceptions thrown outside of test case function --SKIPIF-- <?php declare(strict_types=1); if (PHP_MAJOR_VERSION < 7) { print 'skip: PHP 7 is required'; } --FILE-- <?php declare(strict_types=1); $_SERVER['argv'][1] = '--no-configuration'; $_SERVER['argv'][2] = 'Issue873Test'; $_SERVER['argv'][3] = __DIR__ . '/873/Issue873Test.php'; require __DIR__ . '/../../../bootstrap.php'; PHPUnit\TextUI\Command::main(); --EXPECTF-- %AException: PHPUnit suppresses exceptions thrown outside of test case function in %s:%i Stack trace: %a