Skip to content

Commit

Permalink
Add filters for what files to check for coverage.
Browse files Browse the repository at this point in the history
  • Loading branch information
richardgaunt committed Mar 15, 2024
1 parent 1c9873b commit 6de11a1
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion behat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,23 @@ default:
# Show explicit fail information and continue the test run.
DrevOps\BehatFormatProgressFail\FormatExtension: ~
DVDoug\Behat\CodeCoverage\Extension:
branchAndPathCoverage: false
# The processUncoveredFiles setting has been removed in php-code-coverage v10.0.0.
includeUncoveredFiles: true
filter:
include:
directories:
'src': ~
'web/modules/custom': ~
'web/themes/custom': ~
'web/sites/default/includes': ~
files:
- '/web/sites/default/settings.php'
exclude:
directories:
'web/modules/custom':
suffix: 'Test.php'
'web/themes/custom':
suffix: 'Test.php'
reports:
text:
showColors: true
Expand Down

0 comments on commit 6de11a1

Please sign in to comment.