| Total Complexity | 3 |
| Total Lines | 20 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 17 | class PHPUnitTest extends TestCase |
||
| 18 | { |
||
| 19 | public function testValid(): void |
||
| 20 | { |
||
| 21 | if (defined('PHP_WINDOWS_VERSION_MAJOR')) { |
||
| 22 | $this->markTestSkipped('not tested on windows'); |
||
| 23 | } |
||
| 24 | |||
| 25 | $resolver = new PHPUnit(CH_PATH_FILES . '/bin/phpunit'); |
||
| 26 | $coverage = $resolver->getCoverage(); |
||
| 27 | |||
| 28 | $this->assertEquals(95, $coverage); |
||
| 29 | } |
||
| 30 | |||
| 31 | public function testPHPUnitError(): void |
||
| 37 | } |
||
| 38 | } |
||
| 39 |