1--TEST--
2GH-498: The test methods won't be run if a dataProvider throws Exception and --group is added in command line
3--FILE--
4<?php
5
6$_SERVER['argv'][1] = '--no-configuration';
7$_SERVER['argv'][2] = '--group';
8$_SERVER['argv'][3] = 'trueOnly';
9$_SERVER['argv'][4] = 'Issue498Test';
10$_SERVER['argv'][5] = __DIR__ . '/498/Issue498Test.php';
11
12require __DIR__ . '/../../bootstrap.php';
13PHPUnit_TextUI_Command::main();
14?>
15--EXPECTF--
16PHPUnit %s by Sebastian Bergmann and contributors.
17
18W                                                                   1 / 1 (100%)
19
20Time: %s, Memory: %s
21
22There was 1 warning:
23
241) Warning
25The data provider specified for Issue498Test::shouldBeFalse is invalid.
26Can't create the data
27
28WARNINGS!
29Tests: 1, Assertions: 0, Warnings: 1.
30