--TEST--
GH-498: The test methods won't be run if a dataProvider throws Exception and --group is added in command line
--FILE--
<?php
$_SERVER['argv'][1] = '--no-configuration';
$_SERVER['argv'][2] = '--group';
$_SERVER['argv'][3] = 'trueOnly';
$_SERVER['argv'][4] = 'Issue498Test';
$_SERVER['argv'][5] = __DIR__ . '/498/Issue498Test.php';
require __DIR__ . '/../../bootstrap.php';
PHPUnit_TextUI_Command::main();
?>
--EXPECTF--
PHPUnit %s by Sebastian Bergmann and contributors.
W 1 / 1 (100%)
Time: %s, Memory: %s
There was 1 warning:
1) Warning
The data provider specified for Issue498Test::shouldBeFalse is invalid.
Can't create the data
WARNINGS!
Tests: 1, Assertions: 0, Warnings: 1.
|