We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bf88e5b commit acee377Copy full SHA for acee377
tests/end-to-end/generic/configuration-does-not-exist.phpt
@@ -0,0 +1,15 @@
1
+--TEST--
2
+phpunit --configuration does-not-exist.xml
3
+--FILE--
4
+<?php declare(strict_types=1);
5
+$_SERVER['argv'][] = '--do-not-cache-result';
6
+$_SERVER['argv'][] = '--configuration';
7
+$_SERVER['argv'][] = 'does-not-exist.xml';
8
+
9
+require_once __DIR__ . '/../../bootstrap.php';
10
11
+(new PHPUnit\TextUI\Application)->run($_SERVER['argv']);
12
+--EXPECTF--
13
+PHPUnit %s by Sebastian Bergmann and contributors.
14
15
+Could not read XML from file "does-not-exist.xml"
0 commit comments