forked from craftcms/cms
-
Notifications
You must be signed in to change notification settings - Fork 0
/
codeception.yml
65 lines (65 loc) · 1.52 KB
/
codeception.yml
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
actor: Tester
paths:
tests: tests
log: tests/_output
data: tests/_data
support: tests/_support
envs: tests/_envs
bootstrap: _bootstrap.php
settings:
colors: true
memory_limit: 2048M
coverage:
enabled: true
include:
- src/*
exclude:
- src/config/*
- src/icons/*
- src/test/internal/*
- src/test/templates/*
- src/migrations/*
- src/templates/*
- src/translations/*
- src/views/*
- src/web/assets/*
- bootstrap/*
- lib/*
- tests/*
- vendor/*
params:
- env
- tests/.env
modules:
config:
\craft\test\Craft:
configFile: 'tests/_craft/config/test.php'
entryUrl: 'https://test.craftcms.test/index.php'
projectConfig: {}
migrations: []
plugins: []
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
DataFactory:
factories: tests/_craft/config/factories
depends: \craft\test\Craft
groups:
base: [tests/unit/base]
behaviors: [tests/unit/behaviors]
db: [tests/unit/db]
elements: [tests/unit/elements]
helpers: [tests/unit/helpers]
mail: [tests/unit/mail]
search: [tests/unit/search]
services: [tests/unit/services]
test: [tests/unit/test]
validators: [tests/unit/validators]
web: [tests/unit/web]
app: [tests/unit/AppTest.php]
gql:
- 'tests/unit/gql'
- 'tests/unit/services/GqlTest.php'
- 'tests/unit/helpers/GqlHelperTest.php'
- 'tests/gql'