forked from commsy/commsy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcodeception.yml
35 lines (35 loc) · 1.01 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
namespace: App\Tests
paths:
tests: tests
output: tests/_output
data: tests/_data
support: tests/_support
envs: tests/_envs
actor_suffix: Tester
extensions:
enabled:
- Codeception\Extension\RunFailed
- App\Tests\DatabaseMigrationExtension
params:
- .env
- .env.test
modules:
config:
Db:
dsn: 'mysql:host=db;dbname='
user: 'root'
password: 'root'
dump: src/Resources/fixtures/initial.sql
cleanup: true # whether the dump should be reloaded before each test
populate: true # whether the the dump should be loaded before the test suite is started
populator: 'mysql -u $user -p$password -h $host commsy_test < $dump'
initial_queries:
- 'CREATE DATABASE IF NOT EXISTS commsy_test;'
- 'USE commsy_test;'
Symfony:
app_path: 'src'
environment: 'test'
settings:
shuffle: true
colors: true
report_useless_tests: true