Skip to content

Commit

Permalink
Merge branch '7.5' into 8.3
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianbergmann committed Sep 6, 2019
2 parents 5f1fdb7 + b910069 commit e6defa2
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions tests/end-to-end/cli/generate-configuration.phpt
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
--TEST--
phpunit --generate-configuration
--STDIN--



--FILE--
<?php declare(strict_types=1);
$_SERVER['argv'][1] = '--no-configuration';
$_SERVER['argv'][2] = '--generate-configuration';

require __DIR__ . '/../../bootstrap.php';
chdir(sys_get_temp_dir());
PHPUnit\TextUI\Command::main();
--EXPECTF--
PHPUnit %s by Sebastian Bergmann and contributors.

Generating phpunit.xml in %s

Bootstrap script (relative to path shown above; default: vendor/autoload.php): Tests directory (relative to path shown above; default: tests): Source directory (relative to path shown above; default: src):
Generated phpunit.xml in %s

0 comments on commit e6defa2

Please sign in to comment.