Skip to content

Commit

Permalink
Revert "Skip path coverage test"
Browse files Browse the repository at this point in the history
  • Loading branch information
Naktibalda committed Dec 17, 2022
1 parent 7bee938 commit 9716261
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 13 deletions.
5 changes: 5 additions & 0 deletions tests/coverage/LocalCept.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,8 @@
$I->executeCommand('run math MathCest --coverage', false, '-d pcov.directory=' . getcwd());
$I->seeInShellOutput('Classes: 100.00%');
$I->seeInShellOutput('Methods: 100.00%');

$I->amGoingTo('run local code coverage with path and branch coverage');
$I->executeCommand("run -o 'coverage: path_coverage: true' math MathCest --coverage", false);
$I->seeInShellOutput('Paths: 66.67%');
$I->seeInShellOutput('Branches: 80.00%');
13 changes: 0 additions & 13 deletions tests/coverage/LocalPathCoverageCept.php

This file was deleted.

0 comments on commit 9716261

Please sign in to comment.