Yaffs site version 1.1
[yaffs-website] / vendor / phpunit / phpunit / tests / Regression / GitHub / 498.phpt
1 --TEST--
2 GH-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] = dirname(__FILE__) . '/498/Issue498Test.php';
11
12 require __DIR__ . '/../../bootstrap.php';
13 PHPUnit_TextUI_Command::main();
14 ?>
15 --EXPECTF--
16 PHPUnit %s by Sebastian Bergmann and contributors.
17
18 F
19
20 Time: %s, Memory: %s
21
22 There was 1 failure:
23
24 1) Warning
25 The data provider specified for Issue498Test::shouldBeFalse is invalid.
26 Can't create the data
27
28 FAILURES!
29 Tests: 1, Assertions: 0, Failures: 1.