AzuraCast/codeception.yml

57 lines
1.5 KiB
YAML

actor: Tester
paths:
tests: tests
log: tests/_output
data: tests/_data
support: tests/_support
envs: tests/_envs
settings:
bootstrap: _bootstrap.php
colors: true
memory_limit: 1024M
error_level: "E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED"
extensions:
enabled:
- Codeception\Extension\RunFailed
modules:
coverage:
enabled: true
include:
- app/*
exclude:
# Loaded before tests
- app/bootstrap.php
- app/bootstrap/**.php
- app/src/App/Tests/Module.php
- app/src/App/Doctrine/EntityManagerFactory.php
# Not used in entire application
- app/**/*.conf.sample.php
- app/src/App/Crypto.php
- app/src/App/Messenger.php
- app/src/App/Forms/Element/Recaptcha.php
- app/src/App/Paginator/Doctrine.php
- app/src/App/Doctrine/Platform/*.php
- app/src/App/Doctrine/Paginate/*.php
# Used in application, but not used in tests
- app/src/AzuraCast/Radio/Frontend/ShoutCast2.php
- app/src/AzuraCast/Console/Command/*.php
- app/src/App/Doctrine/Logger/EchoSQL.php
- app/src/App/Session/Temporary.php
- app/src/App/Console/Command/*.php
- app/src/Entity/Fixture/*
- app/src/Entity/Migration/*
- app/locale/**/*
- app/locale/*
- app/templates/system/error_general.phtml
# Exceptions
- app/src/App/Exception.php
- app/src/App/Exception/*.php
- app/src/App/Mvc/ErrorHandler.php
# Used in application, but not detected properly by the coverage tool :(
- app/config/*.conf.php
- app/config/**/*.conf.php
- app/**/routes.php