Yaffs site version 1.1
[yaffs-website] / vendor / phpunit / phpunit / tests / TextUI / options-after-arguments.phpt
diff --git a/vendor/phpunit/phpunit/tests/TextUI/options-after-arguments.phpt b/vendor/phpunit/phpunit/tests/TextUI/options-after-arguments.phpt
new file mode 100644 (file)
index 0000000..e7f2cec
--- /dev/null
@@ -0,0 +1,19 @@
+--TEST--
+phpunit BankAccountTest ../_files/BankAccountTest.php --colors
+--FILE--
+<?php
+$_SERVER['argv'][1] = '--no-configuration';
+$_SERVER['argv'][2] = __DIR__ . '/../_files/BankAccountTest.php';
+$_SERVER['argv'][3] = '--colors=always';
+
+require __DIR__ . '/../bootstrap.php';
+PHPUnit_TextUI_Command::main();
+?>
+--EXPECTF--
+PHPUnit %s by Sebastian Bergmann and contributors.
+
+...
+
+Time: %s, Memory: %s
+
+%s[30;42mOK (3 tests, 3 assertions)%s[0m