File tree Expand file tree Collapse file tree 1 file changed +29
-0
lines changed Expand file tree Collapse file tree 1 file changed +29
-0
lines changed Original file line number Diff line number Diff line change
1
+ --TEST--
2
+ phpcov merge --text php://stdout ../../fixture/example/coverage
3
+ --INI--
4
+ xdebug.overload_var_dump=0
5
+ --FILE--
6
+ <?php declare (strict_types=1 );
7
+ require __DIR__ . '/../../../vendor/autoload.php ' ;
8
+
9
+ $ _SERVER ['argv ' ][1 ] = 'merge ' ;
10
+ $ _SERVER ['argv ' ][2 ] = '--text ' ;
11
+ $ _SERVER ['argv ' ][3 ] = 'php://stdout ' ;
12
+ $ _SERVER ['argv ' ][4 ] = __DIR__ . '/../../fixture/example/coverage ' ;
13
+
14
+ var_dump ((new SebastianBergmann \PHPCOV \Application )->run ($ _SERVER ['argv ' ]));
15
+ --EXPECTF --
16
+ phpcov %s by Sebastian Bergmann.
17
+
18
+ Generating code coverage report in text format ...
19
+
20
+ Code Coverage Report:
21
+ %s
22
+
23
+ Summary:
24
+ Classes : 100.00 % (1 /1 )
25
+ Methods: 100.00 % (2 /2 )
26
+ Lines: 66.67 % (2 /3 )
27
+
28
+ SebastianBergmann \PHPCOV \TestFixture \Greeter
29
+ Methods: 100.00 % ( 2 / 2 ) Lines: 100.00 % ( 2 / 2 )
You can’t perform that action at this time.
0 commit comments