--TEST--
GH-322: group commandline option should override group/exclude setting in phpunit.xml
--FILE--
<?php declare(strict_types=1);
$_SERVER['argv'][1] = '--configuration';
$_SERVER['argv'][2] = __DIR__ . '/322/phpunit322.xml';
$_SERVER['argv'][3] = '--debug';
$_SERVER['argv'][4] = '--group';
$_SERVER['argv'][5] = 'one';
$_SERVER['argv'][6] = __DIR__ . '/322/Issue322Test.php';

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

Test 'Issue322Test::testOne' started
Test 'Issue322Test::testOne' ended


Time: %s, Memory: %s

OK (1 test, 1 assertion)

