1
0
mirror of https://github.com/e107inc/e107.git synced 2025-01-17 12:48:24 +01:00
php-e107/e107_tests/codeception.yml
Deltik bb16213b85
Fix for Codeception return code 1 with XML code coverage report
By explicitly excluding the tests folder from the coverage tokenizer
2020-03-06 19:17:16 -06:00

36 lines
973 B
YAML

paths:
tests: tests
output: tests/_output
data: tests/_data
support: tests/_support
envs: tests/_envs
actor_suffix: Tester
bootstrap: _bootstrap.php
coverage:
enabled: true
include:
- '%app_path%/*.php'
- '%app_path%/e107_admin/**/*.php'
- '%app_path%/e107_core/**/*.php'
- '%app_path%/e107_handlers/**/*.php'
- '%app_path%/e107_images/**/*.php'
- '%app_path%/e107_plugins/**/*.php'
- '%app_path%/e107_themes/**/*.php'
- '%app_path%/e107_web/**/*.php'
exclude:
- './**'
- '%app_path%/e107_tests/**'
params:
- lib/config.php
extensions:
enabled:
- Codeception\Extension\RunFailed
modules:
enabled:
- \Helper\DelayedDb:
dsn: 'mysql:host=%db.host%;port=%db.port%;dbname=%db.dbname%'
user: '%db.user%'
password: '%db.password%'
populate: '%db.populate%'
dump: '%db.dump_path%'