Total Complexity | 3 |
Total Lines | 35 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
11 | class PsalmDiffFilterTest extends TestCase |
||
12 | { |
||
13 | |||
14 | public function testValid() |
||
15 | { |
||
16 | $GLOBALS['argv'] = [ |
||
17 | 'diffFilter', |
||
18 | '--psalm', |
||
19 | __DIR__ . '/fixtures/change.txt', |
||
20 | __DIR__ . '/fixtures/psalm.xml' |
||
21 | ]; |
||
22 | ob_start(); |
||
23 | require(__DIR__ . "/../src/Runners/generic.php"); |
||
24 | $output = ob_get_clean(); |
||
25 | $this->assertContains('100.00% Covered', $output); |
||
26 | } |
||
27 | |||
28 | public function testNoValidLines() |
||
46 | } |
||
47 | } |
||
48 |