forked from craftcms/cms
-
Notifications
You must be signed in to change notification settings - Fork 0
/
codeception.yml.example
38 lines (38 loc) · 1.14 KB
/
codeception.yml.example
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
actor: Tester
paths:
tests: tests
log: tests/_output
data: tests/_data
support: tests/_support
envs: tests/_envs
settings:
bootstrap: _bootstrap.php
colors: true
coverage:
enabled: true
include:
- src/*
exclude:
- tests/_support/_generated/*
- src/config/*
- src/icons/*
- src/test/*
- src/migrations/*
- src/templates/*
- src/translations/*
- src/migration.php.template
params:
- tests/.env
modules:
config:
\craft\test\Craft:
configFile: 'tests/_craft/config/test.php'
entryUrl: 'https://test.craftcms.dev/'
entryScript: 'index.php'
projectConfig: {}
migrations: [{'class': 'craft\migrations\ExampleMigration', 'params': {tableName: 'exampletable'}}]
plugins: [{'class': 'craftcms\base\ExamplePlugin', 'handle': 'example-plugin'}]
cleanup: true # Should tests and fixtures be cleaned
transaction: true # Wrap in transaction
dbSetup: {clean: true, setupCraft: true} # What DB setup work do we need to do.
fullMock: false