1--TEST--
2GH-322: group commandline option should override group/exclude setting in phpunit.xml
3--FILE--
4<?php
5
6$_SERVER['argv'][1] = '--configuration';
7$_SERVER['argv'][2] = __DIR__ . '/322/phpunit322.xml';
8$_SERVER['argv'][3] = '--debug';
9$_SERVER['argv'][4] = '--group';
10$_SERVER['argv'][5] = 'one';
11$_SERVER['argv'][6] = 'Issue322Test';
12$_SERVER['argv'][7] = __DIR__ . '/322/Issue322Test.php';
13
14require __DIR__ . '/../../bootstrap.php';
15PHPUnit_TextUI_Command::main();
16?>
17--EXPECTF--
18PHPUnit %s by Sebastian Bergmann and contributors.
19
20
21Starting test 'Issue322Test::testOne'.
22.                                                                   1 / 1 (100%)
23
24Time: %s, Memory: %s
25
26OK (1 test, 0 assertions)
27